Bouncy Castle Cryptography Library 1.85

org.bouncycastle.asn1.test
Class ASN1GeneratorTest

java.lang.Object
  extended byorg.bouncycastle.util.test.SimpleTest
      extended byorg.bouncycastle.asn1.test.ASN1GeneratorTest
All Implemented Interfaces:
Test

public class ASN1GeneratorTest
extends SimpleTest

Tests that the streaming generators (BERSequenceGenerator, BEROctetStringGenerator, DERSequenceGenerator) produce the same encodings as the equivalent in-memory objects, for untagged, explicitly tagged and implicitly tagged (X.690 8.14.2 / 8.14.3) forms, including tag numbers requiring the high-tag-number identifier format (X.690 8.1.2.4).


Nested Class Summary
 
Nested classes inherited from class org.bouncycastle.util.test.SimpleTest
SimpleTest.TestExceptionOperation
 
Constructor Summary
ASN1GeneratorTest()
           
 
Method Summary
 java.lang.String getName()
           
static void main(java.lang.String[] args)
           
 void performTest()
           
 
Methods inherited from class org.bouncycastle.util.test.SimpleTest
areEqual, areEqual, areEqual, fail, fail, fail, isEquals, isEquals, isEquals, isEquals, isEquals, isEquals, isEquals, isTrue, isTrue, perform, runTest, runTest, runTests, runTests, testException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ASN1GeneratorTest

public ASN1GeneratorTest()
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface Test
Specified by:
getName in class SimpleTest

performTest

public void performTest()
                 throws java.lang.Exception
Specified by:
performTest in class SimpleTest
Throws:
java.lang.Exception

main

public static void main(java.lang.String[] args)

Bouncy Castle Cryptography Library 1.85