Method | Description | |
---|---|---|
Sign ( byte data ) : byte[] |
Signs the specified data.
|
|
VerifySignature ( byte data, byte signature ) : bool |
Verifies the signature.
|
Method | Description | |
---|---|---|
HostAlgorithm ( string name ) |
Initializes a new instance of the HostAlgorithm class.
|
protected HostAlgorithm ( string name ) | ||
name | string | The host key name. |
public abstract Sign ( byte data ) : byte[] | ||
data | byte | The data. |
return | byte[] |
public abstract VerifySignature ( byte data, byte signature ) : bool | ||
data | byte | The data. |
signature | byte | The signature. |
return | bool |