public class CertTest
extends org.bouncycastle.util.test.SimpleTest
| Constructor and Description |
|---|
CertTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkCertificate(int id,
byte[] bytes) |
void |
checkCreation1()
we generate a self signed certificate for the sake of testing - RSA
|
void |
checkCreation2()
we generate a self signed certificate for the sake of testing - DSA
|
void |
checkCreation3()
we generate a self signed certificate for the sake of testing - ECDSA
|
void |
checkCreation4()
we generate a self signed certificate for the sake of testing - GOST3410
|
void |
checkCreation5() |
void |
checkCRLCreation1() |
void |
checkCRLCreation2() |
void |
checkCRLCreation3() |
void |
checkKeyUsage(int id,
byte[] bytes) |
void |
checkNameCertificate(int id,
byte[] bytes) |
void |
checkSelfSignedCertificate(int id,
byte[] bytes) |
java.lang.String |
getName() |
static void |
main(java.lang.String[] args) |
void |
performTest() |
public java.lang.String getName()
getName in interface org.bouncycastle.util.test.TestgetName in class org.bouncycastle.util.test.SimpleTestpublic void checkCertificate(int id,
byte[] bytes)
public void checkNameCertificate(int id,
byte[] bytes)
public void checkKeyUsage(int id,
byte[] bytes)
public void checkSelfSignedCertificate(int id,
byte[] bytes)
public void checkCreation1()
throws java.lang.Exception
java.lang.Exceptionpublic void checkCreation2()
throws java.lang.Exception
java.lang.Exceptionpublic void checkCreation3()
public void checkCRLCreation1()
throws java.lang.Exception
java.lang.Exceptionpublic void checkCRLCreation2()
throws java.lang.Exception
java.lang.Exceptionpublic void checkCRLCreation3()
throws java.lang.Exception
java.lang.Exceptionpublic void checkCreation4()
throws java.lang.Exception
java.lang.Exceptionpublic void checkCreation5()
throws java.lang.Exception
java.lang.Exceptionpublic void performTest()
throws java.lang.Exception
performTest in class org.bouncycastle.util.test.SimpleTestjava.lang.Exceptionpublic static void main(java.lang.String[] args)