Class MegolmEncryptedContent

    • Field Detail

      • ciphertext

        private String ciphertext
        Required. The encrypted content of the event. The encrypted payload itself.
    • Constructor Detail

      • MegolmEncryptedContent

        public MegolmEncryptedContent()
    • Method Detail

      • getCiphertext

        public String getCiphertext()
      • setCiphertext

        public void setCiphertext​(String ciphertext)
      • getAlgorithm

        public String getAlgorithm()
        Description copied from class: RoomEncryptedContent
        Required. The encryption algorithm used to encrypt this event. The value of this field determines which other properties will be present. One of: ["m.olm.v1.curve25519-aes-sha2", "m.megolm.v1.aes-sha2"].
        Specified by:
        getAlgorithm in class RoomEncryptedContent
        Returns:
        algorithm.