Package org.bouncycastle.asn1.test
Class CertificateTest
- java.lang.Object
-
- org.bouncycastle.util.test.SimpleTest
-
- org.bouncycastle.asn1.test.CertificateTest
-
- All Implemented Interfaces:
Test
public class CertificateTest extends SimpleTest
-
-
Constructor Summary
Constructors Constructor Description CertificateTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckAttributeCertificate(int id, byte[] cert)voidcheckCertificate(int id, byte[] cert)voidcheckV1AttributeCertificate(int id, byte[] cert)java.lang.StringgetName()static voidmain(java.lang.String[] args)voidperformTest()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfaceTest- Specified by:
getNamein classSimpleTest
-
checkCertificate
public void checkCertificate(int id, byte[] cert) throws java.lang.Exception- Throws:
java.lang.Exception
-
checkAttributeCertificate
public void checkAttributeCertificate(int id, byte[] cert) throws java.lang.Exception- Throws:
java.lang.Exception
-
checkV1AttributeCertificate
public void checkV1AttributeCertificate(int id, byte[] cert) throws java.lang.Exception- Throws:
java.lang.Exception
-
performTest
public void performTest() throws java.lang.Exception- Specified by:
performTestin classSimpleTest- Throws:
java.lang.Exception
-
main
public static void main(java.lang.String[] args)
-
-