Toolkit Reference |
This certificate encapsulation function returns a list of certificate extensions for a specified certificate in the specified context. This function allows you to directly get the list of extensions for the certificate without getting all of the certificate information contained in the Vtk_CertInfo structure.
The Toolkit provides several other functions that allow your application to parse the Vtk_Extensions structure and return the following:
VTK_OK | The function has completed successfully and the list of certificate extensions has been placed into the structure. |
error code | The function has failed. For information about possible error values, refer to Appendix |
![]() |
The application must call the Vtk_ExtensionsDelete function for the structure returned by Vtk_CertGetExtensions. If the application does not call Vtk_ExtensionsDelete, memory leaks and other problems can occur. For more information about the memory model employed by the Toolkit, see
Toolkit Memory Model. In the case that the certificate has no extension, the function returns VTK_OK and sets the specified output structure to NULL. |
ValiCert, Inc. http://www.valicert.com Voice: +1.650.567.5469 Fax: (+1.650.254.2148 support@valicert.com |