Package org.bouncycastle.cms.test
Class NewEnvelopedDataTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.bouncycastle.cms.test.NewEnvelopedDataTest
- All Implemented Interfaces:
junit.framework.Test
public class NewEnvelopedDataTest
extends junit.framework.TestCase
-
Field Summary
FieldsModifier and TypeFieldDescriptionbyte[]
byte[]
byte[]
byte[]
byte[]
byte[]
byte[]
byte[]
byte[]
byte[]
byte[]
byte[]
byte[]
byte[]
byte[]
byte[]
byte[]
byte[]
byte[]
byte[]
byte[]
byte[]
byte[]
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
void
setUp()
static junit.framework.Test
suite()
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
Methods 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, tearDown, toString
-
Field Details
-
gost2001_Rand_Cert
public byte[] gost2001_Rand_Cert -
gost2001_Rand_Key
public byte[] gost2001_Rand_Key -
gost2001_Rand_Msg
public byte[] gost2001_Rand_Msg -
gost2001_Rand_Sender_Cert
public byte[] gost2001_Rand_Sender_Cert -
gost2001_Rand_Sender_Key
public byte[] gost2001_Rand_Sender_Key -
gost2001_Rand_Reci_Cert
public byte[] gost2001_Rand_Reci_Cert -
gost2001_Rand_Reci_Key
public byte[] gost2001_Rand_Reci_Key -
gost2001_Rand_Gen_Msg
public byte[] gost2001_Rand_Gen_Msg -
gost2012_Sender_Cert
public byte[] gost2012_Sender_Cert -
gost2012_Sender_Key
public byte[] gost2012_Sender_Key -
gost2012_Reci_Cert
public byte[] gost2012_Reci_Cert -
gost2012_Reci_Key
public byte[] gost2012_Reci_Key -
gost2012_Reci_Msg
public byte[] gost2012_Reci_Msg -
gost2012_512_Sender_Cert
public byte[] gost2012_512_Sender_Cert -
gost2012_512_Sender_Key
public byte[] gost2012_512_Sender_Key -
gost2012_512_Reci_Cert
public byte[] gost2012_512_Reci_Cert -
gost2012_512_Reci_Key
public byte[] gost2012_512_Reci_Key -
gost2012_512_Reci_Msg
public byte[] gost2012_512_Reci_Msg -
gost2012_KeyTrans_Reci_Cert
public byte[] gost2012_KeyTrans_Reci_Cert -
gost2012_KeyTrans_Reci_Key
public byte[] gost2012_KeyTrans_Reci_Key -
gost2012_KeyTrans_Msg
public byte[] gost2012_KeyTrans_Msg -
github539_GostEnvData
public byte[] github539_GostEnvData -
github539_PrivKey
public byte[] github539_PrivKey
-
-
Constructor Details
-
NewEnvelopedDataTest
public NewEnvelopedDataTest()
-
-
Method Details
-
setUp
- Overrides:
setUp
in classjunit.framework.TestCase
- Throws:
Exception
-
main
- Throws:
Exception
-
suite
- Throws:
Exception
-
testUnprotectedAttributes
- Throws:
Exception
-
testContentType
- Throws:
Exception
-
testKeyTrans
- Throws:
Exception
-
testKeyTransOAEPDefault
- Throws:
Exception
-
testKeyTransOAEPSHA1
- Throws:
Exception
-
testKeyTransOAEPSHA224
- Throws:
Exception
-
testKeyTransOAEPSHA256
- Throws:
Exception
-
testKeyTransOAEPSHA1AndSHA256
- Throws:
Exception
-
testKeyTransOAEPInCert
- Throws:
Exception
-
testKeyTransWithAlgMapping
- Throws:
Exception
-
testOriginatorInfoGeneration
- Throws:
Exception
-
testKeyTransRC2bit40
- Throws:
Exception
-
testKeyTransRC4
- Throws:
Exception
-
testKeyTrans128RC4
- Throws:
Exception
-
testKeyTransLight128RC4
- Throws:
Exception
-
testKeyTransODES
- Throws:
Exception
-
testKeyTransSmallAES
- Throws:
Exception
-
testKeyTransDESEDE3Short
- Throws:
Exception
-
testKeyTransDESEDE3Light
- Throws:
Exception
-
testKeyTransDES
- Throws:
Exception
-
testKeyTransCAST5
- Throws:
Exception
-
testKeyTransAES128
- Throws:
Exception
-
testKeyTransAES192
- Throws:
Exception
-
testKeyTransAES256
- Throws:
Exception
-
testKeyTransSEED
- Throws:
Exception
-
testKeyTransCamellia128
- Throws:
Exception
-
testKeyTransCamellia192
- Throws:
Exception
-
testKeyTransCamellia256
- Throws:
Exception
-
testErroneousKEK
- Throws:
Exception
-
testDESKEK
- Throws:
Exception
-
testRC2128KEK
- Throws:
Exception
-
testAES128KEK
- Throws:
Exception
-
testAES192KEK
- Throws:
Exception
-
testAES256KEK
- Throws:
Exception
-
testSEED128KEK
- Throws:
Exception
-
testCamellia128KEK
- Throws:
Exception
-
testCamellia192KEK
- Throws:
Exception
-
testCamellia256KEK
- Throws:
Exception
-
testECKeyAgree
- Throws:
Exception
-
testFaultyAgreementRecipient
- Throws:
Exception
-
testKeyWrapAlgorithmIdentifiers
- Throws:
Exception
-
testEphemeralStaticDHAgreement
- Throws:
Exception
-
testStaticStaticDHAgreement
- Throws:
Exception
-
testKDFAgreements
- Throws:
Exception
-
testECMQVKeyAgreeMultiple
- Throws:
Exception
-
testECKeyAgreeVectors
- Throws:
Exception
-
testECMQVKeyAgreeVectors
- Throws:
Exception
-
testPasswordAES256
- Throws:
Exception
-
testPasswordDESEDE
- Throws:
Exception
-
testPasswordAES256WithPRF
- Throws:
Exception
-
testNoSaltOrIterationCount
- Throws:
Exception
-
testRFC4134ex5_1
- Throws:
Exception
-
testRFC4134ex5_2
- Throws:
Exception
-
testOriginatorInfo
- Throws:
Exception
-
testOpenSSLVectors
- Throws:
Exception
-
testGost3410_2012_KeyTransGen
- Throws:
Exception
-
testGost3410_2001_KeyTrans
- Throws:
Exception
-
testGithub539_Gost3410_2012_KeyTrans
- Throws:
Exception
-
testGost3410_2012_KeyTrans
- Throws:
Exception
-
testGost3410_2001_KeyAgree
- Throws:
Exception
-
testGost3410_2001_KeyTransRand
- Throws:
Exception
-
testGost3410_2001_KeyAgreeRand
- Throws:
Exception
-
testGost3410_2012_KeyAgree
- Throws:
Exception
-
testGost3410_2001_KeyAgree_Creation
- Throws:
Exception
-
testGost3410_2012_256_KeyAgree_Creation
- Throws:
Exception
-
testGost3410_2012_512_KeyAgree_Creation
- Throws:
Exception
-