Vtk_CertGetInfo
Toolkit Reference

prevnext

Vtk_CertGetInfo

#include <vtk_cert.h>
#include <vtk_err.h>
Vtk_uint32Vtk_CertGetInfo(
const Vtk_Ctxt* ctxt, /* input */
const Vtk_Cert *from, /* input */
Vtk_CertInfo **dest /* output */
);

Description

This certificate encapsulation function returns detailed certificate information for the specified certificate.

Parameters

ctxt Pointer to Toolkit context created using the Vtk_CtxtNew function and for which memory has been allocated.
from Pointer to the certificate for which the information is to be returned.
dest Pointer to structure into which the information is to be copied.

Return Value

VTK_OK The function has completed successfully and the buffer has been deleted.
error code The function has failed. For information about possible error values, refer to Appendix 

Notes

The application must call the Vtk_CertInfoDelete function to release the memory allocated to the structure returned by the Vtk_CertGetInfo function. If the application does not call Vtk_CertInfoDelete, memory leaks and other problems can occur. For more information about the memory model employed by the Toolkit, see Toolkit Memory Model.


See Also

Vtk_CertInfo

Vtk_CertInfoDelete

prevnext


ValiCert, Inc.
http://www.valicert.com
Voice: +1.650.567.5469
Fax: (+1.650.254.2148
support@valicert.com