Méthode | Description | |
---|---|---|
Sign ( byte data ) : byte[] |
Signs the specified data.
|
|
VerifySignature ( byte data, byte signature ) : bool |
Verifies the signature.
|
Méthode | 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. |
Résultat | byte[] |
public abstract VerifySignature ( byte data, byte signature ) : bool | ||
data | byte | The data. |
signature | byte | The signature. |
Résultat | bool |