Interface RawContentVerifier

  • All Implemented Interfaces:

    
    public interface RawContentVerifier
    
                        

    Interface for ContentVerifiers that also support raw signatures that can be verified using the digest of the calculated data.

    • 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 boolean verify(Array<byte> digest, Array<byte> expected) Verify that the expected signature value was derived from the passed in digest.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • verify

         abstract boolean verify(Array<byte> digest, Array<byte> expected)

        Verify that the expected signature value was derived from the passed in digest.

        Parameters:
        digest - digest calculated from the content.
        expected - expected value of the signature
        Returns:

        true if the expected signature is derived from the digest, false otherwise.