C# Class Library.Security.EcDsaP521_Sha256

Afficher le fichier Open project: Alliance-Network/Library Class Usage Examples

Méthodes publiques

Méthode Description
CreateKeys ( byte &publicKey, byte &privateKey ) : void

公開鍵と秘密鍵を作成して返す

Sign ( byte privateKey, Stream stream ) : byte[]
Verify ( byte publicKey, byte signature, Stream stream ) : bool

Method Details

CreateKeys() public static méthode

公開鍵と秘密鍵を作成して返す
public static CreateKeys ( byte &publicKey, byte &privateKey ) : void
publicKey byte 作成された公開鍵
privateKey byte 作成された秘密鍵
Résultat void

Sign() public static méthode

public static Sign ( byte privateKey, Stream stream ) : byte[]
privateKey byte
stream Stream
Résultat byte[]

Verify() public static méthode

public static Verify ( byte publicKey, byte signature, Stream stream ) : bool
publicKey byte
signature byte
stream Stream
Résultat bool