public class CertTest extends 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 Test
getName
in class SimpleTest
public 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.Exception
public void checkCreation2()
public void checkCreation3()
public void checkCRLCreation1() throws java.lang.Exception
java.lang.Exception
public void checkCRLCreation2() throws java.lang.Exception
java.lang.Exception
public void checkCRLCreation3() throws java.lang.Exception
java.lang.Exception
public void checkCreation4() throws java.lang.Exception
java.lang.Exception
public void checkCreation5() throws java.lang.Exception
java.lang.Exception
public void performTest() throws java.lang.Exception
performTest
in class SimpleTest
java.lang.Exception
public static void main(java.lang.String[] args)