Class ProtocolMessageExtensions
Inheritance
System.Object
ProtocolMessageExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Catalyst.Core.Lib.Extensions.Protocol.Wire
Assembly: Catalyst.Core.Lib.dll
Syntax
public static class ProtocolMessageExtensions
Methods
| Improve this Doc View SourceSign(ProtocolMessage, IKeySigner, SigningContext)
Use this to sign a
Declaration
public static ProtocolMessage Sign(this ProtocolMessage protocolMessage, IKeySigner keySigner, SigningContext signingContext)
Parameters
Type | Name | Description |
---|---|---|
ProtocolMessage | protocolMessage | The message that needs to be signed. |
IKeySigner | keySigner | An instance of IKeySigner used to build the signature. |
SigningContext | signingContext | The context used to sign the message. |
Returns
Type | Description |
---|---|
ProtocolMessage |