Class KeyVerificationKeyContent

  • All Implemented Interfaces:
    EventContent

    public class KeyVerificationKeyContent
    extends Object
    implements EventContent
    Sends the ephemeral public key for a device 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.
      • key

        private String key
        Required. The device's ephemeral public key, encoded as unpadded base64.
    • Constructor Detail

      • KeyVerificationKeyContent

        public KeyVerificationKeyContent()
    • Method Detail

      • getTransactionId

        public String getTransactionId()
      • setTransactionId

        public void setTransactionId​(String transactionId)
      • getKey

        public String getKey()
      • setKey

        public void setKey​(String key)