AptosSecp256k1AnySignature class
Represents a Secp256k1 Any signature for Aptos account authentication.
- Inheritance
- 
    - Object
- BcsSerialization
- BcsVariantSerialization
- AptosAnySignature
- AptosSecp256k1AnySignature
 
Constructors
- 
          AptosSecp256k1AnySignature(List<int> signature)
- 
          
            factory
- 
          AptosSecp256k1AnySignature.fromStruct(Map<String, dynamic> json)
- 
          
            factory
Properties
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- serializableType → BcsSerializableType
- 
  Specifies that this class represents a varianttype.no setterinherited
- 
  signature
  → List<int> 
- 
  The Secp256k1 signature bytes.
  final
- type → AptosAnySignatures
- 
  The type of the signature (e.g., Ed25519, Secp256k1).
  finalinherited
- variantName → String
- 
  Returns the name of the variant (used as the key during serialization).
  no setterinherited
Methods
- 
  createLayout({String? property}) → Layout< Map< String, dynamic> >
- 
  Creates a layout structure for serialization.
  override
- 
  createVariantLayout({String? property}) → Layout< Map< String, dynamic> >
- 
  Creates a layout structure specifically for variants.
  inherited
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  signatureBytes() → List< int> 
- 
  Abstract method to retrieve the signature as a list of bytes.
  override
- 
  toBcs({String? property}) → List< int> 
- 
  Serializes the object to BCS format (List of bytes).
  inherited
- 
  toBcsBase64() → String 
- 
  Converts the BCS-encoded bytes to a Base64 string.
  inherited
- 
  toBcsHex() → String 
- 
  Converts the BCS-encoded bytes to a hexadecimal string.
  inherited
- 
  toBytes() → List< int> 
- 
  get bcs serialized of signature.
  inherited
- 
  toJson() → Map< String, dynamic> 
- 
  Converts the variant structure to a JSON-compatible Map.
  inherited
- 
  toLayoutStruct() → Map< String, dynamic> 
- 
  Converts the current object to a layout-friendly structure (Map format).
  override
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
- 
  toVariantBcs({String? property}) → List< int> 
- 
  Serializes the variant into BCS format (List of bytes).
  inherited
- 
  toVariantBcsBase64() → String 
- 
  Converts the serialized variant into a Base64 string.
  inherited
- 
  toVariantBcsHex() → String 
- 
  Converts the serialized variant into a hexadecimal string.
  inherited
- 
  toVariantLayoutStruct() → Map< String, dynamic> 
- 
  Converts the variant to a layout-friendly structure with the variant name as the key.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited