NativeDtlsContext.resolvedCertChainDer

private const(ubyte)[][] resolvedCertChainDer()

Resolves the certificate chain to DER form.

Converts a stored PEM chain to DER certificates; a stored DER chain is returned as-is.

Returns

The DER certificate chain (empty when none configured).

Throws

TlsException when a configured PEM chain contains no

parsable certificates.