iya-sts
    Preparing search index...

    Variable scepContentEncrypt

    scepContentEncrypt: (cipher: any, key: any, iv: any, plaintext: any) => any = scepContentEncrypt

    Type Declaration

      • (cipher: any, key: any, iv: any, plaintext: any): any
      • Encrypts a SCEP envelope's content (an EnvelopedData's encryptedContent), with CBC's PKCS#7 padding.

        Parameters

        • cipher: any

          one of SCEP_CONTENT_CIPHERS

        • key: any

          the content-encryption key

        • iv: any

          the sixteen-byte IV

        • plaintext: any

          the content

        Returns any

        the ciphertext

        Error for a cipher outside the list, or what node throws