Skip to content

parseExtendedKeyUsageOid ​

parseExtendedKeyUsageOid ​

Map a dotted-decimal OID to an ExtendedKeyUsage value.

Returns a well-known string for recognized OIDs, or { type: 'oid', value } otherwise.

ts
function parseExtendedKeyUsageOid(
	oid: string,
): ExtendedKeyUsage

Parameters

  • oid: string

Released under the MIT License.