Class OwlKeyConfirmation

java.lang.Object
org.bouncycastle.crypto.agreement.owl.OwlKeyConfirmation

public class OwlKeyConfirmation extends Object
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 Details

    • OwlKeyConfirmation

      public OwlKeyConfirmation(String id, BigInteger magTag)
      Constructor of OwlKeyConfirmation
      Parameters:
      id - The identity of the sender
      magTag - The key confirmation string
  • Method Details

    • getId

      public String getId()
      Get the identity of the sender
      Returns:
      The identity of the sender
    • getMacTag

      public BigInteger getMacTag()
      Get the MAC tag which serves as a key confirmation string
      Returns:
      The MAC tag