CRYPT_OBJECT_LOCATOR_PROVIDER_TABLE structure (wincrypt.h)

The CRYPT_OBJECT_LOCATOR_PROVIDER_TABLE structure contains pointers to functions implemented by an object location provider. This structure is used by the PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_INITIALIZE callback function.

Syntax

typedef struct _CRYPT_OBJECT_LOCATOR_PROVIDER_TABLE {
  DWORD                                             cbSize;
  PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_GET             pfnGet;
  PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_RELEASE         pfnRelease;
  PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_FREE_PASSWORD   pfnFreePassword;
  PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_FREE            pfnFree;
  PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_FREE_IDENTIFIER pfnFreeIdentifier;
} CRYPT_OBJECT_LOCATOR_PROVIDER_TABLE, *PCRYPT_OBJECT_LOCATOR_PROVIDER_TABLE;

Members

cbSize

Size, in bytes, of this structure.

pfnGet

Pointer to the PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_GET function implemented by the provider.

pfnRelease

Pointer to the PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_RELEASE function implemented by the provider.

pfnFreePassword

Pointer to the PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_FREE_PASSWORD function implemented by the provider.

pfnFree

Pointer to the PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_FREE function implemented by the provider.

pfnFreeIdentifier

Pointer to the PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_FREE_IDENTIFIER function implemented by the provider.

Remarks

No pointers in this table can be NULL. The client application does not free this structure. It is expected that the provider will return a table that is not allocated on the heap.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Header wincrypt.h

See also

PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_INITIALIZE