메소드 | 설명 | |
---|---|---|
CreateKeys ( byte &publicKey, byte &privateKey ) : void |
公開鍵と秘密鍵を作成して返す
|
|
Sign ( byte privateKey, Stream stream ) : byte[] | ||
Verify ( byte publicKey, byte signature, Stream stream ) : bool |
public static CreateKeys ( byte &publicKey, byte &privateKey ) : void | ||
publicKey | byte | 作成された公開鍵 |
privateKey | byte | 作成された秘密鍵 |
리턴 | void |
public static Sign ( byte privateKey, Stream stream ) : byte[] | ||
privateKey | byte | |
stream | Stream | |
리턴 | byte[] |
public static Verify ( byte publicKey, byte signature, Stream stream ) : bool | ||
publicKey | byte | |
signature | byte | |
stream | Stream | |
리턴 | bool |