Optional
blinder?: HexInputOptional
expiryReadonly
blinderA byte array of length BLINDER_LENGTH used to obfuscate the public key from the IdP. Used in calculating the nonce passed to the IdP and as a secret witness in proof generation.
Readonly
expiryA timestamp in seconds indicating when the ephemeral key pair is expired. After expiry, a new EphemeralKeyPair must be generated and a new JWT needs to be created.
Readonly
nonceThe value passed to the IdP when the user authenticates. It comprises of a hash of the ephermeral public key, expiry date, and blinder.
Static
Readonly
BLINDER_Returns the public key of the key pair.
EphemeralPublicKey
Sign the given message with the private key.
in HexInput format
EphemeralSignature
Static
deserializeStatic
fromStatic
generateReturns the public key of the key pair.
boolean
A class which contains a key pair that is used in signing transactions via the Keyless authentication scheme. This key pair is ephemeral and has an expiration time. For more details on how this class is used - https://aptos.dev/guides/keyless-accounts/#1-present-the-user-with-a-sign-in-with-idp-button-on-the-ui