C# Class System.Security.Cryptography.DSAOpenSsl

Inheritance: DSA
Datei anzeigen Open project: dotnet/corefx

Public Methods

Method Description
CreateSignature ( byte rgbHash ) : byte[]
DSAOpenSsl ( )
DSAOpenSsl ( System handle )
DSAOpenSsl ( int keySize )
DuplicateKeyHandle ( ) : System.Security.Cryptography.SafeEvpPKeyHandle
ExportParameters ( bool includePrivateParameters ) : System.Security.Cryptography.DSAParameters
ImportParameters ( System parameters ) : void
VerifySignature ( byte rgbHash, byte rgbSignature ) : bool

Protected Methods

Method Description
Dispose ( bool disposing ) : void
HashData ( System data, System hashAlgorithm ) : byte[]
HashData ( byte data, int offset, int count, System hashAlgorithm ) : byte[]

Method Details

CreateSignature() public method

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

DSAOpenSsl() public method

public DSAOpenSsl ( )

DSAOpenSsl() public method

public DSAOpenSsl ( System handle )
handle System

DSAOpenSsl() public method

public DSAOpenSsl ( int keySize )
keySize int

Dispose() protected method

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

DuplicateKeyHandle() public method

public DuplicateKeyHandle ( ) : System.Security.Cryptography.SafeEvpPKeyHandle
return System.Security.Cryptography.SafeEvpPKeyHandle

ExportParameters() public method

public ExportParameters ( bool includePrivateParameters ) : System.Security.Cryptography.DSAParameters
includePrivateParameters bool
return System.Security.Cryptography.DSAParameters

HashData() protected method

protected HashData ( System data, System hashAlgorithm ) : byte[]
data System
hashAlgorithm System
return byte[]

HashData() protected method

protected HashData ( byte data, int offset, int count, System hashAlgorithm ) : byte[]
data byte
offset int
count int
hashAlgorithm System
return byte[]

ImportParameters() public method

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

VerifySignature() public method

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