Package io.aether.crypto.sodium
Class SodiumSigner
java.lang.Object
io.aether.crypto.sodium.SodiumSigner
- All Implemented Interfaces:
io.aether.crypto.CryptoProviderUnit,io.aether.crypto.SignChecker,io.aether.crypto.Signer
-
Constructor Summary
ConstructorsConstructorDescriptionSodiumSigner(io.aether.crypto.AKey.SignPublic publicKey, io.aether.crypto.AKey.SignPrivate privateKey) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.aether.crypto.Signer
sign
-
Constructor Details
-
SodiumSigner
public SodiumSigner(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
-
getProviderName
- Specified by:
getProviderNamein interfaceio.aether.crypto.CryptoProviderUnit
-
getCryptoProvider
public io.aether.crypto.CryptoProvider getCryptoProvider()- Specified by:
getCryptoProviderin interfaceio.aether.crypto.CryptoProviderUnit
-