iya-sts
    Preparing search index...

    Variable pkinitOctetString2Key

    pkinitOctetString2Key: (
        etype: any,
        x: any,
    ) => { etype: number; key: Uint8Array<any> } = pkinitOctetString2Key

    Type Declaration

      • (etype: any, x: any): { etype: number; key: Uint8Array<any> }
      • RFC 4556 section 3.2.3.1's octetstring2key(): the SHA-1 of a counter octet and the input, in counter mode, truncated to the enctype's key length, as the AS reply key.

        Parameters

        • etype: any

          the reply key's enctype

        • x: any

          DHSharedSecret, with n_c and n_k when DH keys are reused

        Returns { etype: number; key: Uint8Array<any> }

        { etype, key }