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

pack-priv final Class CamerfirmaTLSPolicy

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 Camerfirma issued TLS Server certificates should be restricted.

Field Summary

Modifier and TypeField and Description
private static final LocalDate
private static final Debug
private static final String

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

APRIL_15_2025back to summary
private static final LocalDate APRIL_15_2025
debugback to summary
private static final Debug debug
FINGERPRINTback to summary
private static final String FINGERPRINT

Constructor Detail

CamerfirmaTLSPolicyback to summary
private CamerfirmaTLSPolicy()

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)