org.bouncycastle.jce.provider.test
Class X509LDAPCertStoreTest

java.lang.Object
  extended by org.bouncycastle.util.test.SimpleTest
      extended by org.bouncycastle.jce.provider.test.X509LDAPCertStoreTest
All Implemented Interfaces:
Test

public class X509LDAPCertStoreTest
extends SimpleTest


Field Summary
private static byte[] caCert3
           
private static byte[] cert1
           
private static byte[] cert2
           
private static byte[] cert3
           
private static byte[] crossCert3
           
private static byte[] directCRL
           
private static java.lang.String ldapURL1
           
private static java.lang.String ldapURL2
           
private static java.lang.String ldapURL3
           
private static X509LDAPCertStoreParameters params1
           
private static X509LDAPCertStoreParameters params2
           
private static X509LDAPCertStoreParameters params3
           
 
Constructor Summary
X509LDAPCertStoreTest()
           
 
Method Summary
private  void certStoretest()
           
private  X509Principal getCRLIssuer(java.security.cert.X509CRL crl)
           
 java.lang.String getName()
           
private  X509Principal getSubject(java.security.cert.X509Certificate cert)
           
static void main(java.lang.String[] args)
           
 void performTest()
           
private  void x509StoreTest()
           
 
Methods inherited from class org.bouncycastle.util.test.SimpleTest
areEqual, fail, fail, fail, perform, runTest, runTest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cert1

private static final byte[] cert1

directCRL

private static final byte[] directCRL

ldapURL1

private static final java.lang.String ldapURL1
See Also:
Constant Field Values

params1

private static final X509LDAPCertStoreParameters params1

ldapURL2

private static final java.lang.String ldapURL2
See Also:
Constant Field Values

params2

private static final X509LDAPCertStoreParameters params2

cert2

private static final byte[] cert2

ldapURL3

private static final java.lang.String ldapURL3
See Also:
Constant Field Values

params3

private static final X509LDAPCertStoreParameters params3

cert3

private static final byte[] cert3

caCert3

private static final byte[] caCert3

crossCert3

private static final byte[] crossCert3
Constructor Detail

X509LDAPCertStoreTest

public X509LDAPCertStoreTest()
Method Detail

performTest

public void performTest()
                 throws java.lang.Exception
Specified by:
performTest in class SimpleTest
Throws:
java.lang.Exception

certStoretest

private void certStoretest()
                    throws java.lang.Exception
Throws:
java.lang.Exception

x509StoreTest

private void x509StoreTest()
                    throws java.lang.Exception
Throws:
java.lang.Exception

getSubject

private X509Principal getSubject(java.security.cert.X509Certificate cert)
                          throws java.security.cert.CertificateEncodingException
Throws:
java.security.cert.CertificateEncodingException

getCRLIssuer

private X509Principal getCRLIssuer(java.security.cert.X509CRL crl)
                            throws java.security.cert.CRLException
Throws:
java.security.cert.CRLException

getName

public java.lang.String getName()
Specified by:
getName in interface Test
Specified by:
getName in class SimpleTest

main

public static void main(java.lang.String[] args)