getAlgorithmByOID
Call Signature
Section titled “Call Signature”getAlgorithmByOID<
T>(oid,safety?,target?):object|T
Gets WebCrypto algorithm by well-known OID
Type Parameters
Section titled “Type Parameters”T extends Algorithm = Algorithm
Parameters
Section titled “Parameters”string
algorithm identifier
safety?
Section titled “safety?”boolean
if true throws exception on unknown algorithm identifier
target?
Section titled “target?”string
name of the target
Returns
Section titled “Returns”object | T
WebCrypto algorithm or an empty object
Call Signature
Section titled “Call Signature”getAlgorithmByOID<
T>(oid,safety,target?):T
Gets WebCrypto algorithm by well-known OID
Type Parameters
Section titled “Type Parameters”T extends Algorithm = Algorithm
Parameters
Section titled “Parameters”string
algorithm identifier
safety
Section titled “safety”true
if true throws exception on unknown algorithm identifier
target?
Section titled “target?”string
name of the target
Returns
Section titled “Returns”T
WebCrypto algorithm or an empty object