|
Bouncy Castle Cryptography Library 1.79 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.bouncycastle.pqc.crypto.ExchangePair
Pair for a value exchange algorithm where the responding party has no private key, such as NewHope.
Constructor Summary | |
ExchangePair(AsymmetricKeyParameter publicKey,
byte[] shared)
Base constructor. |
Method Summary | |
AsymmetricKeyParameter |
getPublicKey()
Return the responding party's public key. |
byte[] |
getSharedValue()
Return the shared value calculated with public key. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ExchangePair(AsymmetricKeyParameter publicKey, byte[] shared)
publicKey
- The responding party's public key.shared
- the calculated shared value.Method Detail |
public AsymmetricKeyParameter getPublicKey()
public byte[] getSharedValue()
|
Bouncy Castle Cryptography Library 1.79 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |