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

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

    Constructors
    Constructor
    Description
    HydrogenSigner(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.CryptoProviderUnit

    getProviderName

    Methods inherited from interface io.aether.crypto.Signer

    sign

    Methods 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:
      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
    • getCryptoProvider

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