oidToDerBytes

fnubyte[] oidToDerBytes(string dotted) pure @safe

Encodes a dotted-decimal OID string to its raw DER binary form.

Parameters

dottedThe OID in dotted-decimal notation (e.g. "1.2.840.113549.1.1.1").

Returns

The DER-encoded OID content bytes (without the tag and length).