Skip to content

parseAuthorityInfoAccessMethodOid ​

parseAuthorityInfoAccessMethodOid ​

Map a dotted-decimal OID to an AuthorityInfoAccessMethod value.

Returns 'ocsp' or 'caIssuers' for recognized OIDs, or { type: 'oid', value } otherwise.

ts
function parseAuthorityInfoAccessMethodOid(
	oid: string,
): AuthorityInfoAccessMethod

Parameters

  • oid: string

Released under the MIT License.