ECDsaCryptoServiceProvider Class
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Provides the Elliptic Curve Digital Signature Algorithm (ECDSA).
Inheritance Hierarchy
System. . :: . .Object
Microsoft.SPOT.Cryptoki. . :: . .SessionContainer
System.Security.Cryptography. . :: . .AsymmetricAlgorithm
System.Security.Cryptography..::..ECDsaCryptoServiceProvider
Namespace: System.Security.Cryptography
Assembly: System.Security (in System.Security.dll)
Syntax
'Declaration
Public NotInheritable Class ECDsaCryptoServiceProvider _
Inherits AsymmetricAlgorithm
public sealed class ECDsaCryptoServiceProvider : AsymmetricAlgorithm
public ref class ECDsaCryptoServiceProvider sealed : public AsymmetricAlgorithm
[<Sealed>]
type ECDsaCryptoServiceProvider =
class
inherit AsymmetricAlgorithm
end
public final class ECDsaCryptoServiceProvider extends AsymmetricAlgorithm
The ECDsaCryptoServiceProvider type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ECDsaCryptoServiceProvider(CryptoKey) | Initializes a new instance of the ECDsaCryptoServiceProvider class with the specified key. | |
ECDsaCryptoServiceProvider(Int32) | Initializes a new instance of the ECDsaCryptoServiceProvider class with the specified key size. | |
ECDsaCryptoServiceProvider(Session, Int32) | Initializes a new instance of the ECDsaCryptoServiceProvider class with the specified session context and key size. | |
ECDsaCryptoServiceProvider(String, Int32) | Initializes a new instance of the ECDsaCryptoServiceProvider class with the specified service provider and key size. |
Top
Properties
Name | Description | |
---|---|---|
HashAlgorithm | Gets or sets the hash algorithm to use when signing and verifying data. | |
IsDisposed | (Inherited from SessionContainer.) | |
KeyPair | Gets or sets the CryptoKey object representing the key pair for the asymmetric algorithm. (Inherited from AsymmetricAlgorithm.) | |
KeySize | Gets or sets the size, in bits, of the key modulus used by the asymmetric algorithm. (Inherited from AsymmetricAlgorithm.) | |
LegalKeySizes | Gets the key sizes that are supported by the asymmetric algorithm. (Inherited from AsymmetricAlgorithm.) | |
Session | (Inherited from SessionContainer.) |
Top
Methods
Name | Description | |
---|---|---|
Clear | Releases all resources used by the AsymmetricAlgorithm class. (Inherited from AsymmetricAlgorithm.) | |
Dispose() () () () | (Inherited from SessionContainer.) | |
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
SignData(array<Byte> [] () [] []) | Generates a signature for the specified data. | |
SignData(Stream) | Generates a signature for the specified data stream, reading to the end of the stream. | |
SignData(array<Byte> [] () [] [], Int32, Int32) | Generates a signature for the specified length of data, beginning at the specified offset. | |
SignHash | Generates a signature for the specified hash value. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
VerifyData(array<Byte> [] () [] [], array<Byte> [] () [] []) | Verifies a digital signature of the specified data. | |
VerifyData(Stream, array<Byte> [] () [] []) | Verifies a digital signature of the specified data stream, reading to the end of the stream. | |
VerifyData(array<Byte> [] () [] [], Int32, Int32, array<Byte> [] () [] []) | Verifies a digital signature for the specified length of data, beginning at the specified offset. | |
VerifyHash | Verifies the specified digital signature against a specified hash value. |
Top
Fields
Name | Description | |
---|---|---|
DefaultKeySize | The key size, in bits, to use if one is not provided. This field contains a value of 521. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.