C# Class Granados.PKI.EDDSAPublicKey

EDDSA public key
Inheritance: PublicKey
Afficher le fichier Open project: poderosaproject/poderosa Class Usage Examples

Méthodes publiques

Méthode Description
EDDSAPublicKey ( EdwardsCurve curve, byte publicKey ) : System

Constructor

Verify ( byte signature, byte data ) : void

Verifies signature with this public key

WriteTo ( IKeyWriter writer ) : void

Private Methods

Méthode Description
ReadFrom ( PublicKeyAlgorithm algorithm, Granados.IO.SSH2.SSH2DataReader reader ) : EDDSAPublicKey

Method Details

EDDSAPublicKey() public méthode

Constructor
public EDDSAPublicKey ( EdwardsCurve curve, byte publicKey ) : System
curve EdwardsCurve curve
publicKey byte public key
Résultat System

Verify() public méthode

Verifies signature with this public key
verification failure
public Verify ( byte signature, byte data ) : void
signature byte signature
data byte data
Résultat void

WriteTo() public méthode

public WriteTo ( IKeyWriter writer ) : void
writer IKeyWriter
Résultat void