FileDocCategorySizeDatePackage
CertPathHelperImpl.javaAPI DocJava SE 5 API2100Fri Aug 26 14:57:16 BST 2005java.security.cert

CertPathHelperImpl

public class CertPathHelperImpl extends CertPathHelper
Helper class that allows the Sun CertPath provider to access implementation dependent APIs in CertPath framework.
author
Andreas Sterbenz
version
1.4, 12/19/03

Fields Summary
Constructors Summary
private CertPathHelperImpl()

	// empty
    
Methods Summary
protected voidimplAddIssuer(java.security.cert.X509CRLSelector sel, javax.security.auth.x500.X500Principal name)

	sel.addIssuer(name);
    
protected javax.security.auth.x500.X500PrincipalimplGetCA(java.security.cert.TrustAnchor anchor)

	return anchor.getCA();
    
protected javax.security.auth.x500.X500PrincipalimplGetIssuer(java.security.cert.X509CertSelector sel)

	return sel.getIssuer();
    
protected java.util.CollectionimplGetIssuers(java.security.cert.X509CRLSelector sel)

	return sel.getIssuers();
    
protected javax.security.auth.x500.X500PrincipalimplGetSubject(java.security.cert.X509CertSelector sel)

	return sel.getSubject();
    
protected voidimplSetIssuer(java.security.cert.X509CertSelector sel, javax.security.auth.x500.X500Principal issuer)

	sel.setIssuer(issuer);
    
protected voidimplSetPathToNames(java.security.cert.X509CertSelector sel, java.util.Set names)

	sel.setPathToNamesInternal(names);
    
protected voidimplSetSubject(java.security.cert.X509CertSelector sel, javax.security.auth.x500.X500Principal subject)

	sel.setSubject(subject);
    
static synchronized voidinitialize()
Initialize the helper framework. This method must be called from the static initializer of each class that is the target of one of the methods in this class. This ensures that the helper if initialized prior to a tunneled call from the Sun provider.

	if (CertPathHelper.instance == null) {
	    CertPathHelper.instance = new CertPathHelperImpl();
	}