public class NewEnvelopedDataTest
extends junit.framework.TestCase
| Modifier and Type | Field and Description |
|---|---|
byte[] |
github539_GostEnvData |
byte[] |
github539_PrivKey |
byte[] |
gost2001_Rand_Cert |
byte[] |
gost2001_Rand_Gen_Msg |
byte[] |
gost2001_Rand_Key |
byte[] |
gost2001_Rand_Msg |
byte[] |
gost2001_Rand_Reci_Cert |
byte[] |
gost2001_Rand_Reci_Key |
byte[] |
gost2001_Rand_Sender_Cert |
byte[] |
gost2001_Rand_Sender_Key |
byte[] |
gost2012_512_Reci_Cert |
byte[] |
gost2012_512_Reci_Key |
byte[] |
gost2012_512_Reci_Msg |
byte[] |
gost2012_512_Sender_Cert |
byte[] |
gost2012_512_Sender_Key |
byte[] |
gost2012_KeyTrans_Msg |
byte[] |
gost2012_KeyTrans_Reci_Cert |
byte[] |
gost2012_KeyTrans_Reci_Key |
byte[] |
gost2012_Reci_Cert |
byte[] |
gost2012_Reci_Key |
byte[] |
gost2012_Reci_Msg |
byte[] |
gost2012_Sender_Cert |
byte[] |
gost2012_Sender_Key |
| Constructor and Description |
|---|
NewEnvelopedDataTest() |
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, tearDown, toStringpublic byte[] gost2001_Rand_Cert
public byte[] gost2001_Rand_Key
public byte[] gost2001_Rand_Msg
public byte[] gost2001_Rand_Sender_Cert
public byte[] gost2001_Rand_Sender_Key
public byte[] gost2001_Rand_Reci_Cert
public byte[] gost2001_Rand_Reci_Key
public byte[] gost2001_Rand_Gen_Msg
public byte[] gost2012_Sender_Cert
public byte[] gost2012_Sender_Key
public byte[] gost2012_Reci_Cert
public byte[] gost2012_Reci_Key
public byte[] gost2012_Reci_Msg
public byte[] gost2012_512_Sender_Cert
public byte[] gost2012_512_Sender_Key
public byte[] gost2012_512_Reci_Cert
public byte[] gost2012_512_Reci_Key
public byte[] gost2012_512_Reci_Msg
public byte[] gost2012_KeyTrans_Reci_Cert
public byte[] gost2012_KeyTrans_Reci_Key
public byte[] gost2012_KeyTrans_Msg
public byte[] github539_GostEnvData
public byte[] github539_PrivKey
public void setUp()
throws java.lang.Exception
setUp in class junit.framework.TestCasejava.lang.Exceptionpublic static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exceptionpublic static junit.framework.Test suite()
throws java.lang.Exception
java.lang.Exceptionpublic void testUnprotectedAttributes()
throws java.lang.Exception
java.lang.Exceptionpublic void testContentType()
throws java.lang.Exception
java.lang.Exceptionpublic void testKeyTrans()
throws java.lang.Exception
java.lang.Exceptionpublic void testKeyTransOAEPDefault()
throws java.lang.Exception
java.lang.Exceptionpublic void testKeyTransOAEPSHA1()
throws java.lang.Exception
java.lang.Exceptionpublic void testKeyTransOAEPSHA224()
throws java.lang.Exception
java.lang.Exceptionpublic void testKeyTransOAEPSHA256()
throws java.lang.Exception
java.lang.Exceptionpublic void testKeyTransOAEPSHA1AndSHA256()
throws java.lang.Exception
java.lang.Exceptionpublic void testKeyTransOAEPInCert()
throws java.lang.Exception
java.lang.Exceptionpublic void testKeyTransWithAlgMapping()
throws java.lang.Exception
java.lang.Exceptionpublic void testOriginatorInfoGeneration()
throws java.lang.Exception
java.lang.Exceptionpublic void testKeyTransRC2bit40()
throws java.lang.Exception
java.lang.Exceptionpublic void testKeyTransRC4()
throws java.lang.Exception
java.lang.Exceptionpublic void testKeyTrans128RC4()
throws java.lang.Exception
java.lang.Exceptionpublic void testKeyTransLight128RC4()
throws java.lang.Exception
java.lang.Exceptionpublic void testKeyTransODES()
throws java.lang.Exception
java.lang.Exceptionpublic void testKeyTransSmallAES()
throws java.lang.Exception
java.lang.Exceptionpublic void testKeyTransDESEDE3Short()
throws java.lang.Exception
java.lang.Exceptionpublic void testKeyTransDESEDE3Light()
throws java.lang.Exception
java.lang.Exceptionpublic void testKeyTransDES()
throws java.lang.Exception
java.lang.Exceptionpublic void testKeyTransCAST5()
throws java.lang.Exception
java.lang.Exceptionpublic void testKeyTransAES128()
throws java.lang.Exception
java.lang.Exceptionpublic void testKeyTransAES192()
throws java.lang.Exception
java.lang.Exceptionpublic void testKeyTransAES256()
throws java.lang.Exception
java.lang.Exceptionpublic void testKeyTransSEED()
throws java.lang.Exception
java.lang.Exceptionpublic void testKeyTransCamellia128()
throws java.lang.Exception
java.lang.Exceptionpublic void testKeyTransCamellia192()
throws java.lang.Exception
java.lang.Exceptionpublic void testKeyTransCamellia256()
throws java.lang.Exception
java.lang.Exceptionpublic void testErroneousKEK()
throws java.lang.Exception
java.lang.Exceptionpublic void testDESKEK()
throws java.lang.Exception
java.lang.Exceptionpublic void testRC2128KEK()
throws java.lang.Exception
java.lang.Exceptionpublic void testAES128KEK()
throws java.lang.Exception
java.lang.Exceptionpublic void testAES192KEK()
throws java.lang.Exception
java.lang.Exceptionpublic void testAES256KEK()
throws java.lang.Exception
java.lang.Exceptionpublic void testSEED128KEK()
throws java.lang.Exception
java.lang.Exceptionpublic void testCamellia128KEK()
throws java.lang.Exception
java.lang.Exceptionpublic void testCamellia192KEK()
throws java.lang.Exception
java.lang.Exceptionpublic void testCamellia256KEK()
throws java.lang.Exception
java.lang.Exceptionpublic void testECKeyAgree()
throws java.lang.Exception
java.lang.Exceptionpublic void testFaultyAgreementRecipient()
throws java.lang.Exception
java.lang.Exceptionpublic void testKeyWrapAlgorithmIdentifiers()
throws java.lang.Exception
java.lang.Exceptionpublic void testEphemeralStaticDHAgreement()
throws java.lang.Exception
java.lang.Exceptionpublic void testStaticStaticDHAgreement()
throws java.lang.Exception
java.lang.Exceptionpublic void testKDFAgreements()
throws java.lang.Exception
java.lang.Exceptionpublic void testECMQVKeyAgreeMultiple()
throws java.lang.Exception
java.lang.Exceptionpublic void testECKeyAgreeVectors()
throws java.lang.Exception
java.lang.Exceptionpublic void testECMQVKeyAgreeVectors()
throws java.lang.Exception
java.lang.Exceptionpublic void testPasswordAES256()
throws java.lang.Exception
java.lang.Exceptionpublic void testPasswordDESEDE()
throws java.lang.Exception
java.lang.Exceptionpublic void testPasswordAES256WithPRF()
throws java.lang.Exception
java.lang.Exceptionpublic void testNoSaltOrIterationCount()
throws java.lang.Exception
java.lang.Exceptionpublic void testRFC4134ex5_1()
throws java.lang.Exception
java.lang.Exceptionpublic void testRFC4134ex5_2()
throws java.lang.Exception
java.lang.Exceptionpublic void testOriginatorInfo()
throws java.lang.Exception
java.lang.Exceptionpublic void testOpenSSLVectors()
throws java.lang.Exception
java.lang.Exceptionpublic void testGost3410_2012_KeyTransGen()
throws java.lang.Exception
java.lang.Exceptionpublic void testGost3410_2001_KeyTrans()
throws java.lang.Exception
java.lang.Exceptionpublic void testGithub539_Gost3410_2012_KeyTrans()
throws java.lang.Exception
java.lang.Exceptionpublic void testGost3410_2012_KeyTrans()
throws java.lang.Exception
java.lang.Exceptionpublic void testGost3410_2001_KeyAgree()
throws java.lang.Exception
java.lang.Exceptionpublic void testGost3410_2001_KeyTransRand()
throws java.lang.Exception
java.lang.Exceptionpublic void testGost3410_2001_KeyAgreeRand()
throws java.lang.Exception
java.lang.Exceptionpublic void testGost3410_2012_KeyAgree()
throws java.lang.Exception
java.lang.Exceptionpublic void testGost3410_2001_KeyAgree_Creation()
throws java.lang.Exception
java.lang.Exceptionpublic void testGost3410_2012_256_KeyAgree_Creation()
throws java.lang.Exception
java.lang.Exceptionpublic void testGost3410_2012_512_KeyAgree_Creation()
throws java.lang.Exception
java.lang.Exception