Package org.bouncycastle.cms.test
Class NewAuthenticatedDataTest
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- org.bouncycastle.cms.test.NewAuthenticatedDataTest
-
- All Implemented Interfaces:
junit.framework.Test
public class NewAuthenticatedDataTest extends junit.framework.TestCase
-
-
Field Summary
Fields Modifier and Type Field Description boolean
DEBUG
-
Constructor Summary
Constructors Constructor Description NewAuthenticatedDataTest(java.lang.String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
void
setUp()
static junit.framework.Test
suite()
void
testAES256CCM()
void
testCMSAlgorithmProtection()
void
testECKeyAgree()
void
testEncoding()
void
testKEKDESede()
void
testKEKDESedeWithDigest()
void
testKeyTransDESede()
void
testKeyTransDESedeWithDigest()
void
testKeyTransRC2()
void
testOriginatorInfo()
void
testPasswordAES256()
-
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
-
-
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception
- Overrides:
setUp
in classjunit.framework.TestCase
- Throws:
java.lang.Exception
-
main
public static void main(java.lang.String[] args)
-
suite
public static junit.framework.Test suite() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testKeyTransDESede
public void testKeyTransDESede() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testKeyTransDESedeWithDigest
public void testKeyTransDESedeWithDigest() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testKeyTransRC2
public void testKeyTransRC2() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testKEKDESede
public void testKEKDESede() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testKEKDESedeWithDigest
public void testKEKDESedeWithDigest() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testPasswordAES256
public void testPasswordAES256() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testECKeyAgree
public void testECKeyAgree() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testEncoding
public void testEncoding() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testOriginatorInfo
public void testOriginatorInfo() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testAES256CCM
public void testAES256CCM() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testCMSAlgorithmProtection
public void testCMSAlgorithmProtection() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-