Class ChannelCryptoDto
Public crypto metadata for a channel — enough for a client to derive its join credential from a passphrase. Never includes the wrapped room key.
public record ChannelCryptoDto : IEquatable<ChannelCryptoDto>
- Inheritance
-
ChannelCryptoDto
- Implements
- Inherited Members
Constructors
ChannelCryptoDto(ChannelCryptoDto)
protected ChannelCryptoDto(ChannelCryptoDto original)
Parameters
originalChannelCryptoDto
ChannelCryptoDto(bool, string?)
Public crypto metadata for a channel — enough for a client to derive its join credential from a passphrase. Never includes the wrapped room key.
public ChannelCryptoDto(bool IsEncrypted, string? EncryptionSalt)
Parameters
Properties
EncryptionSalt
public string? EncryptionSalt { get; init; }
Property Value
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
IsEncrypted
public bool IsEncrypted { get; init; }
Property Value
Methods
Deconstruct(out bool, out string?)
public void Deconstruct(out bool IsEncrypted, out string? EncryptionSalt)
Parameters
Equals(ChannelCryptoDto?)
public virtual bool Equals(ChannelCryptoDto? other)
Parameters
otherChannelCryptoDto
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(ChannelCryptoDto?, ChannelCryptoDto?)
public static bool operator ==(ChannelCryptoDto? left, ChannelCryptoDto? right)
Parameters
leftChannelCryptoDtorightChannelCryptoDto
Returns
operator !=(ChannelCryptoDto?, ChannelCryptoDto?)
public static bool operator !=(ChannelCryptoDto? left, ChannelCryptoDto? right)
Parameters
leftChannelCryptoDtorightChannelCryptoDto