Class KeyVerificationMacContent

  • All Implemented Interfaces:
    EventContent

    public class KeyVerificationMacContent
    extends Object
    implements EventContent
    Sends the MAC of a device's key to the partner device. Typically sent as a to-device event.
    • Field Detail

      • transactionId

        private String transactionId
        Required. An opaque identifier for the verification process. Must be the same as the one used for the m.key.verification.start message.
      • mac

        private Map<String,​String> mac
        Required. A map of the key ID to the MAC of the key, using the algorithm in the verification process. The MAC is encoded as unpadded base64.
      • keys

        private String keys
        Required. The MAC of the comma-separated, sorted, list of key IDs given in the mac property, encoded as unpadded base64.
    • Constructor Detail

      • KeyVerificationMacContent

        public KeyVerificationMacContent()
    • Method Detail

      • getTransactionId

        public String getTransactionId()
      • setTransactionId

        public void setTransactionId​(String transactionId)
      • getKeys

        public String getKeys()
      • setKeys

        public void setKeys​(String keys)