Interface EncodableDigest

  • All Implemented Interfaces:

    
    public interface EncodableDigest
    
                        

    Encodable digests allow you to download an encoded copy of their internal state. This is useful for the situation where you need to generate a signature on an external device and it allows for "sign with last round", so a copy of the internal state of the digest, plus the last few blocks of the message are all that needs to be sent, rather than the entire message.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Array<byte> getEncodedState() Return an encoded byte array for the digest's internal state
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • getEncodedState

         abstract Array<byte> getEncodedState()

        Return an encoded byte array for the digest's internal state

        Returns:

        an encoding of the digests internal state.