C# Class System.Security.Cryptography.DSACryptoServiceProvider.DSACryptoServiceProvider.DSACryptoServiceProvider

Inheritance: DSA
Afficher le fichier Open project: runefs/Marvin

Private Properties

Свойство Type Description
ExportCspBlob byte[]
ImportCspBlob void
OnKeyGenerated void

Méthodes publiques

Méthode Description
CreateSignature ( byte rgbHash ) : byte[]
DSACryptoServiceProvider ( ) : System.IO
DSACryptoServiceProvider ( CspParameters parameters ) : System.IO
DSACryptoServiceProvider ( int dwKeySize ) : System.IO
DSACryptoServiceProvider ( int dwKeySize, CspParameters parameters ) : System.IO
ExportParameters ( bool includePrivateParameters ) : DSAParameters
ImportParameters ( DSAParameters parameters ) : void
SignData ( Stream inputStream ) : byte[]
SignData ( byte buffer ) : byte[]
SignData ( byte buffer, int offset, int count ) : byte[]
SignHash ( byte rgbHash, string str ) : byte[]
VerifyData ( byte rgbData, byte rgbSignature ) : bool
VerifyHash ( byte rgbHash, string str, byte rgbSignature ) : bool
VerifySignature ( byte rgbHash, byte rgbSignature ) : bool

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
ExportCspBlob ( bool includePrivateParameters ) : byte[]
ImportCspBlob ( byte keyBlob ) : void
OnKeyGenerated ( object sender, EventArgs e ) : void

Method Details

CreateSignature() public méthode

public CreateSignature ( byte rgbHash ) : byte[]
rgbHash byte
Résultat byte[]

DSACryptoServiceProvider() public méthode

public DSACryptoServiceProvider ( ) : System.IO
Résultat System.IO

DSACryptoServiceProvider() public méthode

public DSACryptoServiceProvider ( CspParameters parameters ) : System.IO
parameters CspParameters
Résultat System.IO

DSACryptoServiceProvider() public méthode

public DSACryptoServiceProvider ( int dwKeySize ) : System.IO
dwKeySize int
Résultat System.IO

DSACryptoServiceProvider() public méthode

public DSACryptoServiceProvider ( int dwKeySize, CspParameters parameters ) : System.IO
dwKeySize int
parameters CspParameters
Résultat System.IO

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

ExportParameters() public méthode

public ExportParameters ( bool includePrivateParameters ) : DSAParameters
includePrivateParameters bool
Résultat DSAParameters

ImportParameters() public méthode

public ImportParameters ( DSAParameters parameters ) : void
parameters DSAParameters
Résultat void

SignData() public méthode

public SignData ( Stream inputStream ) : byte[]
inputStream System.IO.Stream
Résultat byte[]

SignData() public méthode

public SignData ( byte buffer ) : byte[]
buffer byte
Résultat byte[]

SignData() public méthode

public SignData ( byte buffer, int offset, int count ) : byte[]
buffer byte
offset int
count int
Résultat byte[]

SignHash() public méthode

public SignHash ( byte rgbHash, string str ) : byte[]
rgbHash byte
str string
Résultat byte[]

VerifyData() public méthode

public VerifyData ( byte rgbData, byte rgbSignature ) : bool
rgbData byte
rgbSignature byte
Résultat bool

VerifyHash() public méthode

public VerifyHash ( byte rgbHash, string str, byte rgbSignature ) : bool
rgbHash byte
str string
rgbSignature byte
Résultat bool

VerifySignature() public méthode

public VerifySignature ( byte rgbHash, byte rgbSignature ) : bool
rgbHash byte
rgbSignature byte
Résultat bool