Method | Description | |
---|---|---|
FindByAlgorithm ( PublicKeyAlgorithm algorithm ) : |
||
FindByName ( string name ) : |
||
IsValidKeyPair ( byte privateKey, byte publicKey ) : bool |
Checks validity of the key pair.
|
|
Sign ( byte privateKey, byte data, byte &signature ) : bool |
Sign
|
|
Verify ( byte publicKey, byte signature, byte data ) : bool |
Verify
|
public static FindByAlgorithm ( PublicKeyAlgorithm algorithm ) : |
||
algorithm | PublicKeyAlgorithm | |
return |
public static FindByName ( string name ) : |
||
name | string | |
return |
public abstract IsValidKeyPair ( byte privateKey, byte publicKey ) : bool | ||
privateKey | byte | private key |
publicKey | byte | public key |
return | bool |
public abstract Sign ( byte privateKey, byte data, byte &signature ) : bool | ||
privateKey | byte | private key |
data | byte | data to be signed |
signature | byte | signature returned |
return | bool |
public abstract Verify ( byte publicKey, byte signature, byte data ) : bool | ||
publicKey | byte | public key |
signature | byte | signature to verify |
data | byte | data |
return | bool |