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 void
checkAttributeCertificate(int id, byte[] cert)
void
checkCertificate(int id, byte[] cert)
void
checkV1AttributeCertificate(int id, byte[] cert)
java.lang.String
getName()
static void
main(java.lang.String[] args)
void
performTest()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceTest
- Specified by:
getName
in 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:
performTest
in classSimpleTest
- Throws:
java.lang.Exception
-
main
public static void main(java.lang.String[] args)
-
-