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
Public method ECDsaCryptoServiceProvider(CryptoKey) Initializes a new instance of the ECDsaCryptoServiceProvider class with the specified key.
Public method ECDsaCryptoServiceProvider(Int32) Initializes a new instance of the ECDsaCryptoServiceProvider class with the specified key size.
Public method ECDsaCryptoServiceProvider(Session, Int32) Initializes a new instance of the ECDsaCryptoServiceProvider class with the specified session context and key size.
Public method ECDsaCryptoServiceProvider(String, Int32) Initializes a new instance of the ECDsaCryptoServiceProvider class with the specified service provider and key size.

Top

Properties

  Name Description
Public property HashAlgorithm Gets or sets the hash algorithm to use when signing and verifying data.
Public property IsDisposed (Inherited from SessionContainer.)
Public property KeyPair Gets or sets the CryptoKey object representing the key pair for the asymmetric algorithm. (Inherited from AsymmetricAlgorithm.)
Public property KeySize Gets or sets the size, in bits, of the key modulus used by the asymmetric algorithm. (Inherited from AsymmetricAlgorithm.)
Public property LegalKeySizes Gets the key sizes that are supported by the asymmetric algorithm. (Inherited from AsymmetricAlgorithm.)
Public property Session (Inherited from SessionContainer.)

Top

Methods

  Name Description
Public method Clear Releases all resources used by the AsymmetricAlgorithm class. (Inherited from AsymmetricAlgorithm.)
Public method Dispose() () () () (Inherited from SessionContainer.)
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method SignData(array<Byte> [] () [] []) Generates a signature for the specified data.
Public method SignData(Stream) Generates a signature for the specified data stream, reading to the end of the stream.
Public method SignData(array<Byte> [] () [] [], Int32, Int32) Generates a signature for the specified length of data, beginning at the specified offset.
Public method SignHash Generates a signature for the specified hash value.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method VerifyData(array<Byte> [] () [] [], array<Byte> [] () [] []) Verifies a digital signature of the specified data.
Public method VerifyData(Stream, array<Byte> [] () [] []) Verifies a digital signature of the specified data stream, reading to the end of the stream.
Public method VerifyData(array<Byte> [] () [] [], Int32, Int32, array<Byte> [] () [] []) Verifies a digital signature for the specified length of data, beginning at the specified offset.
Public method VerifyHash Verifies the specified digital signature against a specified hash value.

Top

Fields

  Name Description
Public fieldStatic member 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.

See Also

Reference

System.Security.Cryptography Namespace