Modifier and Type | Field and Description |
---|---|
private Timestamp | |
private final PKIXBuilderParameters | |
private final String |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public void | addCertPathChecker(PKIXCertPathChecker
a c)PKIXCertPathChecker to add to the list of
checks. If null , the checker is ignored (not added to list).Overrides java. Adds a |
public void | addCertStore(CertStore
the store)CertStore to add. If null ,
the store is ignored (not added to list).Overrides java. Adds a |
public List | getCertPathCheckers()
Overrides java. Returns the |
public List | getCertStores()
Overrides java. Returns an immutable |
public Date | getDate()
Overrides java. Returns the time for which the validity of the certification path should be determined. |
public Set | getInitialPolicies()
Overrides java. Returns an immutable |
public int | getMaxPathLength()
Overrides java. Returns the value of the maximum number of intermediate non-self-issued certificates that may exist in a certification path. |
public boolean | getPolicyQualifiersRejected()
Overrides java. Gets the PolicyQualifiersRejected flag. |
public String | getSigProvider()
Overrides java. Returns the signature provider's name, or |
public CertSelector | getTargetCertConstraints()
Overrides java. Returns the required constraints on the target certificate. |
public Timestamp | |
public Set | getTrustAnchors()
Overrides java. Returns an immutable |
public String | |
public boolean | isAnyPolicyInhibited()
Overrides java. Checks whether the any policy OID should be processed if it is included in a certificate. |
public boolean | isExplicitPolicyRequired()
Overrides java. Checks if explicit policy is required. |
public boolean | isPolicyMappingInhibited()
Overrides java. Checks if policy mapping is inhibited. |
public boolean | isRevocationEnabled()
Overrides java. Checks the RevocationEnabled flag. |
public void | setAnyPolicyInhibited(boolean
true if the any policy OID is to be
inhibited, false otherwiseOverrides java. Sets state to determine if the any policy OID should be processed if it is included in a certificate. |
public void | setCertPathCheckers(List<PKIXCertPathChecker>
a checkers)List of PKIXCertPathChecker s.
May be null , in which case no additional checkers will be
used.Overrides java. Sets a |
public void | setCertStores(List<CertStore>
a stores)List of CertStore s (or
null )Overrides java. Sets the list of |
public void | setDate(Date
the d)Date , or null for the
current timeOverrides java. Sets the time for which the validity of the certification path should be determined. |
public void | setExplicitPolicyRequired(boolean
true if explicit policy is to be required,
false otherwiseOverrides java. Sets the ExplicitPolicyRequired flag. |
public void | setInitialPolicies(Set<String>
a initialPolicies)Set of initial policy
OIDs in String format (or null )Overrides java. Sets the |
public void | setMaxPathLength(int
the maximum number of non-self-issued intermediate
certificates that may exist in a certification path maxPathLength)Overrides java. Sets the value of the maximum number of non-self-issued intermediate certificates that may exist in a certification path. |
public void | setPolicyMappingInhibited(boolean
true if policy mapping is to be inhibited,
false otherwiseOverrides java. Sets the PolicyMappingInhibited flag. |
public void | setPolicyQualifiersRejected(boolean
the new value of the PolicyQualifiersRejected
flag qualifiersRejected)Overrides java. Sets the PolicyQualifiersRejected flag. |
public void | setRevocationEnabled(boolean
the new value of the RevocationEnabled flag val)Overrides java. Sets the RevocationEnabled flag. |
public void | setSigProvider(String
the signature provider's name (or sigProvider)null )Overrides java. Sets the signature provider's name. |
public void | setTargetCertConstraints(CertSelector
a selector)CertSelector specifying the constraints
on the target certificate (or null )Overrides java. Sets the required constraints on the target certificate. |
public void | |
public void | setTrustAnchors(Set<TrustAnchor>
a trustAnchors)Set of TrustAnchor sOverrides java. Sets the |
public String | toString()
Overrides java. Returns a formatted string describing the parameters. |
jarTimestamp | back to summary |
---|---|
private Timestamp jarTimestamp |
p | back to summary |
---|---|
private final PKIXBuilderParameters p |
variant | back to summary |
---|---|
private final String variant |
PKIXExtendedParameters | back to summary |
---|---|
public PKIXExtendedParameters(PKIXBuilderParameters params, Timestamp timestamp, String variant) throws InvalidAlgorithmParameterException |
addCertPathChecker | back to summary |
---|---|
public void addCertPathChecker(PKIXCertPathChecker c) Overrides java. Doc from java. Adds a
Note that the
|
addCertStore | back to summary |
---|---|
public void addCertStore(CertStore store) Overrides java. Doc from java. Adds a |
getCertPathCheckers | back to summary |
---|---|
public List Overrides java. Doc from java. Returns the
|
getCertStores | back to summary |
---|---|
public List Overrides java. Doc from java. Returns an immutable |
getDate | back to summary |
---|---|
public Date getDate() Overrides java. Doc from java. Returns the time for which the validity of the certification path
should be determined. If
Note that the |
getInitialPolicies | back to summary |
---|---|
public Set Overrides java. Doc from java. Returns an immutable |
getMaxPathLength | back to summary |
---|---|
public int getMaxPathLength() Overrides java. Doc from java. Returns the value of the maximum number of intermediate non-self-issued
certificates that may exist in a certification path. See
the
|
getPolicyQualifiersRejected | back to summary |
---|---|
public boolean getPolicyQualifiersRejected() Overrides java. Doc from java. Gets the PolicyQualifiersRejected flag. If this flag is true, certificates that include policy qualifiers in a certificate policies extension that is marked critical are rejected. If the flag is false, certificates are not rejected on this basis. When a
|
getSigProvider | back to summary |
---|---|
public String getSigProvider() Overrides java. Doc from java. Returns the signature provider's name, or |
getTargetCertConstraints | back to summary |
---|---|
public CertSelector getTargetCertConstraints() Overrides java. Doc from java. Returns the required constraints on the target certificate.
The constraints are returned as an instance of Note that the
|
getTimestamp | back to summary |
---|---|
public Timestamp getTimestamp() |
getTrustAnchors | back to summary |
---|---|
public Set Overrides java. Doc from java. Returns an immutable
|
getVariant | back to summary |
---|---|
public String getVariant() |
isAnyPolicyInhibited | back to summary |
---|---|
public boolean isAnyPolicyInhibited() Overrides java. Doc from java. Checks whether the any policy OID should be processed if it is included in a certificate.
|
isExplicitPolicyRequired | back to summary |
---|---|
public boolean isExplicitPolicyRequired() Overrides java. Doc from java. Checks if explicit policy is required. If this flag is true, an acceptable policy needs to be explicitly identified in every certificate. By default, the ExplicitPolicyRequired flag is false.
|
isPolicyMappingInhibited | back to summary |
---|---|
public boolean isPolicyMappingInhibited() Overrides java. Doc from java. Checks if policy mapping is inhibited. If this flag is true, policy mapping is inhibited. By default, policy mapping is not inhibited (the flag is false).
|
isRevocationEnabled | back to summary |
---|---|
public boolean isRevocationEnabled() Overrides java. Doc from java. Checks the RevocationEnabled flag. If this flag is true, the default
revocation checking mechanism of the underlying PKIX service provider
will be used, unless a
|
setAnyPolicyInhibited | back to summary |
---|---|
public void setAnyPolicyInhibited(boolean val) Overrides java. Doc from java. Sets state to determine if the any policy OID should be processed
if it is included in a certificate. By default, the any policy OID
is not inhibited (
|
setCertPathCheckers | back to summary |
---|---|
public void setCertPathCheckers(List<PKIXCertPathChecker> checkers) Overrides java. Doc from java. Sets a
Each
This method allows sophisticated applications to extend a PKIX
Regardless of whether these additional
Note that the
|
setCertStores | back to summary |
---|---|
public void setCertStores(List<CertStore> stores) Overrides java. Doc from java. Sets the list of
Note that the |
setDate | back to summary |
---|---|
public void setDate(Date d) Overrides java. Doc from java. Sets the time for which the validity of the certification path
should be determined. If
Note that the |
setExplicitPolicyRequired | back to summary |
---|---|
public void setExplicitPolicyRequired(boolean val) Overrides java. Doc from java. Sets the ExplicitPolicyRequired flag. If this flag is true, an acceptable policy needs to be explicitly identified in every certificate. By default, the ExplicitPolicyRequired flag is false.
|
setInitialPolicies | back to summary |
---|---|
public void setInitialPolicies(Set<String> initialPolicies) Overrides java. Doc from java. Sets the
Note that the |
setMaxPathLength | back to summary |
---|---|
public void setMaxPathLength(int maxPathLength) Overrides java. Doc from java. Sets the value of the maximum number of non-self-issued intermediate
certificates that may exist in a certification path. A certificate
is self-issued if the DNs that appear in the subject and issuer
fields are identical and are not empty. Note that the last certificate
in a certification path is not an intermediate certificate, and is not
included in this limit. Usually the last certificate is an end entity
certificate, but it can be a CA certificate. A PKIX
A value of 0 implies that the path can only contain a single certificate. A value of -1 implies that the path length is unconstrained (i.e. there is no maximum). The default maximum path length, if not specified, is 5. Setting a value less than -1 will cause an exception to be thrown. If any of the CA certificates contain the
|
setPolicyMappingInhibited | back to summary |
---|---|
public void setPolicyMappingInhibited(boolean val) Overrides java. Doc from java. Sets the PolicyMappingInhibited flag. If this flag is true, policy mapping is inhibited. By default, policy mapping is not inhibited (the flag is false).
|
setPolicyQualifiersRejected | back to summary |
---|---|
public void setPolicyQualifiersRejected(boolean qualifiersRejected) Overrides java. Doc from java. Sets the PolicyQualifiersRejected flag. If this flag is true, certificates that include policy qualifiers in a certificate policies extension that is marked critical are rejected. If the flag is false, certificates are not rejected on this basis. When a Note that the PKIX certification path validation algorithm specifies that any policy qualifier in a certificate policies extension that is marked critical must be processed and validated. Otherwise the certification path must be rejected. If the policyQualifiersRejected flag is set to false, it is up to the application to validate all policy qualifiers in this manner in order to be PKIX compliant.
|
setRevocationEnabled | back to summary |
---|---|
public void setRevocationEnabled(boolean val) Overrides java. Doc from java. Sets the RevocationEnabled flag. If this flag is true, the default
revocation checking mechanism of the underlying PKIX service provider
will be used, unless a
When a
Note that when a
|
setSigProvider | back to summary |
---|---|
public void setSigProvider(String sigProvider) Overrides java. Doc from java. Sets the signature provider's name. The specified provider will be
preferred when creating |
setTargetCertConstraints | back to summary |
---|---|
public void setTargetCertConstraints(CertSelector selector) Overrides java. Doc from java. Sets the required constraints on the target certificate.
The constraints are specified as an instance of
Note that the
|
setTimestamp | back to summary |
---|---|
public void setTimestamp(Timestamp t) |
setTrustAnchors | back to summary |
---|---|
public void setTrustAnchors(Set<TrustAnchor> trustAnchors) throws InvalidAlgorithmParameterException Overrides java. Doc from java. Sets the
Note that the
|
toString | back to summary |
---|---|
public String toString() Overrides java. Doc from java. Returns a formatted string describing the parameters. |