Show / Hide Table of Contents

    Class KeySigner

    Inheritance
    System.Object
    KeySigner
    Implements
    IKeySigner
    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 Source

    KeySigner(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 Source

    ExportKey()

    Declaration
    public void ExportKey()
    | Improve this Doc View Source

    Sign(Byte[], SigningContext)

    Declaration
    public ISignature Sign(byte[] data, SigningContext signingContext)
    Parameters
    Type Name Description
    System.Byte[] data
    SigningContext signingContext
    Returns
    Type Description
    ISignature
    | Improve this Doc View Source

    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 Source

    IKeySigner.CryptoContext

    Declaration
    ICryptoContext IKeySigner.CryptoContext { get; }
    Returns
    Type Description
    ICryptoContext
    | Improve this Doc View Source

    IKeySigner.KeyStore

    Declaration
    IKeyStore IKeySigner.KeyStore { get; }
    Returns
    Type Description
    IKeyStore

    Implements

    IKeySigner
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Catalyst Network