org.bouncycastle.asn1.test
Class ASN1GeneratorTest
java.lang.Object
org.bouncycastle.util.test.SimpleTest
org.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).
| 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 |
ASN1GeneratorTest
public ASN1GeneratorTest()
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)