Class Ed25519Signer

  • All Implemented Interfaces:
    web5.sdk.crypto.signers.Signer

    
    public final class Ed25519Signer
     implements Signer
                        

    Implementation of Signer for Ed25519.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      Ed25519Signer(Jwk privateJwk)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      ByteArray sign(ByteArray payload) Implementation of Signer's sign instance method for Ed25519.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Ed25519Signer

        Ed25519Signer(Jwk privateJwk)
    • Method Detail

      • sign

         ByteArray sign(ByteArray payload)

        Implementation of Signer's sign instance method for Ed25519.

        Parameters:
        payload - the data to be signed.
        Returns:

        ByteArray the signature.