Show / Hide Table of Contents

    Interface IKeySigner

    Namespace: Catalyst.Abstractions.KeySigner
    Assembly: Catalyst.Abstractions.dll
    Syntax
    public interface IKeySigner

    Properties

    | Improve this Doc View Source

    CryptoContext

    Takes the crypto library implementation the nodes using.

    Declaration
    ICryptoContext CryptoContext { get; }
    Property Value
    Type Description
    ICryptoContext
    | Improve this Doc View Source

    KeyStore

    Takes a KeyStore implementation to support both local and remote KeyStores'.

    Declaration
    IKeyStore KeyStore { get; }
    Property Value
    Type Description
    IKeyStore

    Methods

    | Improve this Doc View Source

    Sign(Byte[], SigningContext)

    Declaration
    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)

    Verifies a message signature.

    Declaration
    bool Verify(ISignature signature, byte[] message, SigningContext signingContext)
    Parameters
    Type Name Description
    ISignature signature
    System.Byte[] message
    SigningContext signingContext
    Returns
    Type Description
    System.Boolean
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Catalyst Network