namespace Renci.SshNet.Security.Cryptography { /// /// Base class for signature implementations /// public abstract class DigitalSignature { /// /// Verifies the signature. /// /// The input. /// The signature. /// True if signature was successfully verified; otherwise false. public abstract bool Verify(byte[] input, byte[] signature); /// /// Creates the signature. /// /// The input. /// Signed input data. public abstract byte[] Sign(byte[] input); } }