Standard attribute IDs and names
[Credential attributes]


Detailed Description


Attribute related constants



#define KCDB_ATTR_MAX_ID   255
 Maximum valid attribute ID.
#define KCDB_ATTR_MIN_PROP_ID   4096
 Minimum valid property ID.
#define KCDB_ATTR_MAX_PROPS   128
 Maximum number of properties.
#define KCDB_ATTR_MAX_PROP_ID   (KCDB_ATTR_MIN_PROP_ID + KCDB_ATTR_MAX_PROPS - 1)
 Maximum valid property ID.
#define KCDB_ATTR_INVALID   (-1)
 Invalid ID.
#define KCDB_ATTRID_USER   20
 First custom attribute ID.

Attribute identifiers

#define KCDB_ATTR_NAME   0
 Name of the credential.
#define KCDB_ATTR_ID   1
 The identity handle for the credential.
#define KCDB_ATTR_ID_NAME   2
 The name of the identity.
#define KCDB_ATTR_TYPE   3
 The type of the credential.
#define KCDB_ATTR_TYPE_NAME   4
 Type name for the credential.
#define KCDB_ATTR_PARENT_NAME   5
 Name of the parent credential.
#define KCDB_ATTR_ISSUE   6
 Issed on.
#define KCDB_ATTR_EXPIRE   7
 Expires on.
#define KCDB_ATTR_RENEW_EXPIRE   8
 Renewable period expires on.
#define KCDB_ATTR_TIMELEFT   9
 Time left till expiration.
#define KCDB_ATTR_RENEW_TIMELEFT   10
#define KCDB_ATTR_LOCATION   11
 Location of the credential.
#define KCDB_ATTR_LIFETIME   12
 Lifetime of the credential.
#define KCDB_ATTR_RENEW_LIFETIME   13
#define KCDB_ATTR_FLAGS   14
 Flags for the credential.

Attribute names

#define KCDB_ATTRNAME_NAME   L"Name"
#define KCDB_ATTRNAME_ID   L"Identity"
#define KCDB_ATTRNAME_ID_NAME   L"IdentityName"
#define KCDB_ATTRNAME_TYPE   L"TypeId"
#define KCDB_ATTRNAME_TYPE_NAME   L"TypeName"
#define KCDB_ATTRNAME_FLAGS   L"Flags"
#define KCDB_ATTRNAME_PARENT_NAME   L"Parent"
#define KCDB_ATTRNAME_ISSUE   L"Issued"
#define KCDB_ATTRNAME_EXPIRE   L"Expires"
#define KCDB_ATTRNAME_RENEW_EXPIRE   L"RenewExpires"
#define KCDB_ATTRNAME_TIMELEFT   L"TimeLeft"
#define KCDB_ATTRNAME_RENEW_TIMELEFT   L"RenewTimeLeft"
#define KCDB_ATTRNAME_LOCATION   L"Location"
#define KCDB_ATTRNAME_LIFETIME   L"Lifetime"
#define KCDB_ATTRNAME_RENEW_LIFETIME   L"RenewLifetime"


Define Documentation

#define KCDB_ATTR_EXPIRE   7

Expires on.

#define KCDB_ATTR_FLAGS   14

Flags for the credential.

#define KCDB_ATTR_ID   1

The identity handle for the credential.

Note:
The handle returned in by specifying this attribute to kcdb_cred_get_attr() or kcdb_cred_get_attrib() is not held. While the identity is implicitly held for the duration that the credential is held, it is not recommended to obtain a handle to the identity using this method. Use kcdb_cred_get_identity() instead.

#define KCDB_ATTR_ID_NAME   2

The name of the identity.

#define KCDB_ATTR_ISSUE   6

Issed on.

#define KCDB_ATTR_LIFETIME   12

Lifetime of the credential.

#define KCDB_ATTR_LOCATION   11

Location of the credential.

#define KCDB_ATTR_NAME   0

Name of the credential.

#define KCDB_ATTR_PARENT_NAME   5

Name of the parent credential.

#define KCDB_ATTR_RENEW_EXPIRE   8

Renewable period expires on.

#define KCDB_ATTR_TIMELEFT   9

Time left till expiration.

#define KCDB_ATTR_TYPE   3

The type of the credential.

#define KCDB_ATTR_TYPE_NAME   4

Type name for the credential.


Generated on Fri Aug 3 08:27:14 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