public abstract class TlsCryptoTest
extends junit.framework.TestCase
Modifier | Constructor and Description |
---|---|
protected |
TlsCryptoTest(TlsCrypto crypto) |
Modifier and Type | Method and Description |
---|---|
protected TlsCredentialedSigner |
loadCredentialedSigner(TlsCryptoParameters cryptoParams,
java.lang.String resource,
SignatureAndHashAlgorithm signatureAndHashAlgorithm) |
protected TlsCredentialedSigner |
loadCredentialedSigner12(TlsCryptoParameters cryptoParams,
SignatureAndHashAlgorithm signatureAndHashAlgorithm) |
protected TlsCredentialedSigner |
loadCredentialedSigner13(TlsCryptoParameters cryptoParams,
int signatureScheme) |
protected TlsCredentialedSigner |
loadCredentialedSignerLegacy(TlsCryptoParameters cryptoParams,
short signatureAlgorithm) |
void |
testDHDomain() |
void |
testECDomain() |
void |
testHKDF() |
void |
testHKDFExpandLimit() |
void |
testSignatures12() |
void |
testSignatures13() |
void |
testSignaturesLegacy() |
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
protected final TlsCrypto crypto
protected TlsCryptoTest(TlsCrypto crypto)
protected TlsCredentialedSigner loadCredentialedSigner(TlsCryptoParameters cryptoParams, java.lang.String resource, SignatureAndHashAlgorithm signatureAndHashAlgorithm) throws java.io.IOException
java.io.IOException
protected TlsCredentialedSigner loadCredentialedSignerLegacy(TlsCryptoParameters cryptoParams, short signatureAlgorithm) throws java.io.IOException
java.io.IOException
protected TlsCredentialedSigner loadCredentialedSigner12(TlsCryptoParameters cryptoParams, SignatureAndHashAlgorithm signatureAndHashAlgorithm) throws java.io.IOException
java.io.IOException
protected TlsCredentialedSigner loadCredentialedSigner13(TlsCryptoParameters cryptoParams, int signatureScheme) throws java.io.IOException
java.io.IOException
public void testDHDomain() throws java.lang.Exception
java.lang.Exception
public void testECDomain() throws java.lang.Exception
java.lang.Exception
public void testHKDF() throws java.io.IOException
java.io.IOException
public void testHKDFExpandLimit()
public void testSignaturesLegacy() throws java.lang.Exception
java.lang.Exception
public void testSignatures12() throws java.lang.Exception
java.lang.Exception
public void testSignatures13() throws java.lang.Exception
java.lang.Exception