Class KeySigner
Inheritance
System.Object
KeySigner
Implements
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.Modules.KeySigner
Assembly: Catalyst.Core.Modules.KeySigner.dll
Syntax
public sealed class KeySigner : IKeySigner
Constructors
| Improve this Doc View SourceKeySigner(IKeyStore, ICryptoContext, IKeyRegistry)
Initializes a new instance of the KeySigner class.
Declaration
public KeySigner(IKeyStore keyStore, ICryptoContext cryptoContext, IKeyRegistry keyRegistry)
Parameters
Type | Name | Description |
---|---|---|
IKeyStore | keyStore | The key store. |
ICryptoContext | cryptoContext | The crypto context. |
IKeyRegistry | keyRegistry | The key registry. |
Methods
| Improve this Doc View SourceExportKey()
Declaration
public void ExportKey()
Sign(Byte[], SigningContext)
Declaration
public ISignature Sign(byte[] data, SigningContext signingContext)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | data | |
SigningContext | signingContext |
Returns
Type | Description |
---|---|
ISignature |
Verify(ISignature, Byte[], SigningContext)
Declaration
public bool Verify(ISignature signature, byte[] message, SigningContext signingContext)
Parameters
Type | Name | Description |
---|---|---|
ISignature | signature | |
System.Byte[] | message | |
SigningContext | signingContext |
Returns
Type | Description |
---|---|
System.Boolean |
Explicit Interface Implementations
| Improve this Doc View SourceIKeySigner.CryptoContext
Declaration
ICryptoContext IKeySigner.CryptoContext { get; }
Returns
Type | Description |
---|---|
ICryptoContext |
IKeySigner.KeyStore
Declaration
IKeyStore IKeySigner.KeyStore { get; }
Returns
Type | Description |
---|---|
IKeyStore |