Interface Certificate
public interface Certificate
Represents mTLS certificate.
-
Method Summary
Modifier and TypeMethodDescriptionGets certificate subject DN.Gets certificate subject DN map.Gets certificate 'x5t' thumbprint which is a base64url-encoded SHA-1 thumbprint (a.k.a. digest) of the DER encoding of an X.509 certificate.
-
Method Details
-
getThumbprint
Gets certificate 'x5t' thumbprint which is a base64url-encoded SHA-1 thumbprint (a.k.a. digest) of the DER encoding of an X.509 certificate.- Returns:
- the thumbprint
- Throws:
InvalidCertificateException- if error occurs while encoding X509 certificate or when a particular cryptographic algorithm is not supported- See Also:
-
getSubjectDN
-
getSubjectDNMap
-