org.testifyproject.bouncycastle.crypto.Committer Maven / Gradle / Ivy
The newest version!
package org.testifyproject.bouncycastle.crypto;
/**
* General interface fdr classes that produce and validate org.testifyproject.testifyprojectmitments.
*/
public interface Committer
{
/**
* Generate a org.testifyproject.testifyprojectmitment for the passed in message.
*
* @param message the message to be org.testifyproject.testifyprojectmitted to,
* @return a Commitment
*/
Commitment org.testifyproject.testifyprojectmit(byte[] message);
/**
* Return true if the passed in org.testifyproject.testifyprojectmitment represents a org.testifyproject.testifyprojectmitment to the passed in maessage.
*
* @param org.testifyproject.testifyprojectmitment a org.testifyproject.testifyprojectmitment previously generated.
* @param message the message that was expected to have been org.testifyproject.testifyprojectmitted to.
* @return true if org.testifyproject.testifyprojectmitment matches message, false otherwise.
*/
boolean isRevealed(Commitment org.testifyproject.testifyprojectmitment, byte[] message);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy