Package org.bouncycastle.cms.test
Class BcEnvelopedDataTest
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- org.bouncycastle.cms.test.BcEnvelopedDataTest
-
- All Implemented Interfaces:
junit.framework.Test
public class BcEnvelopedDataTest extends junit.framework.TestCase
-
-
Constructor Summary
Constructors Constructor Description BcEnvelopedDataTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
static junit.framework.Test
suite()
void
testAES128KEK()
void
testAES192KEK()
void
testAES256KEK()
void
testECKeyAgree()
void
testECKeyAgreeVectors()
void
testECMQVKeyAgree()
void
testECMQVKeyAgreeMultiple()
void
testECMQVKeyAgreeVectors()
void
testKeyTrans()
void
testKeyTrans128RC4()
void
testKeyTransAES128()
void
testKeyTransAES192()
void
testKeyTransAES256()
void
testKeyTransCAST5()
void
testKeyTransLight128RC4()
void
testKeyTransODES()
void
testKeyTransRC2()
void
testKeyTransRC4()
void
testKeyTransSmallAES()
void
testOriginatorInfo()
void
testPasswordAES256()
void
testPasswordDESEDE()
void
testRFC4134ex5_1()
void
testRFC4134ex5_2()
void
testUnprotectedAttributes()
-
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, setUp, tearDown, toString
-
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args) throws java.lang.Exception
- Throws:
java.lang.Exception
-
suite
public static junit.framework.Test suite() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testUnprotectedAttributes
public void testUnprotectedAttributes() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testKeyTrans
public void testKeyTrans() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testKeyTransRC4
public void testKeyTransRC4() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testKeyTrans128RC4
public void testKeyTrans128RC4() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testKeyTransLight128RC4
public void testKeyTransLight128RC4() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testKeyTransODES
public void testKeyTransODES() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testKeyTransSmallAES
public void testKeyTransSmallAES() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testKeyTransCAST5
public void testKeyTransCAST5() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testKeyTransRC2
public void testKeyTransRC2() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testKeyTransAES128
public void testKeyTransAES128() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testKeyTransAES192
public void testKeyTransAES192() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testKeyTransAES256
public void testKeyTransAES256() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testAES128KEK
public void testAES128KEK() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testAES192KEK
public void testAES192KEK() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testAES256KEK
public void testAES256KEK() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testECKeyAgree
public void testECKeyAgree() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testECMQVKeyAgree
public void testECMQVKeyAgree() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testECMQVKeyAgreeMultiple
public void testECMQVKeyAgreeMultiple() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testECKeyAgreeVectors
public void testECKeyAgreeVectors() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testECMQVKeyAgreeVectors
public void testECMQVKeyAgreeVectors() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testPasswordAES256
public void testPasswordAES256() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testPasswordDESEDE
public void testPasswordDESEDE() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testRFC4134ex5_1
public void testRFC4134ex5_1() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testRFC4134ex5_2
public void testRFC4134ex5_2() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testOriginatorInfo
public void testOriginatorInfo() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-