Method | Description | |
---|---|---|
Create ( ) : |
Creates an instance of the platform specific implementation of the cref="ECDsa" algorithm.
|
|
Create ( System.Security.Cryptography.ECCurve curve ) : |
Creates an instance of the platform specific implementation of the cref="ECDsa" algorithm.
|
|
Create ( System.Security.Cryptography.ECParameters parameters ) : |
Creates an instance of the platform specific implementation of the cref="ECDsa" algorithm.
|
|
Create ( string algorithm ) : |
||
ExportExplicitParameters ( bool includePrivateParameters ) : System.Security.Cryptography.ECParameters |
When overridden in a derived class, exports the explicit ECParameters for an ECCurve.
|
|
ExportParameters ( bool includePrivateParameters ) : System.Security.Cryptography.ECParameters |
When overridden in a derived class, exports the named or explicit ECParameters for an ECCurve. If the curve has a name, the Curve property will contain named curve parameters otherwise it will contain explicit parameters.
|
|
FromXmlString ( string xmlString ) : void | ||
GenerateKey ( System.Security.Cryptography.ECCurve curve ) : void |
When overridden in a derived class, generates a new public/private keypair for the specified curve.
|
|
ImportParameters ( System.Security.Cryptography.ECParameters parameters ) : void |
When overridden in a derived class, imports the specified ECParameters.
|
|
SignData ( System.Stream data, HashAlgorithmName hashAlgorithm ) : byte[] | ||
SignData ( byte data, HashAlgorithmName hashAlgorithm ) : byte[] | ||
SignData ( byte data, int offset, int count, HashAlgorithmName hashAlgorithm ) : byte[] | ||
SignHash ( byte hash ) : byte[] | ||
ToXmlString ( bool includePrivateParameters ) : string | ||
VerifyData ( System.Stream data, byte signature, HashAlgorithmName hashAlgorithm ) : bool | ||
VerifyData ( byte data, byte signature, HashAlgorithmName hashAlgorithm ) : bool | ||
VerifyData ( byte data, int offset, int count, byte signature, HashAlgorithmName hashAlgorithm ) : bool | ||
VerifyHash ( byte hash, byte signature ) : bool |
Method | Description | |
---|---|---|
ECDsa ( ) : System.IO | ||
HashData ( System.Stream data, HashAlgorithmName hashAlgorithm ) : byte[] | ||
HashData ( byte data, int offset, int count, HashAlgorithmName hashAlgorithm ) : byte[] |
public static Create ( System.Security.Cryptography.ECCurve curve ) : |
||
curve | System.Security.Cryptography.ECCurve |
/// The |
return |
public static Create ( System.Security.Cryptography.ECParameters parameters ) : |
||
parameters | System.Security.Cryptography.ECParameters |
/// The |
return |
public static Create ( string algorithm ) : |
||
algorithm | string | |
return |
public ExportExplicitParameters ( bool includePrivateParameters ) : System.Security.Cryptography.ECParameters | ||
includePrivateParameters | bool | true to include private parameters, otherwise, false. |
return | System.Security.Cryptography.ECParameters |
public ExportParameters ( bool includePrivateParameters ) : System.Security.Cryptography.ECParameters | ||
includePrivateParameters | bool | true to include private parameters, otherwise, false. |
return | System.Security.Cryptography.ECParameters |
public FromXmlString ( string xmlString ) : void | ||
xmlString | string | |
return | void |
public GenerateKey ( System.Security.Cryptography.ECCurve curve ) : void | ||
curve | System.Security.Cryptography.ECCurve | The curve to use. |
return | void |
protected HashData ( System.Stream data, HashAlgorithmName hashAlgorithm ) : byte[] | ||
data | System.Stream | |
hashAlgorithm | HashAlgorithmName | |
return | byte[] |
protected HashData ( byte data, int offset, int count, HashAlgorithmName hashAlgorithm ) : byte[] | ||
data | byte | |
offset | int | |
count | int | |
hashAlgorithm | HashAlgorithmName | |
return | byte[] |
public ImportParameters ( System.Security.Cryptography.ECParameters parameters ) : void | ||
parameters | System.Security.Cryptography.ECParameters | The curve parameters. |
return | void |
public SignData ( System.Stream data, HashAlgorithmName hashAlgorithm ) : byte[] | ||
data | System.Stream | |
hashAlgorithm | HashAlgorithmName | |
return | byte[] |
public SignData ( byte data, HashAlgorithmName hashAlgorithm ) : byte[] | ||
data | byte | |
hashAlgorithm | HashAlgorithmName | |
return | byte[] |
public SignData ( byte data, int offset, int count, HashAlgorithmName hashAlgorithm ) : byte[] | ||
data | byte | |
offset | int | |
count | int | |
hashAlgorithm | HashAlgorithmName | |
return | byte[] |
public abstract SignHash ( byte hash ) : byte[] | ||
hash | byte | |
return | byte[] |
public ToXmlString ( bool includePrivateParameters ) : string | ||
includePrivateParameters | bool | |
return | string |
public VerifyData ( System.Stream data, byte signature, HashAlgorithmName hashAlgorithm ) : bool | ||
data | System.Stream | |
signature | byte | |
hashAlgorithm | HashAlgorithmName | |
return | bool |
public VerifyData ( byte data, byte signature, HashAlgorithmName hashAlgorithm ) : bool | ||
data | byte | |
signature | byte | |
hashAlgorithm | HashAlgorithmName | |
return | bool |
public VerifyData ( byte data, int offset, int count, byte signature, HashAlgorithmName hashAlgorithm ) : bool | ||
data | byte | |
offset | int | |
count | int | |
signature | byte | |
hashAlgorithm | HashAlgorithmName | |
return | bool |
public abstract VerifyHash ( byte hash, byte signature ) : bool | ||
hash | byte | |
signature | byte | |
return | bool |