public final class AttributeValue extends Object
| Modifier and Type | Field and Description |
|---|---|
byte[] |
bytes |
byte[] |
encoded |
String |
escapedString |
boolean |
hasQEN |
String |
rawString |
boolean |
wasEncoded |
| Constructor and Description |
|---|
AttributeValue(String parsedString,
boolean mustBeOutputWithQuotes,
ObjectIdentifier oid) |
AttributeValue(String hexString,
byte[] encoded) |
AttributeValue(String rawString,
byte[] encoded,
int tag) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendQuotedString(StringBuilder sb) |
String |
getHexString() |
String |
getRFC2253String()
Removes escape sequences used in RFC1779 escaping but not in RFC2253 and
returns the RFC2253 string to the caller..
|
int |
getTag() |
Collection<?> |
getValues(ASN1Type type) |
String |
makeCanonical() |
public boolean wasEncoded
public final String escapedString
public byte[] encoded
public byte[] bytes
public boolean hasQEN
public final String rawString
public AttributeValue(String parsedString, boolean mustBeOutputWithQuotes, ObjectIdentifier oid)
public AttributeValue(String hexString, byte[] encoded)
public AttributeValue(String rawString, byte[] encoded, int tag)
public int getTag()
public String getHexString()
public Collection<?> getValues(ASN1Type type) throws IOException
IOExceptionpublic void appendQuotedString(StringBuilder sb)
public String makeCanonical()
public String getRFC2253String()