|
Bouncy Castle Cryptography Library 1.77.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.bouncycastle.crypto.Commitment
General holding class for a commitment.
Constructor Summary | |
Commitment(byte[] secret,
byte[] commitment)
Base constructor. |
Method Summary | |
byte[] |
getCommitment()
The sealed commitment. |
byte[] |
getSecret()
The secret required to reveal the commitment. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Commitment(byte[] secret, byte[] commitment)
secret
- an encoding of the secret required to reveal the commitment.commitment
- an encoding of the sealed commitment.Method Detail |
public byte[] getSecret()
public byte[] getCommitment()
|
Bouncy Castle Cryptography Library 1.77.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |