Class SignatureEdDSA

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  SignatureEdDSA.Factory  
    • Method Summary

      Modifier and Type Method Description
      byte[] encode​(byte[] signature)
      Encode the signature as blog
      boolean verify​(byte[] sig)
      Verify against the given signature.
      • Methods inherited from class java.lang.Object

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

      • encode

        public byte[] encode​(byte[] signature)
        Description copied from interface: Signature
        Encode the signature as blog
        Parameters:
        signature - the signature to encode
        Returns:
        Encoded signature
      • verify

        public boolean verify​(byte[] sig)
        Description copied from interface: Signature
        Verify against the given signature.
        Parameters:
        sig - the signature to verify against
        Returns:
        true on successful verification, false on failure