Module io.github.mmm.crypto
Interface SignatureWithPublicKeyRecovery
-
- All Superinterfaces:
Binary
,Streamable
- All Known Implementing Classes:
SignatureEcBcWithRecoveryId
public interface SignatureWithPublicKeyRecovery extends Binary
Interface forSignatureBinary
that allows torecover public key
.- Since:
- 1.0.0
-
-
Field Summary
-
Fields inherited from interface io.github.mmm.binary.Binary
EMPTY_BYTE_ARRAY
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PublicKey
recoverPublicKey(byte[] message)
-
Methods inherited from interface io.github.mmm.binary.Binary
format, formatBase64, formatHex, getData, getData, getDataByte, getLength, isZeros
-
Methods inherited from interface io.github.mmm.binary.Streamable
asStream, save
-
-
-
-
Method Detail
-
recoverPublicKey
PublicKey recoverPublicKey(byte[] message)
- Parameters:
message
- the payload (typically hash of message) that was signed when this signature was created.- Returns:
- the recovered public key.
-
-