Skip to main content

entity.authenticity.signature_alg

SignatureAlg Objects

class SignatureAlg(Enum)

Represents different signature algorithms.

ECDSA

Represents the ECDSA signature algorithm with the "ES256K" name.

ENS

Represents the ENS (Ethereum Name Service) signature algorithm.

BJJ

Represents the BJJ signature algorithm with the "BJJ" name.

UNRECOGNIZED

Represents an unrecognized signature algorithm.

from_str

@staticmethod
def from_str(alg: str) -> SignatureAlg

Converts a string representation of an algorithm to the corresponding SignatureAlg enum.