org.bouncycastle.asn1.test
Class KeyPurposeIdTest
java.lang.Object
org.bouncycastle.util.test.SimpleTest
org.bouncycastle.asn1.test.KeyPurposeIdTest
- All Implemented Interfaces:
- Test
- public class KeyPurposeIdTest
- extends SimpleTest
OID coverage for the recently-added Extended Key Usage KeyPurposeId constants (RFC 9336, RFC 9734
and RFC 9809), guarding their id-kp branch numbers against typos. All live under the PKIX id-kp
arc 1.3.6.1.5.5.7.3, and each is checked to round-trip through getInstance().
| 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 |
KeyPurposeIdTest
public KeyPurposeIdTest()
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)