Vana SDK - v0.1.0
    Preparing search index...

    Function generatePGPKeyPair

    • Generate a new PGP key pair with platform-appropriate configuration

      Parameters

      • platformAdapter: VanaPlatformAdapter

        The platform adapter for crypto operations

      • Optionaloptions: { name?: string; email?: string; passphrase?: string }

        Key generation options

        • Optionalname?: string

          The name for the PGP key

        • Optionalemail?: string

          The email for the PGP key

        • Optionalpassphrase?: string

          Optional passphrase to protect the private key

      Returns Promise<{ publicKey: string; privateKey: string }>

      Promise resolving to public and private key pair