com.ibm.security.certclient.base

Interface PkAttrKind

All known subinterfaces:
PkConstants
All known implementing classes:
JPKI, PkAttr, PkBase64PkcsEventFormatter, PkCASetUp, PkCertGen, PkCertPath, PkCmpEventFormatter, PkEeXMgr, PkHttpEventFormatter, PkPkcsEventFormatter, PkTcpV10CmpEventFormatter

  1. public interface PkAttrKind
Defines constants used by the kind property of PkAttr.

The kind is a scalar whose bits are used to represent characteristics of the attribute. Constants are defined here to provide a symbolic representation of these characteristics. The following bits are used:

bit set to 1 if and only if:
0 the attribute should be applied to the certificate/CRL
1 the attribute has been approved (by the EE, CA or RA)
An attribute is placed in a cert or CRL only if bits 1 and 2 are true.

The table above is for documentation purposes only. Code should always use the symbolic constants defined below or the getters and setters defined in PkAttr.

Author:
Rod Mancisidor

Field Summary

Modifier and Type Field and Description
  1. static
  2. int
ATTR_APPLIED
The attribute applies to a certificate or CRL.
  1. static
  2. int
ATTR_APPROVED
The attribute has been accepted (by the EE, RA or CA).
  1. static
  2. String[]
ATTR_NAMES
String representation of attribute types.

Field Detail

ATTR_APPLIED

  1. static final int ATTR_APPLIED
The attribute applies to a certificate or CRL. Only attributes with this bit on (and also the ATTR_APPROVED bit on) are placed in a certificate or CRL.
See Also:

ATTR_APPROVED

  1. static final int ATTR_APPROVED
The attribute has been accepted (by the EE, RA or CA). Only attributes with this bit on are transferred by the formaters and hence transmitted from one process (e.g., EE or RA) to the next (e.g., RA or CA).
See Also:

ATTR_NAMES

  1. static final String[] ATTR_NAMES
String representation of attribute types.