Bouncy Castle Cryptography 1.30

org.bouncycastle.cms.test
Class SignedDataStreamTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.bouncycastle.cms.test.SignedDataStreamTest
All Implemented Interfaces:
junit.framework.Test

public class SignedDataStreamTest
extends junit.framework.TestCase


Constructor Summary
SignedDataStreamTest(java.lang.String name)
           
 
Method Summary
static junit.framework.Test suite()
           
 void testSha1EncapsulatedSignature()
           
 void testSHA1WithRSA()
           
 void testSHA1WithRSAEncapsulated()
           
 void testSHA1WithRSAEncapsulatedBuffered()
           
 void testSHA1WithRSAEncapsulatedBufferedStream()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
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, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SignedDataStreamTest

public SignedDataStreamTest(java.lang.String name)
Method Detail

testSha1EncapsulatedSignature

public void testSha1EncapsulatedSignature()
                                   throws java.lang.Exception
Throws:
java.lang.Exception

testSHA1WithRSA

public void testSHA1WithRSA()
                     throws java.lang.Exception
Throws:
java.lang.Exception

testSHA1WithRSAEncapsulatedBufferedStream

public void testSHA1WithRSAEncapsulatedBufferedStream()
                                               throws java.lang.Exception
Throws:
java.lang.Exception

testSHA1WithRSAEncapsulatedBuffered

public void testSHA1WithRSAEncapsulatedBuffered()
                                         throws java.lang.Exception
Throws:
java.lang.Exception

testSHA1WithRSAEncapsulated

public void testSHA1WithRSAEncapsulated()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

suite

public static junit.framework.Test suite()
                                  throws java.lang.Exception
Throws:
java.lang.Exception

Bouncy Castle Cryptography 1.30