OID Support Functions

These Win32® functions provide Object Identifier (OID) support. You can use these functions to install, register, and dispatch to OID and encoding type-specific functions. The APIs that make use of these functions are CryptEncodeObject, CryptEncodeObjectEx, CryptDecodeObject, CryptDecodeObjectEx, CertVerifyRevocation, and CertOpenStore. For an overview of this process, see Extending CryptoAPI Functionality

The following functions are included in this category and can also be found in Wincrypt.h.

Function Description
CryptEnumOIDFunction Enumerates the OID functions identified by their encoding type, function name, and OID.
CryptEnumOIDInfo Enumerates the OID Information identified by their group and calls pfnEnumOIDInfo for matches.
CryptFindOIDInfo Uses the specified key and group to find OID information.
CryptFreeOIDFunctionAddress Releases the handle count that was incremented and returned by CryptGetOIDFunctionAddress or CryptGetDefaultOIDFunctionAddress.
CryptGetDefaultOIDDllList Gets the list of registered default Dll entries for the specified function set and encoding type.
CryptGetDefaultOIDFunctionAddress Either gets the first or next installed DEFAULT function or loads the Dll containing the DEFAULT function.
CryptGetOIDFunctionAddress Searches the list of installed functions for an encoding type and OID match. If a match isn't found there, then the registry is searched for a match.
CryptGetOIDFunctionValue Gets the value for the specified encoding type, function name, OID, and value name.
CryptInitOIDFunctionSet Initializes and returns a handle to the OID function set identified by the function name supplied.
CryptInstallOIDFunctionAddress Installs a set of callable OID function addresses.
CryptRegisterDefaultOIDFunction Registers the Dll containing the default function to be called for the specified encoding type and function name.
CryptRegisterOIDFunction Registers the Dll containing the function to be called for the specified encoding type, function name, and OID.
CryptRegisterOIDInfo Registers the OID information specified in the CRYPT_OID_INFO structure, persisting it to the registry.
CryptSetOIDFunctionValue Sets the value for the specified encoding type, function name, OID, and value name.
CryptUnregisterDefaultOIDFunction Removes the registration for the Dll containing the default function to be called for the specified encoding type and function name.
CryptUnregisterOIDFunction Removes the registration for the Dll containing the function to be called for the specified encoding type, function name, and OID.
CryptUnregisterOIDInfo Removes the registration for the specified OID information.