public class CertificateMetadata extends Object
| Constructor and Description |
|---|
CertificateMetadata(X509Certificate certificate) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getCelVars()
Get the certificate metadata variables for Cert Identity Pool CEL filter evaluation.
|
String |
getCn()
Get the CN (Common Name) of the certificate.
|
String |
getDn()
Get the subject DN of the certificate.
|
String |
getIssuerDn()
Get the Issuer DN of the certificate (in RFC2253 format).
|
static String |
getIssuerDn(X509CRL crlEntry)
Get the Issuer DN of the CRL entry (in RFC2253 format).
|
String |
getSan()
Get the subject alternative name of the certificate.
|
static String |
getSerialNumber(X509CRLEntry crlEntry) |
String |
getSha1()
Get the SHA-1 fingerprint of the certificate.
|
String |
getSnid()
Get the serial number of the certificate.
|
public CertificateMetadata(X509Certificate certificate)
public Map<String,String> getCelVars()
public String getIssuerDn()
public String getDn()
public String getSan()
public String getCn()
public String getSnid()
public String getSha1()
public static String getIssuerDn(X509CRL crlEntry)
public static String getSerialNumber(X509CRLEntry crlEntry)