iya-sts
    Preparing search index...

    Variable generateKeyPairSync

    generateKeyPairSync: (type: any, options: any) => any = generateKeyPairSync

    Type Declaration

      • (type: any, options: any): any
      • Generates a key pair synchronously.

        Parameters

        • type: any

          one of KEY_PAIR_TYPES

        • options: any

          node's options for that type (modulusLength, namedCurve, publicKeyEncoding, privateKeyEncoding, ...)

        Returns any

        { publicKey, privateKey }, KeyObjects or encoded as the options ask