Table of Contents

Class DigitalSignature

Namespace
Renci.SshNet.Security.Cryptography
Assembly
Renci.SshNet.dll

Base class for signature implementations.

public abstract class DigitalSignature

Inheritance

Derived

Inherited Members

Methods

Sign(byte[])

Creates the signature.

public abstract byte[] Sign(byte[] input)

Parameters

input byte[]

The input.

Returns

byte[]

Signed input data.

Verify(byte[], byte[])

Verifies the signature.

public abstract bool Verify(byte[] input, byte[] signature)

Parameters

input byte[]

The input.

signature byte[]

The signature.

Returns

bool

true if signature was successfully verified; otherwise false.