public class PKIXExtendedParameters
extends java.lang.Object
implements java.security.cert.CertPathParameters
Modifier and Type | Class and Description |
---|---|
static class |
PKIXExtendedParameters.Builder
Builder for a PKIXExtendedParameters object.
|
Modifier and Type | Field and Description |
---|---|
static int |
CHAIN_VALIDITY_MODEL
This model uses the following validity model.
|
static int |
PKIX_VALIDITY_MODEL
This is the default PKIX validity model.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
java.util.List<PKIXCertStore> |
getCertificateStores() |
java.util.List |
getCertPathCheckers() |
java.util.List<java.security.cert.CertStore> |
getCertStores() |
java.util.List<PKIXCRLStore> |
getCRLStores() |
java.util.Date |
getDate()
Deprecated.
Use 'getValidityDate' instead (which can return null).
|
java.util.Set |
getInitialPolicies() |
java.util.Map<GeneralName,PKIXCertStore> |
getNamedCertificateStoreMap() |
java.util.Map<GeneralName,PKIXCRLStore> |
getNamedCRLStoreMap() |
boolean |
getPolicyQualifiersRejected() |
java.lang.String |
getSigProvider() |
PKIXCertStoreSelector |
getTargetConstraints()
Returns the required constraints on the target certificate.
|
java.util.Set |
getTrustAnchors() |
java.util.Date |
getValidityDate()
Returns the time at which to check the validity of the certification path.
|
int |
getValidityModel() |
boolean |
isAnyPolicyInhibited() |
boolean |
isExplicitPolicyRequired() |
boolean |
isPolicyMappingInhibited() |
boolean |
isRevocationEnabled() |
boolean |
isUseDeltasEnabled()
Defaults to
false . |
public static final int PKIX_VALIDITY_MODEL
PKIXParameters.setDate(Date)
method, so this methods sets the Date when all
certificates must have been valid.public static final int CHAIN_VALIDITY_MODEL
PKIXParameters.setDate(Date)
method sets the time, when the end certificate must have been valid. It is used e.g.
in the German signature law.public java.util.List<PKIXCertStore> getCertificateStores()
public java.util.Map<GeneralName,PKIXCertStore> getNamedCertificateStoreMap()
public java.util.List<PKIXCRLStore> getCRLStores()
public java.util.Map<GeneralName,PKIXCRLStore> getNamedCRLStoreMap()
public java.util.Date getValidityDate()
null
,
the current time is used.Date
, or null
if not setpublic java.util.Date getDate()
public boolean isUseDeltasEnabled()
false
.public int getValidityModel()
CHAIN_VALIDITY_MODEL
,
PKIX_VALIDITY_MODEL
public java.lang.Object clone()
clone
in interface java.security.cert.CertPathParameters
clone
in class java.lang.Object
public PKIXCertStoreSelector getTargetConstraints()
Selector
. If null
, no constraints are
defined.Selector
specifying the constraints on the
target certificate or attribute certificate (or null
)PKIXCertStoreSelector
public java.util.Set getTrustAnchors()
public java.util.Set getInitialPolicies()
public java.lang.String getSigProvider()
public boolean isExplicitPolicyRequired()
public boolean isAnyPolicyInhibited()
public boolean isPolicyMappingInhibited()
public java.util.List getCertPathCheckers()
public java.util.List<java.security.cert.CertStore> getCertStores()
public boolean isRevocationEnabled()
public boolean getPolicyQualifiersRejected()