Uses of Class
java.security.cert.CertPath
Package | Description |
---|---|
java.security |
Provides the classes and interfaces for the security framework.
|
java.security.cert |
Provides classes and interfaces for parsing and managing
certificates, certificate revocation lists (CRLs), and
certification paths.
|
jdk.security.jarsigner |
This package defines APIs for signing jar files.
|
-
Uses of CertPath in java.security
Methods in java.security that return CertPath Modifier and Type Method Description CertPath
CodeSigner. getSignerCertPath()
Returns the signer's certificate path.CertPath
Timestamp. getSignerCertPath()
Returns the certificate path for the Timestamping Authority.Constructors in java.security with parameters of type CertPath Constructor Description CodeSigner(CertPath signerCertPath, Timestamp timestamp)
Constructs a CodeSigner object.Timestamp(Date timestamp, CertPath signerCertPath)
Constructs a Timestamp. -
Uses of CertPath in java.security.cert
Methods in java.security.cert that return CertPath Modifier and Type Method Description CertPath
CertificateFactorySpi. engineGenerateCertPath(InputStream inStream)
Generates aCertPath
object and initializes it with the data read from theInputStream
inStream.CertPath
CertificateFactorySpi. engineGenerateCertPath(InputStream inStream, String encoding)
Generates aCertPath
object and initializes it with the data read from theInputStream
inStream.CertPath
CertificateFactorySpi. engineGenerateCertPath(List<? extends Certificate> certificates)
Generates aCertPath
object and initializes it with aList
ofCertificate
s.CertPath
CertificateFactory. generateCertPath(InputStream inStream)
Generates aCertPath
object and initializes it with the data read from theInputStream
inStream.CertPath
CertificateFactory. generateCertPath(InputStream inStream, String encoding)
Generates aCertPath
object and initializes it with the data read from theInputStream
inStream.CertPath
CertificateFactory. generateCertPath(List<? extends Certificate> certificates)
Generates aCertPath
object and initializes it with aList
ofCertificate
s.CertPath
CertPathBuilderResult. getCertPath()
Returns the built certification path.CertPath
CertPathValidatorException. getCertPath()
Returns the certification path that was being validated when the exception was thrown.CertPath
PKIXCertPathBuilderResult. getCertPath()
Returns the built and validated certification path.Methods in java.security.cert with parameters of type CertPath Modifier and Type Method Description abstract CertPathValidatorResult
CertPathValidatorSpi. engineValidate(CertPath certPath, CertPathParameters params)
Validates the specified certification path using the specified algorithm parameter set.CertPathValidatorResult
CertPathValidator. validate(CertPath certPath, CertPathParameters params)
Validates the specified certification path using the specified algorithm parameter set.Constructors in java.security.cert with parameters of type CertPath Constructor Description CertPathValidatorException(String msg, Throwable cause, CertPath certPath, int index)
Creates aCertPathValidatorException
with the specified detail message, cause, certification path, and index.CertPathValidatorException(String msg, Throwable cause, CertPath certPath, int index, CertPathValidatorException.Reason reason)
Creates aCertPathValidatorException
with the specified detail message, cause, certification path, index, and reason.PKIXCertPathBuilderResult(CertPath certPath, TrustAnchor trustAnchor, PolicyNode policyTree, PublicKey subjectPublicKey)
Creates an instance ofPKIXCertPathBuilderResult
containing the specified parameters. -
Uses of CertPath in jdk.security.jarsigner
Constructors in jdk.security.jarsigner with parameters of type CertPath Constructor Description Builder(PrivateKey privateKey, CertPath certPath)
Creates aJarSigner.Builder
object with a private key and a certification path.