Function getOIDByAlgorithm

  • Get OID for each specific algorithm

    Throws

    Throws Error exception if unknown WebCrypto algorithm

    Parameters

    • algorithm: Algorithm

      WebCrypto Algorithm

    • Optional safety: boolean

      if true throws exception on unknown algorithm

    • Optional target: string

      name of the target

    Returns string

Generated using TypeDoc