API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.security.cert. PKIXParameters View Source
Author(s)
Sean Mullan
Yassir Elley
Since
1.4
Version
1.18 11/17/05
Serial
Hierarchy
 Object
      PKIXParameters
Implements
 CertPathParameters
Subclasses
Description
public class PKIXParameters
  Parameters used as input for the PKIX CertPathValidator algorithm.
See also:    CertPathValidator
Constructors
public PKIXParameters (KeyStore keystore) throws KeyStoreException InvalidAlgorithmParameterException
  Creates an instance of PKIXParameters that populates the set of most-trusted CAs from the trusted certificate entries contained in the specified KeyStore.
public PKIXParameters (Set<TrustAnchor> trustAnchors) throws InvalidAlgorithmParameterException
  Creates an instance of PKIXParameters with the specified Set of most-trusted CAs.
Methods
Hide/Show inherited methods
public void addCertPathChecker (PKIXCertPathChecker checker)
  Adds a PKIXCertPathChecker to the list of certification path checkers.
public void addCertStore (CertStore store)
  Adds a CertStore to the end of the list of CertStores used in finding certificates and CRLs.
public Object clone () [Specified in CertPathParameters]
  Makes a copy of this PKIXParameters object.
public List<PKIXCertPathChecker> getCertPathCheckers ()
  Returns the List of certification path checkers.
public List<CertStore> getCertStores ()
  Returns an immutable List of CertStores that are used to find certificates and CRLs.
public Date getDate ()
  Returns the time for which the validity of the certification path should be determined.
public Set<String> getInitialPolicies ()
  Returns an immutable Set of initial policy identifiers (OID strings), indicating that any one of these policies would be acceptable to the certificate user for the purposes of certification path processing.
public boolean getPolicyQualifiersRejected ()
  Gets the PolicyQualifiersRejected flag.
public String getSigProvider ()
  Returns the signature provider's name, or null if not set.
public CertSelector getTargetCertConstraints ()
  Returns the required constraints on the target certificate.
public Set<TrustAnchor> getTrustAnchors ()
  Returns an immutable Set of the most-trusted CAs.
public boolean isAnyPolicyInhibited ()
  Checks whether the any policy OID should be processed if it is included in a certificate.
public boolean isExplicitPolicyRequired ()
  Checks if explicit policy is required.
public boolean isPolicyMappingInhibited ()
  Checks if policy mapping is inhibited.
public boolean isRevocationEnabled ()
  Checks the RevocationEnabled flag.
public void setAnyPolicyInhibited (boolean val)
  Sets state to determine if the any policy OID should be processed if it is included in a certificate.
public void setCertPathCheckers (List<PKIXCertPathChecker> checkers)
  Sets a List of additional certification path checkers.
public void setCertStores (List<CertStore> stores)
  Sets the list of CertStores to be used in finding certificates and CRLs.
public void setDate (Date date)
  Sets the time for which the validity of the certification path should be determined.
public void setExplicitPolicyRequired (boolean val)
  Sets the ExplicitPolicyRequired flag.
public void setInitialPolicies (Set<String> initialPolicies)
  Sets the Set of initial policy identifiers (OID strings), indicating that any one of these policies would be acceptable to the certificate user for the purposes of certification path processing.
public void setPolicyMappingInhibited (boolean val)
  Sets the PolicyMappingInhibited flag.
public void setPolicyQualifiersRejected (boolean qualifiersRejected)
  Sets the PolicyQualifiersRejected flag.
public void setRevocationEnabled (boolean val)
  Sets the RevocationEnabled flag.
public void setSigProvider (String sigProvider)
  Sets the signature provider's name.
public void setTargetCertConstraints (CertSelector selector)
  Sets the required constraints on the target certificate.
public void setTrustAnchors (Set<TrustAnchor> trustAnchors) throws InvalidAlgorithmParameterException
  Sets the Set of most-trusted CAs.
public String toString ()
  Returns a formatted string describing the parameters.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar