public final class CertType extends LDAPAttributeType
Each certificate type is identified an LDAP directory attribute name. The LDAP directory attribute name identifies the attribute that should be used when searching for this type of Certificate in an LDAP directory. Currently, there are three known types, which have been defined in RFC 2587:
Certificate Attribute Types
The following auxiliary object class MAY be used to represent
certificate subjects:
userCertificate ATTRIBUTE ::= {
WITH SYNTAX Certificate
EQUALITY MATCHING RULE certificateExactMatch
ID joint-iso-ccitt(2) ds(5) attributeType(4)
userCertificate(36) }
The following auxiliary object class MAY be used to represent
Certification Authorities:
cACertificate ATTRIBUTE ::= {
WITH SYNTAX Certificate
EQUALITY MATCHING RULE certificateExactMatch
ID joint-iso-ccitt(2) ds(5) attributeType(4)
cACertificate(37) }
crossCertificatePair ATTRIBUTE::={
WITH SYNTAX CertificatePair
EQUALITY MATCHING RULE certificatePairExactMatch
ID joint-iso-ccitt(2) ds(5) attributeType(4)
crossCertificatePair(40)}
| Modifier and Type | Field and Description |
|---|---|
static LDAPAttributeType |
CACERT
Represent a CA certificate.
|
static LDAPAttributeType |
CROSSCERT
Represent a CA certificate.
|
static LDAPAttributeType |
USERCERT
Represent a CA certificate.
|
| Constructor and Description |
|---|
CertType(java.lang.String directoryAttributeName,
java.lang.String name)
The constructor; creates a new certificate type.
|
getDirectoryAttributeName, toStringpublic static final LDAPAttributeType CACERT
public static final LDAPAttributeType USERCERT
public static final LDAPAttributeType CROSSCERT
public CertType(java.lang.String directoryAttributeName,
java.lang.String name)
directoryAttributeName - the name of the directory attribute to search for this type of CRLname - the name of this type of certificate