Package org.bouncycastle.tls.crypto.test
Class TlsCryptoTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.bouncycastle.tls.crypto.test.TlsCryptoTest
- All Implemented Interfaces:
junit.framework.Test
- Direct Known Subclasses:
BcTlsCryptoTest,JcaTlsCryptoTest
public abstract class TlsCryptoTest
extends junit.framework.TestCase
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TlsCredentialedSignerloadCredentialedSigner(TlsCryptoParameters cryptoParams, String resource, SignatureAndHashAlgorithm signatureAndHashAlgorithm) protected TlsCredentialedSignerloadCredentialedSigner12(TlsCryptoParameters cryptoParams, SignatureAndHashAlgorithm signatureAndHashAlgorithm) protected TlsCredentialedSignerloadCredentialedSigner13(TlsCryptoParameters cryptoParams, int signatureScheme) protected TlsCredentialedSignerloadCredentialedSignerLegacy(TlsCryptoParameters cryptoParams, short signatureAlgorithm) voidvoidvoidtestHKDF()voidvoidvoidvoidMethods inherited from class junit.framework.TestCase
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
-
Field Details
-
crypto
-
-
Constructor Details
-
TlsCryptoTest
-
-
Method Details
-
loadCredentialedSigner
protected TlsCredentialedSigner loadCredentialedSigner(TlsCryptoParameters cryptoParams, String resource, SignatureAndHashAlgorithm signatureAndHashAlgorithm) throws IOException - Throws:
IOException
-
loadCredentialedSignerLegacy
protected TlsCredentialedSigner loadCredentialedSignerLegacy(TlsCryptoParameters cryptoParams, short signatureAlgorithm) throws IOException - Throws:
IOException
-
loadCredentialedSigner12
protected TlsCredentialedSigner loadCredentialedSigner12(TlsCryptoParameters cryptoParams, SignatureAndHashAlgorithm signatureAndHashAlgorithm) throws IOException - Throws:
IOException
-
loadCredentialedSigner13
protected TlsCredentialedSigner loadCredentialedSigner13(TlsCryptoParameters cryptoParams, int signatureScheme) throws IOException - Throws:
IOException
-
testDHDomain
- Throws:
Exception
-
testECDomain
- Throws:
Exception
-
testHKDF
- Throws:
IOException
-
testHKDFExpandLimit
public void testHKDFExpandLimit() -
testSignaturesLegacy
- Throws:
Exception
-
testSignatures12
- Throws:
Exception
-
testSignatures13
- Throws:
Exception
-