iya-sts
    Preparing search index...

    Variable pskcDecrypt

    pskcDecrypt: (algorithmUri: any, key: any, cipherValue: any) => any = pskcDecrypt

    Type Declaration

      • (algorithmUri: any, key: any, cipherValue: any): any
      • Decrypts one PSKC encrypted value (RFC 6030 section 6.1): IV-prefixed AES-CBC with XML Encryption's padding, or AES Key Wrap.

        Parameters

        • algorithmUri: any

          the EncryptionMethod's Algorithm

        • key: any

          the decryption key

        • cipherValue: any

          the CipherValue's bytes

        Returns any

        the plaintext

        Error naming what was wrong (never the key)