Skip to content

findExtension ​

findExtension ​

Find a raw extension by OID within a parsed extension list.

ts
function findExtension(
	extensions: readonly ParsedExtension[],
	oid: string,
): ParsedExtension | undefined

Parameters

Returns — The matching extension, or undefined if not present.

Released under the MIT License.