Toolkit Reference |
This is a general purpose structure used to pass data between the Toolkit or VA and your application. It defines information such as the encoding method employed and the length of the buffer. The most common use of this buffer is to pass certificate data, which is typically 1K in length.
It is used in the Vtk_ValidationAddCertRaw, Vtk_CertInit, Vtk_ExtensionsGetByOid, Vtk_CtxtSetOption, and Vtk_CtxtGetOption functions. It is also used in the Vtk_ValQuery structure for request and response information.
type | Type of encoding applied to the data contained in the buffer. The possible values are:
|
dPtr | Pointer to the location of the buffer. |
len | Length of the buffer. |
![]() |
The Toolkit provides the VTK_BUF_INIT macro for initializing the Vtk_Buffer and VTK_EMPTY_BUF for checking whether it is empty. When the buffer is initialized, Vtk_Buffer contains the following values: |
ValiCert, Inc. http://www.valicert.com Voice: +1.650.567.5469 Fax: (+1.650.254.2148 support@valicert.com |