Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
P6R::P6KEYSTORE_ATTRIBUTE Struct Reference

#include <p6keystore.h>

Public Attributes

P6WCHAR name [P6KSMAXATTRIBNAME]
 
P6UINT32 type
 
union {
   P6WCHAR   szValueStr [P6KSMAXATTRIBSTR]
 
   P6TIME   valueDate
 
   P6INT32   valueInt
 
value
 

Detailed Description

A key, certificate, and blob can have any number of associated attributes.

An attribute is a name value pair. The name is a string but the value can be one of 3 types: a string, a date, or an integer. An object's attributes can be obtained all at once, or can be used to search for a specific set of objects.

* name - must be unique per object
* type - indicates which union element is used {1..}, 0 means no value set
*
* szValueStr - item 1, value of attribute is a string
* valueInt - item 2, value of attribute is an integer
* valueDate - item 3, value of attribute is a timestamp in GMT
*

Definition at line 167 of file p6keystore.h.


The documentation for this struct was generated from the following file: