iya-sts
    Preparing search index...

    Variable unwrapDek

    unwrapDek: (kek: any, wrapped: any, aad: any) => any = unwrapDek

    Type Declaration

      • (kek: any, wrapped: any, aad: any): any
      • Unwraps a data encryption key wrapDek() wrote.

        Parameters

        • kek: any

          the key-encryption key

        • wrapped: any

          the wrapped form

        • aad: any

          what the wrap was bound to

        Returns any

        the DEK, 32 bytes

        Error for a value that is not a wrapped DEK, the wrong key, or AAD that is not the one it was wrapped with