Class TlsCryptoTest

  • All Implemented Interfaces:
    junit.framework.Test
    Direct Known Subclasses:
    BcTlsCryptoTest, JcaTlsCryptoTest

    public abstract class TlsCryptoTest
    extends junit.framework.TestCase
    • Field Detail

    • Constructor Detail

      • TlsCryptoTest

        protected TlsCryptoTest​(TlsCrypto crypto)
    • Method Detail

      • loadCredentialedSignerLegacy

        protected TlsCredentialedSigner loadCredentialedSignerLegacy​(TlsCryptoParameters cryptoParams,
                                                                     short signatureAlgorithm)
                                                              throws java.io.IOException
        Throws:
        java.io.IOException
      • loadCredentialedSigner13

        protected TlsCredentialedSigner loadCredentialedSigner13​(TlsCryptoParameters cryptoParams,
                                                                 int signatureScheme)
                                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • testDHDomain

        public void testDHDomain()
                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testECDomain

        public void testECDomain()
                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testHKDF

        public void testHKDF()
                      throws java.io.IOException
        Throws:
        java.io.IOException
      • testHKDFExpandLimit

        public void testHKDFExpandLimit()
      • testSignaturesLegacy

        public void testSignaturesLegacy()
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testSignatures12

        public void testSignatures12()
                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testSignatures13

        public void testSignatures13()
                              throws java.lang.Exception
        Throws:
        java.lang.Exception