Vtk_ValQuery
Toolkit Reference

prevnext

Vtk_ValQuery

typedef struct
{
enum Vtk_ValidationMech type;
char *host;
int port;
char *url;
Vtk_ProtocolDetails *protocolDetails;
Vtk_Buffer request;
Vtk_Buffer response;
void *vtkPrivateData;
} Vtk_ValQuery;

Description

This structure encapsulates a single validation query interaction with the VA. The query can be for more than one certificate, but it is specific to a single VA. An application uses this structure when it wants to communicate with the VA directly instead of using the Toolkit to communicate with the VA. An application may want to communicate directly when it wants perform asynchronous I/O or use SSL for the communication with the VA.

It supports, OCSP, CRT, and CRLs.

Parameters


type Validation mechanism used to validate certificates.
host Name of the VA host the application wants to communicate.
port Port number of the VA host.
url URL for VA, for example http://ci.valicert.net:80.
protocolDetails Any additional protocol-specific information. Currently, addition protocol information is available only for CRLs.
request Buffer structure that contains the request to be sent to the VA.
response Buffer structure that contains the response sent from the VA.Once the operation is complete, the application needs to provides this structure to release it.
vtkPrivateData Private data the Toolkit wants to include.

Notes

The actual communication between the application and the VA is done through the Vtk_ValidationValidateFromQueries. The application must create this structure from the Vtk_Validation structure using the Vtk_ValidationGetQueries.


See Also

Vtk_ProtocolDetails

Vtk_Validation

Vtk_ValidationGetQueries

Vtk_ValidationValidateFromQueries

Vtk_ValQueriesDelete

prevnext


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