aptos/src/account/authenticator/authenticator library
Classes
- AptosAccountAuthenticator
- Base class for Aptos account authenticators, representing different authentication types.
- AptosAccountAuthenticatorEd25519
- Authenticator for Aptos accounts using the Ed25519 signature scheme.
- AptosAccountAuthenticatorMultiEd25519
- Class representing an Aptos account authenticator for MultiEd25519 signature.
- AptosAccountAuthenticatorMultiKey
- Class representing a MultiKey account authenticator for Aptos.
- AptosAccountAuthenticatorNoAccountAuthenticator
- Class representing an account authenticator with no specific account authenticator.
- AptosAccountAuthenticatorSingleKey
- Class representing a SingleKey account authenticator for Aptos.
- AptosAnySignature
- Abstract class representing any type of Aptos signature.
- AptosEd25519AnySignature
- Represents an Ed25519 Any signature for Aptos account authentication.
- AptosEd25519Signature
- Represents an Ed25519 signature for Aptos account authentication.
- AptosMultiEd25519Signature
-
Vector of the multi-key signatures along with a 32bit
u8; 4
bitmap required to map signatures with their corresponding public keys. - AptosMultiKeySignature
- Class representing a MultiKey signature for Aptos.
- AptosSecp256k1AnySignature
- Represents a Secp256k1 Any signature for Aptos account authentication.
- AptosSignature
Enums
- AptosAccountAuthenticators
-
An
AccountAuthenticator
is an abstraction of a signature scheme. It must know: (1) How to check its signature against a message and public key (2) How to convert its public key into anAuthenticationKeyPreimage
structured as (public_key | signature_scheme_id). Each on-chainAccount
must store anAuthenticationKey
(computed via a sha3 hash of(public key bytes | scheme as u8)
). - AptosAnySignatures
- Enum representing different types of signatures supported by Aptos.