C# Class System.Security.Cryptography.ECDsaOpenSsl

Inheritance: ECDsa
Datei anzeigen Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
DuplicateKeyHandle ( ) : System.Security.Cryptography.SafeEvpPKeyHandle
ECDsaOpenSsl ( )
ECDsaOpenSsl ( System handle )
ECDsaOpenSsl ( int keySize )
ExportExplicitParameters ( bool includePrivateParameters ) : System.Security.Cryptography.ECParameters
ExportParameters ( bool includePrivateParameters ) : System.Security.Cryptography.ECParameters
GenerateKey ( System curve ) : void
ImportParameters ( System parameters ) : void
SignHash ( byte hash ) : byte[]
VerifyHash ( byte hash, byte signature ) : 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

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

ECDsaOpenSsl() public method

public ECDsaOpenSsl ( )

ECDsaOpenSsl() public method

public ECDsaOpenSsl ( System handle )
handle System

ECDsaOpenSsl() public method

public ECDsaOpenSsl ( int keySize )
keySize int

ExportExplicitParameters() public method

public ExportExplicitParameters ( bool includePrivateParameters ) : System.Security.Cryptography.ECParameters
includePrivateParameters bool
return System.Security.Cryptography.ECParameters

ExportParameters() public method

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

GenerateKey() public method

public GenerateKey ( System curve ) : void
curve System
return void

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

SignHash() public method

public SignHash ( byte hash ) : byte[]
hash byte
return byte[]

VerifyHash() public method

public VerifyHash ( byte hash, byte signature ) : bool
hash byte
signature byte
return bool