메소드 | 설명 | |
---|---|---|
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 | |
리턴 |
public static FindByName ( string name ) : |
||
name | string | |
리턴 |
public abstract IsValidKeyPair ( byte privateKey, byte publicKey ) : bool | ||
privateKey | byte | private key |
publicKey | byte | public key |
리턴 | 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 |
리턴 | bool |
public abstract Verify ( byte publicKey, byte signature, byte data ) : bool | ||
publicKey | byte | public key |
signature | byte | signature to verify |
data | byte | data |
리턴 | bool |