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

Inheritance: DSA
Datei anzeigen Open project: runefs/Marvin

Private Properties

Property Type Description
ExportCspBlob byte[]
ImportCspBlob void
OnKeyGenerated void

Public Methods

Method 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

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

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

Method Details

CreateSignature() public method

public CreateSignature ( byte rgbHash ) : byte[]
rgbHash byte
return byte[]

DSACryptoServiceProvider() public method

public DSACryptoServiceProvider ( ) : System.IO
return System.IO

DSACryptoServiceProvider() public method

public DSACryptoServiceProvider ( CspParameters parameters ) : System.IO
parameters CspParameters
return System.IO

DSACryptoServiceProvider() public method

public DSACryptoServiceProvider ( int dwKeySize ) : System.IO
dwKeySize int
return System.IO

DSACryptoServiceProvider() public method

public DSACryptoServiceProvider ( int dwKeySize, CspParameters parameters ) : System.IO
dwKeySize int
parameters CspParameters
return System.IO

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

ExportParameters() public method

public ExportParameters ( bool includePrivateParameters ) : DSAParameters
includePrivateParameters bool
return DSAParameters

ImportParameters() public method

public ImportParameters ( DSAParameters parameters ) : void
parameters DSAParameters
return void

SignData() public method

public SignData ( Stream inputStream ) : byte[]
inputStream System.IO.Stream
return byte[]

SignData() public method

public SignData ( byte buffer ) : byte[]
buffer byte
return byte[]

SignData() public method

public SignData ( byte buffer, int offset, int count ) : byte[]
buffer byte
offset int
count int
return byte[]

SignHash() public method

public SignHash ( byte rgbHash, string str ) : byte[]
rgbHash byte
str string
return byte[]

VerifyData() public method

public VerifyData ( byte rgbData, byte rgbSignature ) : bool
rgbData byte
rgbSignature byte
return bool

VerifyHash() public method

public VerifyHash ( byte rgbHash, string str, byte rgbSignature ) : bool
rgbHash byte
str string
rgbSignature byte
return bool

VerifySignature() public method

public VerifySignature ( byte rgbHash, byte rgbSignature ) : bool
rgbHash byte
rgbSignature byte
return bool