org.bouncycastle.jce.provider.test
Class CertTest
java.lang.Object
org.bouncycastle.util.test.SimpleTest
org.bouncycastle.jce.provider.test.CertTest
- org.bouncycastle.util.test.Test
public class CertTest
extends org.bouncycastle.util.test.SimpleTest
checkCRLCreation
public void checkCRLCreation()
throws Exception
checkCertificate
public void checkCertificate(int id,
byte[] bytes)
checkCreation1
public void checkCreation1()
throws Exception
we generate a self signed certificate for the sake of testing - RSA
checkCreation2
public void checkCreation2()
we generate a self signed certificate for the sake of testing - DSA
checkCreation3
public void checkCreation3()
we generate a self signed certificate for the sake of testing - ECDSA
checkCreation4
public void checkCreation4()
throws Exception
we generate a self signed certificate for the sake of testing - GOST3410
checkCreation5
public void checkCreation5()
throws Exception
checkKeyUsage
public void checkKeyUsage(int id,
byte[] bytes)
checkNameCertificate
public void checkNameCertificate(int id,
byte[] bytes)
checkSelfSignedCertificate
public void checkSelfSignedCertificate(int id,
byte[] bytes)
getName
public String getName()
- getName in interface org.bouncycastle.util.test.Test
- getName in interface org.bouncycastle.util.test.SimpleTest
main
public static void main(String[] args)
performTest
public void performTest()
throws Exception
- performTest in interface org.bouncycastle.util.test.SimpleTest