parse
Parses a DER certificate, with no bytes after it (RFC 5280 §4.1).
Throws
for malformed DER, a structure that is not a certificate, or a subject public key SubjectPublicKeyInfo.decode rejects. Nothing else, whatever the input.
Parses a DER certificate, with no bytes after it (RFC 5280 §4.1).
for malformed DER, a structure that is not a certificate, or a subject public key SubjectPublicKeyInfo.decode rejects. Nothing else, whatever the input.