Base class for asymmetric cipher algorithms.
public abstract class Key
Inheritance
Gets or sets the key comment.
public string Comment { get; set; }
Property Value
Gets the default digital signature implementation for this key.
protected abstract DigitalSignature DigitalSignature { get; }
Property Value
Gets the length of the key in bits.
public abstract int KeyLength { get; }
Property Value
Gets the public key.
public abstract BigInteger[] Public { get; }
Property Value
Signs the specified data with the key.
public byte[] Sign(byte[] data)
Parameters
data
byte[]
The data to sign.
Signed data.
Verifies the signature.
public bool VerifySignature(byte[] data, byte[] signature)
Parameters
data
byte[]
The data to verify.
signature
byte[]
The signature to verify against.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4