parseX509Certificate

fnX509Certificate parseX509Certificate(const(ubyte)[] der)

Parses an X.509 certificate from DER-encoded bytes.

Parameters

derThe DER-encoded certificate bytes.

Returns

A parsed X509Certificate instance.

Throws

CryptoException if the certificate is malformed.