decodeOidToString

fnstring decodeOidToString(const(ubyte)[] encoded) pure @safe

Decodes a binary OID to its dotted-decimal string representation.

Parameters

encodedThe binary-encoded OID bytes (without tag or length).

Returns

The dotted OID string (e.g. "1.2.840.113549.1.1.1").

Throws

CryptoException if the encoding is empty or truncated.