org.bouncycastle.asn1.test
Class SequenceFieldOrderTest
java.lang.Object
org.bouncycastle.util.test.SimpleTest
org.bouncycastle.asn1.test.SequenceFieldOrderTest
- All Implemented Interfaces:
- Test
- public class SequenceFieldOrderTest
- extends SimpleTest
The OPTIONAL tagged fields of the core SEQUENCE types (X.509, PKCS, OCSP, BC, X9, UA) may each appear at most once
and only in definition order: duplicates, reordered fields, non-context tags and trailing elements
are rejected, while every legal combination still parses (github #2516).
| 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 |
SequenceFieldOrderTest
public SequenceFieldOrderTest()
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)