C# Class Library.Security.Rsa2048_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