SasAcceptEventContent

@Serializable
data class SasAcceptEventContent(val commitment: String, val hash: SasHash, val keyAgreementProtocol: SasKeyAgreementProtocol, val messageAuthenticationCode: SasMessageAuthenticationCode, val shortAuthenticationString: Set<SasMethod>, val relatesTo: RelatesTo.Reference?, val transactionId: String?) : VerificationStep

See also

Constructors

Link copied to clipboard
constructor(commitment: String, hash: SasHash, keyAgreementProtocol: SasKeyAgreementProtocol, messageAuthenticationCode: SasMessageAuthenticationCode, shortAuthenticationString: Set<SasMethod>, relatesTo: RelatesTo.Reference?, transactionId: String?)

Properties

Link copied to clipboard
@SerialName(value = "commitment")
val commitment: String
Link copied to clipboard
open override val externalUrl: String? = null
Link copied to clipboard
@SerialName(value = "hash")
val hash: SasHash
Link copied to clipboard
@SerialName(value = "key_agreement_protocol")
val keyAgreementProtocol: SasKeyAgreementProtocol
Link copied to clipboard
open override val mentions: Mentions? = null
Link copied to clipboard
@SerialName(value = "message_authentication_code")
val messageAuthenticationCode: SasMessageAuthenticationCode
Link copied to clipboard
@SerialName(value = "m.relates_to")
open override val relatesTo: RelatesTo.Reference?
Link copied to clipboard
@SerialName(value = "short_authentication_string")
val shortAuthenticationString: Set<SasMethod>
Link copied to clipboard
@SerialName(value = "transaction_id")
open override val transactionId: String?

Functions

Link copied to clipboard
open override fun copyWith(relatesTo: RelatesTo?): SasAcceptEventContent

This should return the same instance, but with the relatesTo property set to the given value. It is used for event content replacing.