FileDocCategorySizeDatePackage
DRLCertFactory.javaAPI DocAndroid 1.5 API2475Wed May 06 22:41:06 BST 2009org.apache.harmony.security.provider.cert

DRLCertFactory

public final class DRLCertFactory extends Provider
Master class (provider) for X509 Certificate Factory Implementation.

Fields Summary
private static final long
serialVersionUID
Constructors Summary
public DRLCertFactory()
Constructs the instance of the certificate factory provider.


                 
      
        // specification of the provider name, version, and description.
        // security.151=Certificate Factory supports CRLs and Certificates in (PEM) ASN.1 DER encoded form, and Certification Paths in PkiPath and PKCS7 formats.

        // BEGIN android-changed
        // Avoid using a message resource string here, since it forces loading
        // all the messages in a non-error context.
        super("DRLCertFactory", 1.0, "ASN.1, DER, PkiPath, PKCS7"); //$NON-NLS-1$ //$NON-NLS-2$
        // END android-changed
                
        AccessController.doPrivileged(new java.security.PrivilegedAction<Void>() {
            public Void run() {
                // register the service
                put("CertificateFactory.X509", //$NON-NLS-1$
                    "org.apache.harmony.security.provider.cert.X509CertFactoryImpl"); //$NON-NLS-1$
                // mapping the alias
                put("Alg.Alias.CertificateFactory.X.509", "X509"); //$NON-NLS-1$ //$NON-NLS-2$
                    return null;
            }
        });
    
Methods Summary