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 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

      public void setUp() throws Exception
      Overrides:
      setUp in class junit.framework.TestCase
      Throws:
      Exception
    • main

      public static void main(String[] args) throws Exception
      Throws:
      Exception
    • suite

      public static junit.framework.Test suite() throws Exception
      Throws:
      Exception
    • testUnprotectedAttributes

      public void testUnprotectedAttributes() throws Exception
      Throws:
      Exception
    • testContentType

      public void testContentType() throws Exception
      Throws:
      Exception
    • testKeyTrans

      public void testKeyTrans() throws Exception
      Throws:
      Exception
    • testKeyTransOAEPDefault

      public void testKeyTransOAEPDefault() throws Exception
      Throws:
      Exception
    • testKeyTransOAEPSHA1

      public void testKeyTransOAEPSHA1() throws Exception
      Throws:
      Exception
    • testKeyTransOAEPSHA224

      public void testKeyTransOAEPSHA224() throws Exception
      Throws:
      Exception
    • testKeyTransOAEPSHA256

      public void testKeyTransOAEPSHA256() throws Exception
      Throws:
      Exception
    • testKeyTransOAEPSHA1AndSHA256

      public void testKeyTransOAEPSHA1AndSHA256() throws Exception
      Throws:
      Exception
    • testKeyTransOAEPInCert

      public void testKeyTransOAEPInCert() throws Exception
      Throws:
      Exception
    • testKeyTransWithAlgMapping

      public void testKeyTransWithAlgMapping() throws Exception
      Throws:
      Exception
    • testOriginatorInfoGeneration

      public void testOriginatorInfoGeneration() throws Exception
      Throws:
      Exception
    • testKeyTransRC2bit40

      public void testKeyTransRC2bit40() throws Exception
      Throws:
      Exception
    • testKeyTransRC4

      public void testKeyTransRC4() throws Exception
      Throws:
      Exception
    • testKeyTrans128RC4

      public void testKeyTrans128RC4() throws Exception
      Throws:
      Exception
    • testKeyTransLight128RC4

      public void testKeyTransLight128RC4() throws Exception
      Throws:
      Exception
    • testKeyTransODES

      public void testKeyTransODES() throws Exception
      Throws:
      Exception
    • testKeyTransSmallAES

      public void testKeyTransSmallAES() throws Exception
      Throws:
      Exception
    • testKeyTransDESEDE3Short

      public void testKeyTransDESEDE3Short() throws Exception
      Throws:
      Exception
    • testKeyTransDESEDE3Light

      public void testKeyTransDESEDE3Light() throws Exception
      Throws:
      Exception
    • testKeyTransDES

      public void testKeyTransDES() throws Exception
      Throws:
      Exception
    • testKeyTransCAST5

      public void testKeyTransCAST5() throws Exception
      Throws:
      Exception
    • testKeyTransAES128

      public void testKeyTransAES128() throws Exception
      Throws:
      Exception
    • testKeyTransAES192

      public void testKeyTransAES192() throws Exception
      Throws:
      Exception
    • testKeyTransAES256

      public void testKeyTransAES256() throws Exception
      Throws:
      Exception
    • testKeyTransSEED

      public void testKeyTransSEED() throws Exception
      Throws:
      Exception
    • testKeyTransCamellia128

      public void testKeyTransCamellia128() throws Exception
      Throws:
      Exception
    • testKeyTransCamellia192

      public void testKeyTransCamellia192() throws Exception
      Throws:
      Exception
    • testKeyTransCamellia256

      public void testKeyTransCamellia256() throws Exception
      Throws:
      Exception
    • testErroneousKEK

      public void testErroneousKEK() throws Exception
      Throws:
      Exception
    • testDESKEK

      public void testDESKEK() throws Exception
      Throws:
      Exception
    • testRC2128KEK

      public void testRC2128KEK() throws Exception
      Throws:
      Exception
    • testAES128KEK

      public void testAES128KEK() throws Exception
      Throws:
      Exception
    • testAES192KEK

      public void testAES192KEK() throws Exception
      Throws:
      Exception
    • testAES256KEK

      public void testAES256KEK() throws Exception
      Throws:
      Exception
    • testSEED128KEK

      public void testSEED128KEK() throws Exception
      Throws:
      Exception
    • testCamellia128KEK

      public void testCamellia128KEK() throws Exception
      Throws:
      Exception
    • testCamellia192KEK

      public void testCamellia192KEK() throws Exception
      Throws:
      Exception
    • testCamellia256KEK

      public void testCamellia256KEK() throws Exception
      Throws:
      Exception
    • testECKeyAgree

      public void testECKeyAgree() throws Exception
      Throws:
      Exception
    • testFaultyAgreementRecipient

      public void testFaultyAgreementRecipient() throws Exception
      Throws:
      Exception
    • testKeyWrapAlgorithmIdentifiers

      public void testKeyWrapAlgorithmIdentifiers() throws Exception
      Throws:
      Exception
    • testEphemeralStaticDHAgreement

      public void testEphemeralStaticDHAgreement() throws Exception
      Throws:
      Exception
    • testStaticStaticDHAgreement

      public void testStaticStaticDHAgreement() throws Exception
      Throws:
      Exception
    • testKDFAgreements

      public void testKDFAgreements() throws Exception
      Throws:
      Exception
    • testECMQVKeyAgreeMultiple

      public void testECMQVKeyAgreeMultiple() throws Exception
      Throws:
      Exception
    • testECKeyAgreeVectors

      public void testECKeyAgreeVectors() throws Exception
      Throws:
      Exception
    • testECMQVKeyAgreeVectors

      public void testECMQVKeyAgreeVectors() throws Exception
      Throws:
      Exception
    • testPasswordAES256

      public void testPasswordAES256() throws Exception
      Throws:
      Exception
    • testPasswordDESEDE

      public void testPasswordDESEDE() throws Exception
      Throws:
      Exception
    • testPasswordAES256WithPRF

      public void testPasswordAES256WithPRF() throws Exception
      Throws:
      Exception
    • testNoSaltOrIterationCount

      public void testNoSaltOrIterationCount() throws Exception
      Throws:
      Exception
    • testRFC4134ex5_1

      public void testRFC4134ex5_1() throws Exception
      Throws:
      Exception
    • testRFC4134ex5_2

      public void testRFC4134ex5_2() throws Exception
      Throws:
      Exception
    • testOriginatorInfo

      public void testOriginatorInfo() throws Exception
      Throws:
      Exception
    • testOpenSSLVectors

      public void testOpenSSLVectors() throws Exception
      Throws:
      Exception
    • testGost3410_2012_KeyTransGen

      public void testGost3410_2012_KeyTransGen() throws Exception
      Throws:
      Exception
    • testGost3410_2001_KeyTrans

      public void testGost3410_2001_KeyTrans() throws Exception
      Throws:
      Exception
    • testGithub539_Gost3410_2012_KeyTrans

      public void testGithub539_Gost3410_2012_KeyTrans() throws Exception
      Throws:
      Exception
    • testGost3410_2012_KeyTrans

      public void testGost3410_2012_KeyTrans() throws Exception
      Throws:
      Exception
    • testGost3410_2001_KeyAgree

      public void testGost3410_2001_KeyAgree() throws Exception
      Throws:
      Exception
    • testGost3410_2001_KeyTransRand

      public void testGost3410_2001_KeyTransRand() throws Exception
      Throws:
      Exception
    • testGost3410_2001_KeyAgreeRand

      public void testGost3410_2001_KeyAgreeRand() throws Exception
      Throws:
      Exception
    • testGost3410_2012_KeyAgree

      public void testGost3410_2012_KeyAgree() throws Exception
      Throws:
      Exception
    • testGost3410_2001_KeyAgree_Creation

      public void testGost3410_2001_KeyAgree_Creation() throws Exception
      Throws:
      Exception
    • testGost3410_2012_256_KeyAgree_Creation

      public void testGost3410_2012_256_KeyAgree_Creation() throws Exception
      Throws:
      Exception
    • testGost3410_2012_512_KeyAgree_Creation

      public void testGost3410_2012_512_KeyAgree_Creation() throws Exception
      Throws:
      Exception