ic-reactor
    Preparing search index...

    Function wrapDER

    • Wraps the given payload in a DER encoding tagged with the given encoded oid like so: SEQUENCE(oid, BITSTRING(payload))

      Parameters

      • payload: Uint8Array

        The payload to encode as the bit string

      • oid: Uint8Array

        The DER encoded (and SEQUENCE wrapped!) OID to tag the payload with

      Returns Uint8Array