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 CertPathCodeSigner. getSignerCertPath()Returns the signer's certificate path.CertPathTimestamp. 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 CertPathCertificateFactorySpi. engineGenerateCertPath(InputStream inStream)Generates aCertPathobject and initializes it with the data read from theInputStreaminStream.CertPathCertificateFactorySpi. engineGenerateCertPath(InputStream inStream, String encoding)Generates aCertPathobject and initializes it with the data read from theInputStreaminStream.CertPathCertificateFactorySpi. engineGenerateCertPath(List<? extends Certificate> certificates)Generates aCertPathobject and initializes it with aListofCertificates.CertPathCertificateFactory. generateCertPath(InputStream inStream)Generates aCertPathobject and initializes it with the data read from theInputStreaminStream.CertPathCertificateFactory. generateCertPath(InputStream inStream, String encoding)Generates aCertPathobject and initializes it with the data read from theInputStreaminStream.CertPathCertificateFactory. generateCertPath(List<? extends Certificate> certificates)Generates aCertPathobject and initializes it with aListofCertificates.CertPathCertPathBuilderResult. getCertPath()Returns the built certification path.CertPathCertPathValidatorException. getCertPath()Returns the certification path that was being validated when the exception was thrown.CertPathPKIXCertPathBuilderResult. getCertPath()Returns the built and validated certification path.Methods in java.security.cert with parameters of type CertPath Modifier and Type Method Description abstract CertPathValidatorResultCertPathValidatorSpi. engineValidate(CertPath certPath, CertPathParameters params)Validates the specified certification path using the specified algorithm parameter set.CertPathValidatorResultCertPathValidator. 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 aCertPathValidatorExceptionwith the specified detail message, cause, certification path, and index.CertPathValidatorException(String msg, Throwable cause, CertPath certPath, int index, CertPathValidatorException.Reason reason)Creates aCertPathValidatorExceptionwith the specified detail message, cause, certification path, index, and reason.PKIXCertPathBuilderResult(CertPath certPath, TrustAnchor trustAnchor, PolicyNode policyTree, PublicKey subjectPublicKey)Creates an instance ofPKIXCertPathBuilderResultcontaining 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.Builderobject with a private key and a certification path.