tag_kcdb_attrib Struct Reference
[Credential attributes]

#include <kcreddb.h>


Detailed Description

Credential attribute descriptor.

See also:
kcdb_attrib_register()


Data Fields

wchar_t * name
khm_int32 id
khm_int32 alt_id
khm_int32 flags
khm_int32 type
wchar_t * short_desc
wchar_t * long_desc
kcdb_attrib_compute_cb compute_cb
khm_size compute_min_cbsize
khm_size compute_max_cbsize


Field Documentation

wchar_t* tag_kcdb_attrib::name

Name. (Not localized, required)

khm_int32 tag_kcdb_attrib::id

Identifier. When registering, this can be set to KCDB_ATTR_INVALID if a unique identifier is to be generated.

khm_int32 tag_kcdb_attrib::alt_id

Alternate identifier. If the flags specify KCDB_ATTR_FLAG_ALTVIEW, then this field should specify the identifier of the canonical attribute from which this attribute is derived.

khm_int32 tag_kcdb_attrib::flags

Flags. Combination of attribute flags"

khm_int32 tag_kcdb_attrib::type

Type of the attribute. Must be valid.

wchar_t* tag_kcdb_attrib::short_desc

Short description. (Localized, optional)

wchar_t* tag_kcdb_attrib::long_desc

Long description. (Localized, optional)

kcdb_attrib_compute_cb tag_kcdb_attrib::compute_cb

Callback. Required if flags specify KCDB_ATTR_FLAG_COMPUTED.

khm_size tag_kcdb_attrib::compute_min_cbsize

Minimum number of bytes required to store this attribute. Required if KCDB_ATTR_FLAG_COMPUTED is specified.

khm_size tag_kcdb_attrib::compute_max_cbsize

Maximum number of bytes required to store this attribute. Required if KCDB_ATTR_FLAG_COMPUTED is specified.


The documentation for this struct was generated from the following file:
Generated on Fri Aug 3 08:27:15 2007 for Network Identity Manager by Doxygen 1.5.2
© 2004-2007 Massachusetts Institute of Technology.
© 2005-2007 Secure Endpoints Inc.
Contact khimaira@mit.edu