Class OwlKeyConfirmation
java.lang.Object
org.bouncycastle.crypto.agreement.owl.OwlKeyConfirmation
The payload sent/received during the explicit key confirmation stage of the protocol,
Both OwlClient and OwlServer create and send an instance
of this payload to the other.
The payload to send should be created via
OwlClient.initiateKeyConfirmation(BigInteger)
or OwlServer.initiateKeyConfirmation(BigInteger).
Both OwlClient and OwlServer must also validate the payload
received from the other.
The received payload should be validated via
OwlClient.validateKeyConfirmation(OwlKeyConfirmation, BigInteger)
OwlServer.validateKeyConfirmation(OwlKeyConfirmation, BigInteger)
-
Constructor Summary
ConstructorsConstructorDescriptionOwlKeyConfirmation(String id, BigInteger magTag) Constructor of OwlKeyConfirmation -
Method Summary
Modifier and TypeMethodDescriptiongetId()Get the identity of the senderGet the MAC tag which serves as a key confirmation string
-
Constructor Details
-
OwlKeyConfirmation
Constructor of OwlKeyConfirmation- Parameters:
id- The identity of the sendermagTag- The key confirmation string
-
-
Method Details
-
getId
-
getMacTag
Get the MAC tag which serves as a key confirmation string- Returns:
- The MAC tag
-