@silencelaboratories/walletprovider-sdk
    Preparing search index...

    Class EphKeyClaim

    The EphKeyClaim object represents the public claim of the ephemeral key.

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    ephId: string
    ephPK: string
    expiry: number

    Methods

    • Helper method to generate ephemeral keypair and its claim. This uses the generated public key as the ephemeral key ID.

      Parameters

      • algSign: EphKeySignAlgorithm

        Signature algorithm

      • OptionalexpiryInSecs: number

        Expiry date of the ephemeral key in seconds. Default is 1 hour

      Returns { ephClaim: EphKeyClaim; privKey: Uint8Array; pubKey: Uint8Array }

      keypair of ephemeral key and its claim