CryptInitOIDFunctionSet function

The CryptInitOIDFunctionSet initializes and returns the handle of the OID function set identified by a supplied function set name. If the set already exists, the handle of the existing set is returned. If the set does not exist, it is created. This allows different DLLs to install OID functions for the same function set name.

Syntax

HCRYPTOIDFUNCSET CryptInitOIDFunctionSet(
  LPCSTR pszFuncName,
  DWORD  dwFlags
);

Parameters

pszFuncName

Name of the OID function set.

dwFlags

Reserved for future use and must be zero.

Return Value

Returns the handle of the OID function set identified by pszFuncName, or NULL if the function fails.

Requirements

   
Minimum supported client Windows XP [desktop apps | UWP apps]
Minimum supported server Windows Server 2003 [desktop apps | UWP apps]
Target Platform Windows
Header wincrypt.h
Library Crypt32.lib
DLL Crypt32.dll

See Also

OID Support Functions