SignatureAlg
Represents different signature algorithms.
- Full name:
\Bloock\Entity\Authenticity\SignatureAlg
Constants
Constant | Visibility | Type | Value |
---|---|---|---|
ECDSA | public | "ECDSA" | |
ENS | public | "ENS" | |
BJJ | public | "BJJ" | |
UNRECOGNIZED | public | "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:
Parameter | Type | Description |
---|---|---|
$alg | string |
fromProto
public static fromProto(\Bloock\SignerAlg $alg): string
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$alg | \Bloock\SignerAlg |
Automatically generated on 2024-04-02