Class CertTest
- java.lang.Object
-
- org.bouncycastle.util.test.SimpleTest
-
- org.bouncycastle.jce.provider.test.CertTest
-
- All Implemented Interfaces:
Test
public class CertTest extends SimpleTest
-
-
Constructor Summary
Constructors Constructor Description CertTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkCertificate(int id, byte[] bytes)
void
checkCertificate(int id, byte[] bytes, java.security.PublicKey pubKey)
void
checkCertificateSignedBy(int id, byte[] certBytes, byte[] signingCertBytes)
void
checkKeyUsage(int id, byte[] bytes)
void
checkNameCertificate(int id, byte[] bytes)
void
checkSelfSignedCertificate(int id, byte[] bytes, java.lang.String sigAlgName)
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[] bytes)
-
checkCertificate
public void checkCertificate(int id, byte[] bytes, java.security.PublicKey pubKey)
-
checkNameCertificate
public void checkNameCertificate(int id, byte[] bytes)
-
checkKeyUsage
public void checkKeyUsage(int id, byte[] bytes)
-
checkSelfSignedCertificate
public void checkSelfSignedCertificate(int id, byte[] bytes, java.lang.String sigAlgName)
-
checkCertificateSignedBy
public void checkCertificateSignedBy(int id, byte[] certBytes, byte[] signingCertBytes)
-
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)
-
-