Skip to content
PKIjsPKIjsPKIjsv4.0.1

getOIDByAlgorithm

getOIDByAlgorithm(algorithm, safety?, target?): string

Get OID for each specific algorithm

Algorithm

WebCrypto Algorithm

boolean

if true throws exception on unknown algorithm

string

name of the target

string

Throws Error exception if unknown WebCrypto algorithm