Package org.bouncycastle.crypto
Class Commitment
- java.lang.Object
-
- org.bouncycastle.crypto.Commitment
-
public class Commitment extends java.lang.Object
General holding class for a commitment.
-
-
Constructor Summary
Constructors Constructor Description Commitment(byte[] secret, byte[] commitment)
Base constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getCommitment()
The sealed commitment.byte[]
getSecret()
The secret required to reveal the commitment.
-