CryptoKey Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Inheritance Hierarchy

System. . :: . .Object
  Microsoft.SPOT.Cryptoki. . :: . .SessionContainer
    Microsoft.SPOT.Cryptoki. . :: . .CryptokiObject
      System.Security.Cryptography..::..CryptoKey
        Microsoft.SPOT.Cryptoki. . :: . .CryptokiCertificate

Namespace:  System.Security.Cryptography
Assembly:  Microsoft.SPOT.Security.PKCS11 (in Microsoft.SPOT.Security.PKCS11.dll)

Syntax

'Declaration
Public Class CryptoKey _
    Inherits CryptokiObject
public class CryptoKey : CryptokiObject
public ref class CryptoKey : public CryptokiObject
type CryptoKey =  
    class
        inherit CryptokiObject
    end
public class CryptoKey extends CryptokiObject

The CryptoKey type exposes the following members.

Constructors

  Name Description
Protected method CryptoKey

Top

Properties

  Name Description
Public property Handle
Public property IsDisposed (Inherited from SessionContainer.)
Public property PublicOnly
Public property Session (Inherited from SessionContainer.)
Public property Size (Overrides CryptokiObject. . :: . .Size.)
Public property Type

Top

Methods

  Name Description
Public method Copy (Inherited from CryptokiObject.)
Public method Delete (Inherited from CryptokiObject.)
Public method DeriveKey
Public method Dispose() () () () (Inherited from SessionContainer.)
Protected method Dispose(Boolean) (Inherited from CryptokiObject.)
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method ExportKey
Protected method Finalize (Inherited from SessionContainer.)
Public methodStatic member GenerateKey
Public methodStatic member GenerateKeyPair
Public method GetAttributeValues (Inherited from CryptokiObject.)
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 methodStatic member ImportKey
Public methodStatic member LoadKey
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public methodStatic member OpenDeviceAuthorityKey
Public methodStatic member OpenDeviceKey
Public methodStatic member OpenKey
Public method Save (Inherited from CryptokiObject.)
Public method SetAttributeValues (Inherited from CryptokiObject.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public methodStatic member UnwrapKey
Public methodStatic member WrapKey

Top

Fields

  Name Description
Protected field m_handle (Inherited from CryptokiObject.)
Protected field m_isDisposed (Inherited from SessionContainer.)
Protected field m_isSessionClosing (Inherited from SessionContainer.)
Protected field m_ownsSession (Inherited from SessionContainer.)
Protected field m_session (Inherited from SessionContainer.)

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