Creates an instance of EphemeralPublicKey using the provided public key. This constructor ensures that only supported signature types are accepted.
The public key to be used for the ephemeral public key.
Serializes the current instance, specifically handling the Ed25519 signature type. This function ensures that the signature is properly serialized using the provided serializer.
The serializer instance used to serialize the signature.
Verifies a signed message using the ephemeral public key.
The arguments for the verification.
The message that was signed.
The signature that was signed by the private key of the ephemeral public key.
true if the signature is valid, otherwise false.
Static
deserializeDeserializes an EphemeralSignature from the provided deserializer. This function allows you to retrieve an EphemeralSignature based on the deserialized data.
The deserializer instance used to read the serialized data.
Static
isDetermines if the provided public key is an instance of EphemeralPublicKey
.
The public key to check.
A boolean indicating whether the public key is an ephemeral type.
Represents ephemeral public keys for Aptos Keyless accounts.
These keys are used only temporarily within Keyless accounts and are not utilized as public keys for account identification.