APIdia Launch Partner
Top Description Fields Constructors Methods
sun.security.validator

pack-priv final Class EntrustTLSPolicy

extends Object
Class Inheritance
Imports
java.security.cert.X509Certificate, java.time.LocalDate, .Month, .ZoneOffset, java.util.Date, .Map, .Set, sun.security.util.Debug, sun.security.x509.X509CertImpl

This class checks if Entrust issued TLS Server certificates should be restricted.

Field Summary

Modifier and TypeField and Description
private static final Debug
private static final Set<String>
private static final LocalDate

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
pack-priv static void
checkDistrust(X509Certificate[]
the end-entity's certificate chain. The end entity cert is at index 0, the trust anchor at index n-1.
chain
)

This method assumes the eeCert is a TLS Server Cert and chains back to the anchor.

private static void
checkNotBefore(LocalDate notBeforeDate, LocalDate distrustDate, X509Certificate anchor)

private static String
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

debugback to summary
private static final Debug debug
FINGERPRINTSback to summary
private static final Set<String> FINGERPRINTS
NOVEMBER_11_2024back to summary
private static final LocalDate NOVEMBER_11_2024

Constructor Detail

EntrustTLSPolicyback to summary
private EntrustTLSPolicy()

Method Detail

checkDistrustback to summary
pack-priv static void checkDistrust(X509Certificate[] chain) throws ValidatorException

This method assumes the eeCert is a TLS Server Cert and chains back to the anchor.

Parameters
chain:X509Certificate[]

the end-entity's certificate chain. The end entity cert is at index 0, the trust anchor at index n-1.

Exceptions
ValidatorException:
if the certificate is distrusted
checkNotBeforeback to summary
private static void checkNotBefore(LocalDate notBeforeDate, LocalDate distrustDate, X509Certificate anchor) throws ValidatorException
fingerprintback to summary
private static String fingerprint(X509Certificate cert)