WS_NCRYPT_ASYMMETRIC_SECURITY_KEY_HANDLE structure (webservices.h)

The type for specifying asymmetric cryptographic keys as a CryptoNG NCRYPT_KEY_HANDLE.

When this structure is used in an API (such as with XML token creation) and subsequent use of that XML token for a channel), the application is responsible for making sure that the NCRYPT_KEY_HANDLE remains valid as long as the key is in use. The application is also responsible for freeing the handle when it is no longer in use.

This type is supported only on Windows Vista and later platforms.

Syntax

typedef struct _WS_NCRYPT_ASYMMETRIC_SECURITY_KEY_HANDLE {
  WS_SECURITY_KEY_HANDLE keyHandle;
  NCRYPT_KEY_HANDLE      asymmetricKey;
} WS_NCRYPT_ASYMMETRIC_SECURITY_KEY_HANDLE;

Members

keyHandle

The base type from which this type and all other key handle types derive.

asymmetricKey

The CryptoNG asymmetric cryptographic key.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header webservices.h