WirePolicy

public enum WirePolicy : UInt8
extension WirePolicy: Sendable
extension WirePolicy: Equatable, Hashable

See [core_crypto::prelude::MlsWirePolicy]

  • Handshake messages are never encrypted

    Declaration

    Swift

    case plaintext = 1
  • Handshake messages are always encrypted

    Declaration

    Swift

    case ciphertext = 2