org.bouncycastle.jce.provider.test
Class AttrCertTest
java.lang.Object
org.bouncycastle.util.test.SimpleTest
org.bouncycastle.jce.provider.test.AttrCertTest
- All Implemented Interfaces:
- Test
public class AttrCertTest
- extends SimpleTest
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RSA_PRIVATE_KEY_SPEC
private static final java.security.spec.RSAPrivateCrtKeySpec RSA_PRIVATE_KEY_SPEC
attrCert
static byte[] attrCert
signCert
byte[] signCert
certWithBaseCertificateID
static byte[] certWithBaseCertificateID
holderCertWithBaseCertificateID
byte[] holderCertWithBaseCertificateID
AttrCertTest
public AttrCertTest()
getName
public java.lang.String getName()
- Specified by:
getName
in interface Test
- Specified by:
getName
in class SimpleTest
testCertWithBaseCertificateID
private void testCertWithBaseCertificateID()
throws java.lang.Exception
- Throws:
java.lang.Exception
equalityAndHashCodeTest
private void equalityAndHashCodeTest(X509AttributeCertificate attrCert,
byte[] encoding)
throws java.io.IOException
- Throws:
java.io.IOException
testGenerateWithCert
private void testGenerateWithCert()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGenerateWithPrincipal
private void testGenerateWithPrincipal()
throws java.lang.Exception
- Throws:
java.lang.Exception
performTest
public void performTest()
throws java.lang.Exception
- Specified by:
performTest
in class SimpleTest
- Throws:
java.lang.Exception
main
public static void main(java.lang.String[] args)