Package no.digipost.security.cert
Class TrustedCertificateAndIssuer
- java.lang.Object
-
- no.digipost.security.cert.TrustedCertificateAndIssuer
-
public final class TrustedCertificateAndIssuer extends Object
A certificate and its issuer, already determined to be trusted. This class is never instantiated unless the certificate and issuer has been validated as trusted.
-
-
Field Summary
Fields Modifier and Type Field Description X509CertificatecertificateThe trusted certificate.X509CertificateissuerThe trusted issuer ofcertificate.Optional<OcspLookupRequest>ocspLookupRequestThe OCSP lookup request for the certificate, if possible to resolve, which may be used to perform an OCSP-lookup for this certificate.
-
-
-
Field Detail
-
certificate
public final X509Certificate certificate
The trusted certificate.
-
issuer
public final X509Certificate issuer
The trusted issuer ofcertificate.
-
ocspLookupRequest
public final Optional<OcspLookupRequest> ocspLookupRequest
The OCSP lookup request for the certificate, if possible to resolve, which may be used to perform an OCSP-lookup for this certificate.
-
-