org.sigilaris.core.application.security.SignatureVerifier
Utilities for recovering signer keys from signed transactions and verifying key ownership against registered accounts.
Attributes
-
Source
-
SignatureVerifier.scala
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
-
Self type
-
Members list
Recover the 20-byte key identifier from a signed transaction's signature.
Recover the 20-byte key identifier from a signed transaction's signature.
Type parameters
-
F
-
the effect type
-
T
-
the transaction type
Value parameters
-
context
-
optional context string included in error messages on failure
-
signedTx
-
the signed transaction to recover from
Attributes
-
Returns
-
the recovered KeyId20, or raises a CryptoFailure
-
Source
-
SignatureVerifier.scala
Verify that the recovered key belongs to the claimed signer and is not expired.
Verify that the recovered key belongs to the claimed signer and is not expired.
Attributes
-
Source
-
SignatureVerifier.scala
Recover the signer key and verify ownership in a single step.