|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.vt.middleware.crypt.x509.types.AttributeTypeAndValue
public class AttributeTypeAndValue
Representation of AttributeTypeAndValue type described in section 2 of RFC 2253. This type is used to represent the RelativeDistinguishedName types that comprise the RDN sequence describing an LDAPv3 distinguished name (DN).
| Field Summary | |
|---|---|
static char |
ESCAPE_CHAR
Escape character. |
static Set<Character> |
ESCAPE_CHARSET
Set of characters in the value that MUST be escaped in the string representation. |
| Constructor Summary | |
|---|---|
AttributeTypeAndValue(AttributeType attributeType,
String attributeValue)
Creates a new instance with the given well-known attribute type and value. |
|
AttributeTypeAndValue(String typeOid,
String attributeValue)
Creates a new instance with the given type OID and value. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getType()
|
String |
getValue()
|
int |
hashCode()
|
String |
toString()
Follows the guidelines of RFC 2253 section 2.3 for producing the string representation of the AttributeTypeAndValue type. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Set<Character> ESCAPE_CHARSET
public static final char ESCAPE_CHAR
| Constructor Detail |
|---|
public AttributeTypeAndValue(String typeOid,
String attributeValue)
typeOid - Attribute type OID.attributeValue - Attribute value.
public AttributeTypeAndValue(AttributeType attributeType,
String attributeValue)
attributeType - Attribute type.attributeValue - Attribute value.| Method Detail |
|---|
public String getType()
public String getValue()
public String toString()
toString in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||