public class UnknownAttributeValue extends AttributeValue
An Unknown AttributeValue is an attribute value for which there exists no
registered
implementation.
When calling method getAttributeValue to get the value of some particular Attribute, a descendant of AttributeValue is created if there
exists an implementation of the attribute value identified by the
attribute's type OID. If no implementation exists, an UnknownAttributeValue
is returned allowing to get and parse the ASN.1
representation of the attribute value.
Attribute,
AttributeValue| Constructor and Description |
|---|
UnknownAttributeValue(ObjectID attributeType)
Creates a new unknown attribute value from the given object identifier.
|
| Modifier and Type | Method and Description |
|---|---|
void |
decode(ASN1Object obj)
Reads the ASN.1 representation of the unknown attribute value.
|
ObjectID |
getAttributeType()
Returns the attribute type the unknown attribute value belongs to.
|
java.lang.String |
getName()
Returns the attribute type of the unknown attribute value as String representation.
|
ASN1Object |
toASN1Object()
Returns an ASN1Object representing this unknown attribute value.
|
java.lang.String |
toString()
Returns a string that represents the contents of this unknown attribute value.
|
multipleAllowedpublic UnknownAttributeValue(ObjectID attributeType)
attributeType - the OID identifying the type the unknown attribute value belongs topublic ObjectID getAttributeType()
getAttributeType in class AttributeValuepublic java.lang.String getName()
getName in class AttributeValuepublic void decode(ASN1Object obj)
obj - the ASN1Object representing the unknown attribute valuepublic ASN1Object toASN1Object()
public java.lang.String toString()
toString in class AttributeValue