Class OlmEncryptedContent

    • Field Detail

      • ciphertext

        private Map<String,​CiphertextInfo> ciphertext
        Required. The encrypted content of the event. A map from the recipient Curve25519 identity key to ciphertext information. For more details, see Messaging Algorithms.
    • Constructor Detail

      • OlmEncryptedContent

        public OlmEncryptedContent()
    • Method Detail

      • 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.