Skip to main content

SignatureAlg

Represents different signature algorithms.

  • Full name: \Bloock\Entity\Authenticity\SignatureAlg

Constants

ConstantVisibilityTypeValue
ECDSApublic"ECDSA"
ENSpublic"ENS"
BJJpublic"BJJ"
UNRECOGNIZEDpublic"UNRECOGNIZED"

Methods

fromString

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

public static fromString(string $alg): string
  • This method is static.

Parameters:

ParameterTypeDescription
$algstring

fromProto

public static fromProto(\Bloock\SignerAlg $alg): string
  • This method is static.

Parameters:

ParameterTypeDescription
$alg\Bloock\SignerAlg


Automatically generated on 2024-04-02