- Preparing search index...
- The search index is not available
pkijs
Function getAlgorithmByOID
- getAlgorithmByOID<T>(oid: string, safety?: boolean, target?: string): T | object
-
Type Parameters
-
T extends Algorithm = Algorithm
Parameters
-
oid: string
-
Optional
safety: boolean
-
Optional
target: string
Returns T | object
- getAlgorithmByOID<T>(oid: string, safety: true, target?: string): T
-
Type Parameters
-
T extends Algorithm = Algorithm
Parameters
-
oid: string
-
safety: true
-
Optional
target: string
Returns T
Gets WebCrypto algorithm by well-known OID
Returns
WebCrypto algorithm or an empty object