Class RekeyChannelRequest
Passphrase change for an encrypted channel: the client proves knowledge of the old passphrase (old auth key), then supplies the re-wrapped room key under the new one.
public record RekeyChannelRequest : IEquatable<RekeyChannelRequest>
- Inheritance
-
RekeyChannelRequest
- Implements
- Inherited Members
Constructors
RekeyChannelRequest(RekeyChannelRequest)
protected RekeyChannelRequest(RekeyChannelRequest original)
Parameters
originalRekeyChannelRequest
RekeyChannelRequest(string, string, string, string)
Passphrase change for an encrypted channel: the client proves knowledge of the old passphrase (old auth key), then supplies the re-wrapped room key under the new one.
public RekeyChannelRequest(string OldPassword, string NewPassword, string NewEncryptionSalt, string NewWrappedRoomKey)
Parameters
Properties
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
NewEncryptionSalt
public string NewEncryptionSalt { get; init; }
Property Value
NewPassword
public string NewPassword { get; init; }
Property Value
NewWrappedRoomKey
public string NewWrappedRoomKey { get; init; }
Property Value
OldPassword
public string OldPassword { get; init; }
Property Value
Methods
Deconstruct(out string, out string, out string, out string)
public void Deconstruct(out string OldPassword, out string NewPassword, out string NewEncryptionSalt, out string NewWrappedRoomKey)
Parameters
Equals(RekeyChannelRequest?)
public virtual bool Equals(RekeyChannelRequest? other)
Parameters
otherRekeyChannelRequest
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 ==(RekeyChannelRequest?, RekeyChannelRequest?)
public static bool operator ==(RekeyChannelRequest? left, RekeyChannelRequest? right)
Parameters
leftRekeyChannelRequestrightRekeyChannelRequest
Returns
operator !=(RekeyChannelRequest?, RekeyChannelRequest?)
public static bool operator !=(RekeyChannelRequest? left, RekeyChannelRequest? right)
Parameters
leftRekeyChannelRequestrightRekeyChannelRequest