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, io.aether.utils.ToString

public class SodiumSigner extends Object implements io.aether.crypto.Signer
  • Constructor Summary

    Constructors
    Constructor
    Description
    SodiumSigner(io.aether.crypto.AKey.SignPublic publicKey, io.aether.crypto.AKey.SignPrivate privateKey)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    checkSign(byte[] data, io.aether.crypto.Sign sign)
     
    io.aether.crypto.CryptoProvider
     
     
    io.aether.crypto.AKey.SignPublic
     
    io.aether.crypto.Sign
    sign(byte[] data)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.aether.crypto.Signer

    sign

    Methods inherited from interface io.aether.utils.ToString

    toString, toString2
  • 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:
      sign in interface io.aether.crypto.Signer
    • checkSign

      public boolean checkSign(byte[] data, io.aether.crypto.Sign sign)
      Specified by:
      checkSign in interface io.aether.crypto.SignChecker
    • getPublicKey

      public io.aether.crypto.AKey.SignPublic getPublicKey()
      Specified by:
      getPublicKey in interface io.aether.crypto.SignChecker
    • getProviderName

      public String getProviderName()
      Specified by:
      getProviderName in interface io.aether.crypto.CryptoProviderUnit
    • getCryptoProvider

      public io.aether.crypto.CryptoProvider getCryptoProvider()
      Specified by:
      getCryptoProvider in interface io.aether.crypto.CryptoProviderUnit