Package com.yubico.internal.util
Class CertificateParser
java.lang.Object
com.yubico.internal.util.CertificateParser
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]Compute a Subject Key Identifier as defined as method (1) in RFC 5280 section 4.2.1.2.static X509CertificateparseDer(byte[] derEncodedCert) static X509CertificateparseDer(InputStream is) static X509Certificatestatic Optional<byte[]>static X509Certificate
-
Field Details
-
ID_FIDO_GEN_CE_AAGUID
- See Also:
-
-
Constructor Details
-
CertificateParser
public CertificateParser()
-
-
Method Details
-
parsePem
- Throws:
CertificateException
-
parseDer
- Throws:
CertificateException
-
parseDer
- Throws:
CertificateException
-
parseDer
- Throws:
CertificateException
-
computeSubjectKeyIdentifier
Compute a Subject Key Identifier as defined as method (1) in RFC 5280 section 4.2.1.2.- Throws:
NoSuchAlgorithmException- if the SHA-1 hash algorithm is not available.- See Also:
-
parseFidoAaguidExtension
-