Class HydrogenSigner
java.lang.Object
io.aether.crypto.hydrogen.HydrogenSigner
- All Implemented Interfaces:
io.aether.crypto.CryptoProviderUnit, io.aether.crypto.SignChecker, io.aether.crypto.Signer, io.aether.utils.ToString
-
Constructor Summary
ConstructorsConstructorDescriptionHydrogenSigner(io.aether.crypto.AKey.SignPublic publicKey, io.aether.crypto.AKey.SignPrivate privateKey) -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.aether.crypto.CryptoProviderUnit
getProviderNameMethods inherited from interface io.aether.crypto.Signer
signMethods inherited from interface io.aether.utils.ToString
toAString, toString2
-
Constructor Details
-
HydrogenSigner
public HydrogenSigner(io.aether.crypto.AKey.SignPublic publicKey, io.aether.crypto.AKey.SignPrivate privateKey)
-
-
Method Details
-
sign
public io.aether.crypto.Sign sign(byte[] data) - Specified by:
signin interfaceio.aether.crypto.Signer
-
checkSign
public boolean checkSign(byte[] data, io.aether.crypto.Sign sign) - Specified by:
checkSignin interfaceio.aether.crypto.SignChecker
-
getPublicKey
public io.aether.crypto.AKey.SignPublic getPublicKey()- Specified by:
getPublicKeyin interfaceio.aether.crypto.SignChecker
-
getCryptoProvider
public io.aether.crypto.CryptoProvider getCryptoProvider()- Specified by:
getCryptoProviderin interfaceio.aether.crypto.CryptoProviderUnit
-