Index
A
addCertPathChecker(PKIXCertPathChecker) -
Method in class java.security.cert.PKIXParameters
Adds a
PKIXCertPathChecker to the list of certification
path checkers.
addCertStore(CertStore) -
Method in class java.security.cert.PKIXParameters
Adds a
CertStore to the end of the list of CertStores used
in finding certificates and CRLs.
addIssuer(X500Principal) -
Method in class java.security.cert.X509CRLSelector
Adds a name to the issuerNames criterion.
addIssuerName(String) -
Method in class java.security.cert.X509CRLSelector
Denigrated, use X509CRLSelector.addIssuer(X500Principal) or
X509CRLSelector.addIssuerName(byte[]) instead.
addIssuerName(byte[]) -
Method in class java.security.cert.X509CRLSelector
Adds a name to the issuerNames criterion.
addPathToName(int, String) -
Method in class java.security.cert.X509CertSelector
Adds a name to the pathToNames criterion.
addPathToName(int, byte[]) -
Method in class java.security.cert.X509CertSelector
Adds a name to the pathToNames criterion.
addSubjectAlternativeName(int, String) -
Method in class java.security.cert.X509CertSelector
Adds a name to the subjectAlternativeNames criterion.
addSubjectAlternativeName(int, byte[]) -
Method in class java.security.cert.X509CertSelector
Adds a name to the subjectAlternativeNames criterion.
B
build(CertPathParameters) -
Method in class java.security.cert.CertPathBuilder
Attempts to build a certification path using the specified algorithm
parameter set.
C
CertificateFactory - Class in java.security.cert
This class defines the functionality of a certificate factory, which is
used to generate certificate, certification path (
CertPath)
and certificate revocation list (CRL) objects from their encodings.
CertificateFactory(CertificateFactorySpi, Provider, String) -
Constructor for class java.security.cert.CertificateFactory
Creates a CertificateFactory object of the given type, and encapsulates
the given provider implementation (SPI object) in it.
CertificateFactorySpi - Class in java.security.cert
This class defines the Service Provider Interface (SPI)
for the
CertificateFactory class.
CertificateFactorySpi() -
Constructor for class java.security.cert.CertificateFactorySpi
CertPath - Class in java.security.cert
An immutable sequence of certificates (a certification path).
CertPath(String) -
Constructor for class java.security.cert.CertPath
Creates a
CertPath of the specified type.
CertPath.CertPathRep - Class in java.security.cert
Alternate
CertPath class for serialization.
CertPath.CertPathRep(String, byte[]) -
Constructor for class java.security.cert.CertPath.CertPathRep
Creates a
CertPathRep with the specified
type and encoded form of a certification path.
CertPathBuilder - Class in java.security.cert
A class for building certification paths (also known as certificate chains).
CertPathBuilder(CertPathBuilderSpi, Provider, String) -
Constructor for class java.security.cert.CertPathBuilder
Creates a
CertPathBuilder object of the given algorithm,
and encapsulates the given provider implementation (SPI object) in it.
CertPathBuilderException - Exception in java.security.cert
An exception indicating one of a variety of problems encountered when
building a certification path with a
CertPathBuilder.
CertPathBuilderException() -
Constructor for exception java.security.cert.CertPathBuilderException
Creates a
CertPathBuilderException with null
as its detail message.
CertPathBuilderException(String) -
Constructor for exception java.security.cert.CertPathBuilderException
Creates a
CertPathBuilderException with the given
detail message.
CertPathBuilderException(Throwable) -
Constructor for exception java.security.cert.CertPathBuilderException
Creates a
CertPathBuilderException that wraps the specified
throwable.
CertPathBuilderException(String, Throwable) -
Constructor for exception java.security.cert.CertPathBuilderException
Creates a
CertPathBuilderException with the specified
detail message and cause.
CertPathBuilderResult - Interface in java.security.cert
A specification of the result of a certification path builder algorithm.
CertPathBuilderSpi - Class in java.security.cert
The Service Provider Interface (SPI)
for the
CertPathBuilder class.
CertPathBuilderSpi() -
Constructor for class java.security.cert.CertPathBuilderSpi
The default constructor.
CertPathParameters - Interface in java.security.cert
A specification of certification path algorithm parameters.
CertPathValidator - Class in java.security.cert
A class for validating certification paths (also known as certificate
chains).
CertPathValidator(CertPathValidatorSpi, Provider, String) -
Constructor for class java.security.cert.CertPathValidator
Creates a
CertPathValidator object of the given algorithm,
and encapsulates the given provider implementation (SPI object) in it.
CertPathValidatorException - Exception in java.security.cert
An exception indicating one of a variety of problems encountered when
validating a certification path.
CertPathValidatorException() -
Constructor for exception java.security.cert.CertPathValidatorException
CertPathValidatorException(String) -
Constructor for exception java.security.cert.CertPathValidatorException
Creates a
CertPathValidatorException with the given
detail message.
CertPathValidatorException(Throwable) -
Constructor for exception java.security.cert.CertPathValidatorException
Creates a
CertPathValidatorException that wraps the
specified throwable.
CertPathValidatorException(String, Throwable) -
Constructor for exception java.security.cert.CertPathValidatorException
Creates a
CertPathValidatorException with the specified
detail message and cause.
CertPathValidatorException(String, Throwable, CertPath, int) -
Constructor for exception java.security.cert.CertPathValidatorException
Creates a
CertPathValidatorException with the specified
detail message, cause, certification path, and index.
CertPathValidatorResult - Interface in java.security.cert
A specification of the result of a certification path validator algorithm.
CertPathValidatorSpi - Class in java.security.cert
The Service Provider Interface (SPI)
for the
CertPathValidator class.
CertPathValidatorSpi() -
Constructor for class java.security.cert.CertPathValidatorSpi
The default constructor.
CertSelector - Interface in java.security.cert
A selector that defines a set of criteria for selecting
Certificates.
CertStore - Class in java.security.cert
A class for retrieving
Certificates and CRLs
from a repository.
CertStore(CertStoreSpi, Provider, String, CertStoreParameters) -
Constructor for class java.security.cert.CertStore
Creates a
CertStore object of the given type, and
encapsulates the given provider implementation (SPI object) in it.
CertStoreException - Exception in java.security.cert
An exception indicating one of a variety of problems retrieving
certificates and CRLs from a
CertStore.
CertStoreException() -
Constructor for exception java.security.cert.CertStoreException
Creates a
CertStoreException with null as
its detail message.
CertStoreException(String) -
Constructor for exception java.security.cert.CertStoreException
Creates a
CertStoreException with the given detail
message.
CertStoreException(Throwable) -
Constructor for exception java.security.cert.CertStoreException
Creates a
CertStoreException that wraps the specified
throwable.
CertStoreException(String, Throwable) -
Constructor for exception java.security.cert.CertStoreException
Creates a
CertStoreException with the specified detail
message and cause.
CertStoreParameters - Interface in java.security.cert
A specification of
CertStore parameters.
CertStoreSpi - Class in java.security.cert
The Service Provider Interface (SPI)
for the
CertStore class.
CertStoreSpi(CertStoreParameters) -
Constructor for class java.security.cert.CertStoreSpi
The sole constructor.
check(Certificate, Collection<String>) -
Method in class java.security.cert.PKIXCertPathChecker
Performs the check(s) on the specified certificate using its internal
state and removes any critical extensions that it processes from the
specified collection of OID strings that represent the unresolved
critical extensions.
checkValidity() -
Method in class java.security.cert.X509Certificate
Checks that the certificate is currently valid.
checkValidity(Date) -
Method in class java.security.cert.X509Certificate
Checks that the given date is within the certificate's
validity period.
clone() -
Method in interface java.security.cert.CertPathBuilderResult
Makes a copy of this
CertPathBuilderResult.
clone() -
Method in interface java.security.cert.CertPathParameters
Makes a copy of this
CertPathParameters.
clone() -
Method in interface java.security.cert.CertPathValidatorResult
Makes a copy of this
CertPathValidatorResult.
clone() -
Method in interface java.security.cert.CertSelector
Makes a copy of this
CertSelector.
clone() -
Method in interface java.security.cert.CertStoreParameters
Makes a copy of this
CertStoreParameters.
clone() -
Method in class java.security.cert.CollectionCertStoreParameters
Returns a copy of this object.
clone() -
Method in interface java.security.cert.CRLSelector
Makes a copy of this
CRLSelector.
clone() -
Method in class java.security.cert.LDAPCertStoreParameters
Returns a copy of this object.
clone() -
Method in class java.security.cert.PKIXCertPathChecker
Returns a clone of this object.
clone() -
Method in class java.security.cert.PKIXCertPathValidatorResult
Returns a copy of this object.
clone() -
Method in class java.security.cert.PKIXParameters
Makes a copy of this
PKIXParameters object.
clone() -
Method in class java.security.cert.X509CertSelector
Returns a copy of this object.
clone() -
Method in class java.security.cert.X509CRLSelector
Returns a copy of this object.
CollectionCertStoreParameters - Class in java.security.cert
Parameters used as input for the Collection
CertStore
algorithm.
CollectionCertStoreParameters(Collection<?>) -
Constructor for class java.security.cert.CollectionCertStoreParameters
Creates an instance of
CollectionCertStoreParameters
which will allow certificates and CRLs to be retrieved from the
specified Collection.
CollectionCertStoreParameters() -
Constructor for class java.security.cert.CollectionCertStoreParameters
Creates an instance of
CollectionCertStoreParameters with
the default parameter values (an empty and immutable
Collection).
CRLSelector - Interface in java.security.cert
A selector that defines a set of criteria for selecting
CRLs.
E
engineBuild(CertPathParameters) -
Method in class java.security.cert.CertPathBuilderSpi
Attempts to build a certification path using the specified
algorithm parameter set.
engineGenerateCertificate(InputStream) -
Method in class java.security.cert.CertificateFactorySpi
Generates a certificate object and initializes it with
the data read from the input stream
inStream.
engineGenerateCertificates(InputStream) -
Method in class java.security.cert.CertificateFactorySpi
Returns a (possibly empty) collection view of the certificates read
from the given input stream
inStream.
engineGenerateCertPath(InputStream) -
Method in class java.security.cert.CertificateFactorySpi
Generates a
CertPath object and initializes it with the data
read from the InputStream inStream.
engineGenerateCertPath(InputStream, String) -
Method in class java.security.cert.CertificateFactorySpi
Generates a
CertPath object and initializes it with the data
read from the InputStream inStream.
engineGenerateCertPath(List<? extends Certificate>) -
Method in class java.security.cert.CertificateFactorySpi
Generates a
CertPath object and initializes it with a
List of Certificates.
engineGenerateCRL(InputStream) -
Method in class java.security.cert.CertificateFactorySpi
Generates a certificate revocation list (CRL) object and initializes it
with the data read from the input stream
inStream.
engineGenerateCRLs(InputStream) -
Method in class java.security.cert.CertificateFactorySpi
Returns a (possibly empty) collection view of the CRLs read
from the given input stream
inStream.
engineGetCertificates(CertSelector) -
Method in class java.security.cert.CertStoreSpi
Returns a
Collection of Certificates that
match the specified selector.
engineGetCertPathEncodings() -
Method in class java.security.cert.CertificateFactorySpi
Returns an iteration of the
CertPath encodings supported by
this certificate factory, with the default encoding first.
engineGetCRLs(CRLSelector) -
Method in class java.security.cert.CertStoreSpi
Returns a
Collection of CRLs that
match the specified selector.
engineValidate(CertPath, CertPathParameters) -
Method in class java.security.cert.CertPathValidatorSpi
Validates the specified certification path using the specified
algorithm parameter set.
equals(Object) -
Method in class java.security.cert.CertPath
Compares this certification path for equality with the specified
object.
G
generateCertificate(InputStream) -
Method in class java.security.cert.CertificateFactory
Generates a certificate object and initializes it with
the data read from the input stream
inStream.
generateCertificates(InputStream) -
Method in class java.security.cert.CertificateFactory
Returns a (possibly empty) collection view of the certificates read
from the given input stream
inStream.
generateCertPath(InputStream) -
Method in class java.security.cert.CertificateFactory
Generates a
CertPath object and initializes it
with the data read from the InputStream inStream.
generateCertPath(InputStream, String) -
Method in class java.security.cert.CertificateFactory
Generates a
CertPath object and initializes it with the
data read from the InputStream inStream.
generateCertPath(List<? extends Certificate>) -
Method in class java.security.cert.CertificateFactory
Generates a
CertPath object and initializes it with a
List of Certificates.
generateCRL(InputStream) -
Method in class java.security.cert.CertificateFactory
Generates a certificate revocation list (CRL) object and initializes it
with the data read from the input stream
inStream.
generateCRLs(InputStream) -
Method in class java.security.cert.CertificateFactory
Returns a (possibly empty) collection view of the CRLs read
from the given input stream
inStream.
getAlgorithm() -
Method in class java.security.cert.CertPathBuilder
Returns the name of the algorithm of this
CertPathBuilder.
getAlgorithm() -
Method in class java.security.cert.CertPathValidator
Returns the algorithm name of this
CertPathValidator.
getAuthorityKeyIdentifier() -
Method in class java.security.cert.X509CertSelector
Returns the authorityKeyIdentifier criterion.
getBasicConstraints() -
Method in class java.security.cert.X509Certificate
Gets the certificate constraints path length from the
critical
BasicConstraints extension, (OID = 2.5.29.19).
getBasicConstraints() -
Method in class java.security.cert.X509CertSelector
Returns the basic constraints constraint.
getCA() -
Method in class java.security.cert.TrustAnchor
Returns the name of the most-trusted CA as an X500Principal.
getCAName() -
Method in class java.security.cert.TrustAnchor
Returns the name of the most-trusted CA in RFC 2253
String
format.
getCAPublicKey() -
Method in class java.security.cert.TrustAnchor
Returns the public key of the most-trusted CA.
getCause() -
Method in exception java.security.cert.CertPathBuilderException
Returns the internal (wrapped) cause, or
null
if the cause is nonexistent or unknown.
getCause() -
Method in exception java.security.cert.CertPathValidatorException
Returns the cause of this
CertPathValidatorException or
null if the cause is nonexistent or unknown.
getCause() -
Method in exception java.security.cert.CertStoreException
Returns the cause of this
CertStoreException or
null if the cause is nonexistent or unknown.
getCertificate() -
Method in class java.security.cert.X509CertSelector
Returns the certificateEquals criterion.
getCertificateChecking() -
Method in class java.security.cert.X509CRLSelector
Returns the certificate being checked.
getCertificates() -
Method in class java.security.cert.CertPath
Returns the list of certificates in this certification path.
getCertificates(CertSelector) -
Method in class java.security.cert.CertStore
Returns a
Collection of Certificates that
match the specified selector.
getCertificateValid() -
Method in class java.security.cert.X509CertSelector
Returns the certificateValid criterion.
getCertPath() -
Method in interface java.security.cert.CertPathBuilderResult
Returns the built certification path.
getCertPath() -
Method in exception java.security.cert.CertPathValidatorException
Returns the certification path that was being validated when
the exception was thrown.
getCertPath() -
Method in class java.security.cert.PKIXCertPathBuilderResult
Returns the built and validated certification path.
getCertPathCheckers() -
Method in class java.security.cert.PKIXParameters
Returns the
List of certification path checkers.
getCertPathEncodings() -
Method in class java.security.cert.CertificateFactory
Returns an iteration of the
CertPath encodings supported by
this certificate factory, with the default encoding first.
getCertStoreParameters() -
Method in class java.security.cert.CertStore
Returns the parameters used to initialize this
CertStore.
getCertStores() -
Method in class java.security.cert.PKIXParameters
Gets an immutable copy of the list of
CertStores to be
used in finding certificates and CRLs.
getChildren() -
Method in interface java.security.cert.PolicyNode
Returns an iterator over the children of this node.
getCollection() -
Method in class java.security.cert.CollectionCertStoreParameters
Returns the
Collection from which Certificates
and CRLs are retrieved.
getCRLs(CRLSelector) -
Method in class java.security.cert.CertStore
Returns a
Collection of CRLs that
match the specified selector.
getDate() -
Method in class java.security.cert.PKIXParameters
Returns the time for which the validity of the certification path
should be determined.
getDateAndTime() -
Method in class java.security.cert.X509CRLSelector
Returns the dateAndTime criterion.
getDefaultType() -
Static method in class java.security.cert.CertPathBuilder
Returns the default
CertPathBuilder type as specified in
the Java security properties file, or the string "PKIX"
if no such property exists.
getDefaultType() -
Static method in class java.security.cert.CertPathValidator
Returns the default
CertPathValidator type as specified in
the Java security properties file, or the string "PKIX"
if no such property exists.
getDefaultType() -
Static method in class java.security.cert.CertStore
Returns the default
CertStore type as specified in the
Java security properties file, or the string "LDAP" if no
such property exists.
getDepth() -
Method in interface java.security.cert.PolicyNode
Returns the depth of this node in the valid policy tree.
getEncoded() -
Method in class java.security.cert.CertPath
Returns the encoded form of this certification path, using the default
encoding.
getEncoded(String) -
Method in class java.security.cert.CertPath
Returns the encoded form of this certification path, using the
specified encoding.
getEncoded() -
Method in class java.security.cert.PolicyQualifierInfo
Returns the ASN.1 DER encoded form of this
PolicyQualifierInfo.
getEncodings() -
Method in class java.security.cert.CertPath
Returns an iteration of the encodings supported by this certification
path, with the default encoding first.
getExpectedPolicies() -
Method in interface java.security.cert.PolicyNode
Returns the set of expected policies that would satisfy this node's valid policy
in the next certificate to be processed.
getExtendedKeyUsage() -
Method in class java.security.cert.X509Certificate
Gets an unmodifiable list of Strings representing the OBJECT
IDENTIFIERs of the
ExtKeyUsageSyntax field of the
extended key usage extension, (OID = 2.5.29.37).
getExtendedKeyUsage() -
Method in class java.security.cert.X509CertSelector
Returns the extendedKeyUsage criterion.
getIndex() -
Method in exception java.security.cert.CertPathValidatorException
Returns the index of the certificate in the certification path
that caused the exception to be thrown.
getInitialPolicies() -
Method in class java.security.cert.PKIXParameters
Returns the immutable
Set of one or more certificate
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.
getInstance(String) -
Static method in class java.security.cert.CertificateFactory
Returns a certificate factory object that implements the
specified certificate type.
getInstance(String, String) -
Static method in class java.security.cert.CertificateFactory
Returns a certificate factory object for the specified
certificate type.
getInstance(String, Provider) -
Static method in class java.security.cert.CertificateFactory
Returns a certificate factory object for the specified
certificate type.
getInstance(String) -
Static method in class java.security.cert.CertPathBuilder
Returns a
CertPathBuilder object that implements the
specified algorithm.
getInstance(String, String) -
Static method in class java.security.cert.CertPathBuilder
Returns a
CertPathBuilder object that implements the
specified algorithm.
getInstance(String, Provider) -
Static method in class java.security.cert.CertPathBuilder
Returns a
CertPathBuilder object that implements the
specified algorithm.
getInstance(String) -
Static method in class java.security.cert.CertPathValidator
Returns a
CertPathValidator object that implements the
specified algorithm.
getInstance(String, String) -
Static method in class java.security.cert.CertPathValidator
Returns a
CertPathValidator object that implements the
specified algorithm.
getInstance(String, Provider) -
Static method in class java.security.cert.CertPathValidator
Returns a
CertPathValidator object that implements the
specified algorithm.
getInstance(String, CertStoreParameters) -
Static method in class java.security.cert.CertStore
Returns a
CertStore object that implements the specified
CertStore type and is initialized with the specified
parameters.
getInstance(String, CertStoreParameters, String) -
Static method in class java.security.cert.CertStore
Returns a
CertStore object that implements the specified
CertStore type.
getInstance(String, CertStoreParameters, Provider) -
Static method in class java.security.cert.CertStore
Returns a
CertStore object that implements the specified
CertStore type.
getIssuer() -
Method in class java.security.cert.X509CertSelector
Returns the issuer criterion as an
X500Principal.
getIssuerAlternativeNames() -
Method in class java.security.cert.X509Certificate
Gets an immutable collection of issuer alternative names from the
IssuerAltName extension, (OID = 2.5.29.18).
getIssuerAsBytes() -
Method in class java.security.cert.X509CertSelector
Returns the issuer criterion as a byte array.
getIssuerAsString() -
Method in class java.security.cert.X509CertSelector
Denigrated, use X509CertSelector.getIssuer() or
X509CertSelector.getIssuerAsBytes() instead.
getIssuerDN() -
Method in class java.security.cert.X509Certificate
Denigrated, replaced by X509Certificate.getIssuerX500Principal().
getIssuerNames() -
Method in class java.security.cert.X509CRLSelector
Returns a copy of the issuerNames criterion.
getIssuers() -
Method in class java.security.cert.X509CRLSelector
Returns the issuerNames criterion.
getIssuerUniqueID() -
Method in class java.security.cert.X509Certificate
Gets the
issuerUniqueID value from the certificate.
getIssuerX500Principal() -
Method in class java.security.cert.X509Certificate
Returns the issuer (issuer distinguished name) value from the
certificate as an
X500Principal.
getKeyUsage() -
Method in class java.security.cert.X509Certificate
Gets a boolean array representing bits of
the
KeyUsage extension, (OID = 2.5.29.15).
getKeyUsage() -
Method in class java.security.cert.X509CertSelector
Returns the keyUsage criterion.
getMatchAllSubjectAltNames() -
Method in class java.security.cert.X509CertSelector
Indicates if the
X509Certificate must contain all
or at least one of the subjectAlternativeNames
specified in the setSubjectAlternativeNames or addSubjectAlternativeName methods.
getMaxCRL() -
Method in class java.security.cert.X509CRLSelector
Returns the maxCRLNumber criterion.
getMaxPathLength() -
Method in class java.security.cert.PKIXBuilderParameters
Returns the value of the maximum number of intermediate non-self-issued
certificates that may exist in a certification path.
getMessage() -
Method in exception java.security.cert.CertPathBuilderException
Returns the detail message for this
CertPathBuilderException.
getMessage() -
Method in exception java.security.cert.CertPathValidatorException
Returns the detail message for this
CertPathValidatorException.
getMessage() -
Method in exception java.security.cert.CertStoreException
Returns the detail message for this
CertStoreException.
getMinCRL() -
Method in class java.security.cert.X509CRLSelector
Returns the minCRLNumber criterion.
getNameConstraints() -
Method in class java.security.cert.TrustAnchor
Returns the name constraints parameter.
getNameConstraints() -
Method in class java.security.cert.X509CertSelector
Returns the name constraints criterion.
getNotAfter() -
Method in class java.security.cert.X509Certificate
Gets the
notAfter date from the validity period of
the certificate.
getNotBefore() -
Method in class java.security.cert.X509Certificate
Gets the
notBefore date from the validity period of
the certificate.
getParent() -
Method in interface java.security.cert.PolicyNode
Returns the parent of this node, or
null if this is the root node.
getPathToNames() -
Method in class java.security.cert.X509CertSelector
Returns a copy of the pathToNames criterion.
getPolicy() -
Method in class java.security.cert.X509CertSelector
Returns the policy criterion.
getPolicyQualifier() -
Method in class java.security.cert.PolicyQualifierInfo
Returns the ASN.1 DER encoded form of the
qualifier
field of this PolicyQualifierInfo.
getPolicyQualifierId() -
Method in class java.security.cert.PolicyQualifierInfo
Returns the policyQualifier Object Identifier as a String.
getPolicyQualifiers() -
Method in interface java.security.cert.PolicyNode
Returns the set of policy qualifiers associated with the valid policy represented
by this node.
getPolicyQualifiersRejected() -
Method in class java.security.cert.PKIXParameters
Gets the PolicyQualifiersRejected flag.
getPolicyTree() -
Method in class java.security.cert.PKIXCertPathValidatorResult
Returns the root node of the valid policy tree resulting from the
PKIX certification path validation algorithm.
getPort() -
Method in class java.security.cert.LDAPCertStoreParameters
Returns the port number of the LDAP server.
getPrivateKeyValid() -
Method in class java.security.cert.X509CertSelector
Returns the privateKeyValid criterion.
getProvider() -
Method in class java.security.cert.CertificateFactory
Returns the provider of this certificate factory.
getProvider() -
Method in class java.security.cert.CertPathBuilder
Returns the provider of this
CertPathBuilder.
getProvider() -
Method in class java.security.cert.CertPathValidator
Returns the
Provider of this
CertPathValidator.
getProvider() -
Method in class java.security.cert.CertStore
Returns the provider of this
CertStore.
getPublicKey() -
Method in class java.security.cert.PKIXCertPathValidatorResult
Returns the public key of the subject (target) of the certification
path, including any inherited public key parameters if applicable.
getSerialNumber() -
Method in class java.security.cert.X509Certificate
Gets the
serialNumber value from the certificate.
getSerialNumber() -
Method in class java.security.cert.X509CertSelector
Returns the serialNumber criterion.
getServerName() -
Method in class java.security.cert.LDAPCertStoreParameters
Returns the DNS name of the LDAP server.
getSigAlgName() -
Method in class java.security.cert.X509Certificate
Gets the signature algorithm name for the certificate
signature algorithm.
getSigAlgOID() -
Method in class java.security.cert.X509Certificate
Gets the signature algorithm OID string from the certificate.
getSigAlgParams() -
Method in class java.security.cert.X509Certificate
Gets the DER-encoded signature algorithm parameters from this
certificate's signature algorithm.
getSignature() -
Method in class java.security.cert.X509Certificate
Gets the
signature value (the raw signature bits) from
the certificate.
getSigProvider() -
Method in class java.security.cert.PKIXParameters
Returns the signature provider's name, or
null if not set.
getSubject() -
Method in class java.security.cert.X509CertSelector
Returns the subject criterion as an
X500Principal.
getSubjectAlternativeNames() -
Method in class java.security.cert.X509Certificate
Gets an immutable collection of subject alternative names from the
SubjectAltName extension, (OID = 2.5.29.17).
getSubjectAlternativeNames() -
Method in class java.security.cert.X509CertSelector
Returns a copy of the subjectAlternativeNames criterion.
getSubjectAsBytes() -
Method in class java.security.cert.X509CertSelector
Returns the subject criterion as a byte array.
getSubjectAsString() -
Method in class java.security.cert.X509CertSelector
Denigrated, use X509CertSelector.getSubject() or
X509CertSelector.getSubjectAsBytes() instead.
getSubjectDN() -
Method in class java.security.cert.X509Certificate
Denigrated, replaced by X509Certificate.getSubjectX500Principal().
getSubjectKeyIdentifier() -
Method in class java.security.cert.X509CertSelector
Returns the subjectKeyIdentifier criterion.
getSubjectPublicKey() -
Method in class java.security.cert.X509CertSelector
Returns the subjectPublicKey criterion.
getSubjectPublicKeyAlgID() -
Method in class java.security.cert.X509CertSelector
Returns the subjectPublicKeyAlgID criterion.
getSubjectUniqueID() -
Method in class java.security.cert.X509Certificate
Gets the
subjectUniqueID value from the certificate.
getSubjectX500Principal() -
Method in class java.security.cert.X509Certificate
Returns the subject (subject distinguished name) value from the
certificate as an
X500Principal.
getSupportedExtensions() -
Method in class java.security.cert.PKIXCertPathChecker
Returns an immutable
Set of X.509 certificate extensions
that this PKIXCertPathChecker supports (i.e.
getTargetCertConstraints() -
Method in class java.security.cert.PKIXParameters
Returns the required constraints on the target certificate.
getTBSCertificate() -
Method in class java.security.cert.X509Certificate
Gets the DER-encoded certificate information, the
tbsCertificate from this certificate.
getTrustAnchor() -
Method in class java.security.cert.PKIXCertPathValidatorResult
Returns the
TrustAnchor describing the CA that served
as a trust anchor for the certification path.
getTrustAnchors() -
Method in class java.security.cert.PKIXParameters
Returns an immutable
Set of the most-trusted CAs.
getTrustedCert() -
Method in class java.security.cert.TrustAnchor
Returns the most-trusted CA certificate.
getType() -
Method in class java.security.cert.CertificateFactory
Returns the name of the certificate type associated with this
certificate factory.
Returns the type of
Certificates in this certification
path.
Returns the type of this
CertStore.
getValidPolicy() -
Method in interface java.security.cert.PolicyNode
Returns the valid policy represented by this node.
getVersion() -
Method in class java.security.cert.X509Certificate
Gets the
version (version number) value from the
certificate.
H
hashCode() -
Method in class java.security.cert.CertPath
Returns the hashcode for this certification path.
I
init(boolean) -
Method in class java.security.cert.PKIXCertPathChecker
Initializes the internal state of this
PKIXCertPathChecker.
isAnyPolicyInhibited() -
Method in class java.security.cert.PKIXParameters
Checks whether the any policy OID should be processed if it
is included in a certificate.
isCritical() -
Method in interface java.security.cert.PolicyNode
Returns the criticality indicator of the certificate policy extension in the most
recently processed certificate.
isExplicitPolicyRequired() -
Method in class java.security.cert.PKIXParameters
Checks if explicit policy is required.
isForwardCheckingSupported() -
Method in class java.security.cert.PKIXCertPathChecker
Indicates if forward checking is supported.
isPolicyMappingInhibited() -
Method in class java.security.cert.PKIXParameters
Checks if policy mapping is inhibited.
isRevocationEnabled() -
Method in class java.security.cert.PKIXParameters
Checks the RevocationEnabled flag.
J
java.security.cert - package java.security.cert
L
LDAPCertStoreParameters - Class in java.security.cert
Parameters used as input for the LDAP
CertStore algorithm.
LDAPCertStoreParameters(String, int) -
Constructor for class java.security.cert.LDAPCertStoreParameters
Creates an instance of
LDAPCertStoreParameters with the
specified parameter values.
LDAPCertStoreParameters(String) -
Constructor for class java.security.cert.LDAPCertStoreParameters
Creates an instance of
LDAPCertStoreParameters with the
specified server name and a default port of 389.
LDAPCertStoreParameters() -
Constructor for class java.security.cert.LDAPCertStoreParameters
Creates an instance of
LDAPCertStoreParameters with the
default parameter values (server name "localhost", port 389).
M
match(Certificate) -
Method in interface java.security.cert.CertSelector
Decides whether a
Certificate should be selected.
match(CRL) -
Method in interface java.security.cert.CRLSelector
Decides whether a
CRL should be selected.
match(Certificate) -
Method in class java.security.cert.X509CertSelector
Decides whether a
Certificate should be selected.
match(CRL) -
Method in class java.security.cert.X509CRLSelector
Decides whether a
CRL should be selected.
P
PKIXBuilderParameters - Class in java.security.cert
Parameters used as input for the PKIX
CertPathBuilder
algorithm.
PKIXBuilderParameters(Set<TrustAnchor>, CertSelector) -
Constructor for class java.security.cert.PKIXBuilderParameters
Creates an instance of
PKIXBuilderParameters with the specified
Set of most-trusted CAs.
PKIXBuilderParameters(KeyStore, CertSelector) -
Constructor for class java.security.cert.PKIXBuilderParameters
Creates an instance of
PKIXBuilderParameters that populates
the set of most-trusted CA certificates from the trusted certificate entries
contained in the specified KeyStore.
PKIXCertPathBuilderResult - Class in java.security.cert
This class represents the successful result of the PKIX certification
path builder algorithm.
PKIXCertPathBuilderResult(CertPath, TrustAnchor, PolicyNode, PublicKey) -
Constructor for class java.security.cert.PKIXCertPathBuilderResult
Creates an instance of
PKIXCertPathBuilderResult
containing the specified parameters.
PKIXCertPathChecker - Class in java.security.cert
An abstract class that performs one or more checks on an
X509Certificate.
PKIXCertPathChecker() -
Constructor for class java.security.cert.PKIXCertPathChecker
Default constructor
PKIXCertPathValidatorResult - Class in java.security.cert
This class represents the successful result of the PKIX certification
path validation algorithm.
PKIXCertPathValidatorResult(TrustAnchor, PolicyNode, PublicKey) -
Constructor for class java.security.cert.PKIXCertPathValidatorResult
Creates an instance of
PKIXCertPathValidatorResult containing
the specified parameters.
PKIXParameters - Class in java.security.cert
Parameters used as input for the PKIX
CertPathValidator
algorithm.
PKIXParameters(Set<TrustAnchor>) -
Constructor for class java.security.cert.PKIXParameters
Creates an instance of
PKIXParameters with the specified
Set of most-trusted CAs.
PKIXParameters(KeyStore) -
Constructor for class java.security.cert.PKIXParameters
Creates an instance of
PKIXParameters that
populates the set of most-trusted CAs from the trusted
certificate entries contained in the specified KeyStore.
PolicyNode - Interface in java.security.cert
An immutable valid policy tree node as defined by the PKIX certification
path validation algorithm.
PolicyQualifierInfo - Class in java.security.cert
An immutable policy qualifier represented by the ASN.1 PolicyQualifierInfo
structure.
PolicyQualifierInfo(byte[]) -
Constructor for class java.security.cert.PolicyQualifierInfo
Creates an instance of
PolicyQualifierInfo from the encoded
bytes.
printStackTrace() -
Method in exception java.security.cert.CertPathBuilderException
Prints a stack trace to
System.err, including the backtrace
of the cause, if any.
printStackTrace(PrintStream) -
Method in exception java.security.cert.CertPathBuilderException
Prints a stack trace to a
PrintStream, including the
backtrace of the cause, if any.
printStackTrace(PrintWriter) -
Method in exception java.security.cert.CertPathBuilderException
Prints a stack trace to a
PrintWriter, including the
backtrace of the cause, if any.
printStackTrace() -
Method in exception java.security.cert.CertPathValidatorException
Prints a stack trace to
System.err, including the backtrace
of the cause, if any.
printStackTrace(PrintStream) -
Method in exception java.security.cert.CertPathValidatorException
Prints a stack trace to a
PrintStream, including the
backtrace of the cause, if any.
printStackTrace(PrintWriter) -
Method in exception java.security.cert.CertPathValidatorException
Prints a stack trace to a
PrintWriter, including the
backtrace of the cause, if any.
printStackTrace() -
Method in exception java.security.cert.CertStoreException
Prints a stack trace to
System.err, including the backtrace
of the cause, if any.
printStackTrace(PrintStream) -
Method in exception java.security.cert.CertStoreException
Prints a stack trace to a
PrintStream, including the
backtrace of the cause, if any.
printStackTrace(PrintWriter) -
Method in exception java.security.cert.CertStoreException
Prints a stack trace to a
PrintWriter, including the
backtrace of the cause, if any.
R
readResolve() -
Method in class java.security.cert.CertPath.CertPathRep
Returns a
CertPath constructed from the type and data.
S
setAnyPolicyInhibited(boolean) -
Method in class java.security.cert.PKIXParameters
Sets state to determine if the any policy OID should be processed
if it is included in a certificate.
setAuthorityKeyIdentifier(byte[]) -
Method in class java.security.cert.X509CertSelector
Sets the authorityKeyIdentifier criterion.
setBasicConstraints(int) -
Method in class java.security.cert.X509CertSelector
Sets the basic constraints constraint.
setCertificate(X509Certificate) -
Method in class java.security.cert.X509CertSelector
Sets the certificateEquals criterion.
setCertificateChecking(X509Certificate) -
Method in class java.security.cert.X509CRLSelector
Sets the certificate being checked.
setCertificateValid(Date) -
Method in class java.security.cert.X509CertSelector
Sets the certificateValid criterion.
setCertPathCheckers(List<PKIXCertPathChecker>) -
Method in class java.security.cert.PKIXParameters
Sets a
List of additional certification path checkers.
setCertStores(List<CertStore>) -
Method in class java.security.cert.PKIXParameters
Sets the list of
CertStores to be used in
finding certificates and CRLs.
setDate(Date) -
Method in class java.security.cert.PKIXParameters
Sets the time for which the validity of the certification path
should be determined.
setDateAndTime(Date) -
Method in class java.security.cert.X509CRLSelector
Sets the dateAndTime criterion.
setExplicitPolicyRequired(boolean) -
Method in class java.security.cert.PKIXParameters
Sets the ExplicitPolicyRequired flag.
setExtendedKeyUsage(Set<String>) -
Method in class java.security.cert.X509CertSelector
Sets the extendedKeyUsage criterion.
setInitialPolicies(Set<String>) -
Method in class java.security.cert.PKIXParameters
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.
setIssuer(String) -
Method in class java.security.cert.X509CertSelector
Denigrated, use X509CertSelector.setIssuer(X500Principal)
or X509CertSelector.setIssuer(byte[]) instead.
setIssuer(byte[]) -
Method in class java.security.cert.X509CertSelector
Sets the issuer criterion.
setIssuer(X500Principal) -
Method in class java.security.cert.X509CertSelector
Sets the issuer criterion.
setIssuerNames(Collection<?>) -
Method in class java.security.cert.X509CRLSelector
Note: use X509CRLSelector.setIssuers(Collection) instead
or only specify the byte array form of distinguished names when using
this method.
setIssuers(Collection<X500Principal>) -
Method in class java.security.cert.X509CRLSelector
Sets the issuerNames criterion.
setKeyUsage(boolean[]) -
Method in class java.security.cert.X509CertSelector
Sets the keyUsage criterion.
setMatchAllSubjectAltNames(boolean) -
Method in class java.security.cert.X509CertSelector
Enables/disables matching all of the subjectAlternativeNames specified
in the
setSubjectAlternativeNames or
addSubjectAlternativeName methods.
setMaxCRLNumber(BigInteger) -
Method in class java.security.cert.X509CRLSelector
Sets the maxCRLNumber criterion.
setMaxPathLength(int) -
Method in class java.security.cert.PKIXBuilderParameters
Sets the value of the maximum number of non-self-issued intermediate
certificates that may exist in a certification path.
setMinCRLNumber(BigInteger) -
Method in class java.security.cert.X509CRLSelector
Sets the minCRLNumber criterion.
setNameConstraints(byte[]) -
Method in class java.security.cert.X509CertSelector
Sets the name constraints criterion.
setPathToNames(Collection<List<?>>) -
Method in class java.security.cert.X509CertSelector
Sets the pathToNames criterion.
setPolicy(Set<String>) -
Method in class java.security.cert.X509CertSelector
Sets the policy constraint.
setPolicyMappingInhibited(boolean) -
Method in class java.security.cert.PKIXParameters
Sets the PolicyMappingInhibited flag.
setPolicyQualifiersRejected(boolean) -
Method in class java.security.cert.PKIXParameters
Sets the PolicyQualifiersRejected flag.
setPrivateKeyValid(Date) -
Method in class java.security.cert.X509CertSelector
Sets the privateKeyValid criterion.
setRevocationEnabled(boolean) -
Method in class java.security.cert.PKIXParameters
Sets the RevocationEnabled flag.
setSerialNumber(BigInteger) -
Method in class java.security.cert.X509CertSelector
Sets the serialNumber criterion.
setSigProvider(String) -
Method in class java.security.cert.PKIXParameters
Sets the signature provider's name.
setSubject(String) -
Method in class java.security.cert.X509CertSelector
Denigrated, use X509CertSelector.setSubject(X500Principal)
or X509CertSelector.setSubject(byte[]) instead.
setSubject(byte[]) -
Method in class java.security.cert.X509CertSelector
Sets the subject criterion.
setSubject(X500Principal) -
Method in class java.security.cert.X509CertSelector
Sets the subject criterion.
setSubjectAlternativeNames(Collection<List<?>>) -
Method in class java.security.cert.X509CertSelector
Sets the subjectAlternativeNames criterion.
setSubjectKeyIdentifier(byte[]) -
Method in class java.security.cert.X509CertSelector
Sets the subjectKeyIdentifier criterion.
setSubjectPublicKey(PublicKey) -
Method in class java.security.cert.X509CertSelector
Sets the subjectPublicKey criterion.
setSubjectPublicKey(byte[]) -
Method in class java.security.cert.X509CertSelector
Sets the subjectPublicKey criterion.
setSubjectPublicKeyAlgID(String) -
Method in class java.security.cert.X509CertSelector
Sets the subjectPublicKeyAlgID criterion.
setTargetCertConstraints(CertSelector) -
Method in class java.security.cert.PKIXParameters
Sets the required constraints on the target certificate.
setTrustAnchors(Set<TrustAnchor>) -
Method in class java.security.cert.PKIXParameters
Sets the
Set of most-trusted CAs
T
toString() -
Method in class java.security.cert.CertPath
Returns a string representation of this certification path.
toString() -
Method in exception java.security.cert.CertPathBuilderException
Returns a string describing this exception, including a description
of the internal (wrapped) cause if there is one.
toString() -
Method in exception java.security.cert.CertPathValidatorException
Returns a string describing this exception, including a description
of the internal (wrapped) cause if there is one.
toString() -
Method in exception java.security.cert.CertStoreException
Returns a string describing this exception, including a description
of the internal (wrapped) cause if there is one.
toString() -
Method in class java.security.cert.CollectionCertStoreParameters
Returns a formatted string describing the parameters.
toString() -
Method in class java.security.cert.LDAPCertStoreParameters
Returns a formatted string describing the parameters.
toString() -
Method in class java.security.cert.PKIXBuilderParameters
Returns a formatted string describing the parameters.
toString() -
Method in class java.security.cert.PKIXCertPathBuilderResult
Return a printable representation of this
PKIXCertPathBuilderResult.
toString() -
Method in class java.security.cert.PKIXCertPathValidatorResult
Returns a printable representation of this
PKIXCertPathValidatorResult.
toString() -
Method in class java.security.cert.PKIXParameters
Returns a formatted string describing the parameters.
toString() -
Method in class java.security.cert.PolicyQualifierInfo
Return a printable representation of the
PolicyQualifierInfo.
toString() -
Method in class java.security.cert.TrustAnchor
Returns a formatted string describing the
TrustAnchor.
toString() -
Method in class java.security.cert.X509CertSelector
Return a printable representation of the
CertSelector.
toString() -
Method in class java.security.cert.X509CRLSelector
Returns a printable representation of the
X509CRLSelector.
TrustAnchor - Class in java.security.cert
A trust anchor or most-trusted Certification Authority (CA).
TrustAnchor(X509Certificate, byte[]) -
Constructor for class java.security.cert.TrustAnchor
Creates an instance of
TrustAnchor with the specified
X509Certificate and optional name constraints, which
are intended to be used as additional constraints when validating
an X.509 certification path.
TrustAnchor(X500Principal, PublicKey, byte[]) -
Constructor for class java.security.cert.TrustAnchor
Creates an instance of
TrustAnchor where the
most-trusted CA is specified as an X500Principal and public key.
TrustAnchor(String, PublicKey, byte[]) -
Constructor for class java.security.cert.TrustAnchor
Creates an instance of
TrustAnchor where the
most-trusted CA is specified as a distinguished name and public key.
V
validate(CertPath, CertPathParameters) -
Method in class java.security.cert.CertPathValidator
Validates the specified certification path using the specified
algorithm parameter set.
W
writeReplace() -
Method in class java.security.cert.CertPath
Replaces the
CertPath to be serialized with a CertPathRep object.
X
X509Certificate - Class in java.security.cert
Abstract class for X.509 certificates.
X509Certificate() -
Constructor for class java.security.cert.X509Certificate
Constructor for X.509 certificates.
X509CertSelector - Class in java.security.cert
A
CertSelector that selects X509Certificates that
match all specified criteria.
X509CertSelector() -
Constructor for class java.security.cert.X509CertSelector
Creates an
X509CertSelector.
X509CRLSelector - Class in java.security.cert
A
CRLSelector that selects X509CRLs that
match all specified criteria.
X509CRLSelector() -
Constructor for class java.security.cert.X509CRLSelector
Creates an
X509CRLSelector.