|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--iaik.asn1.structures.AttributeValue | +--iaik.asn1.structures.UnknownAttributeValue
This class implements any unknown AttributeValue. It tries to show as much information as possible about the attribute value.
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 Summary | |
UnknownAttributeValue(ObjectID attributeType)
Creates a new unknown attribute value from the given object identifier. |
Method Summary | |
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. |
String |
getName()
Returns the attribute type of the unknown attribute value as String representation. |
ASN1Object |
toASN1Object()
Returns an ASN1Object representing this unknown attribute value. |
String |
toString()
Returns a string that represents the contents of this unknown attribute value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public UnknownAttributeValue(ObjectID attributeType)
attributeType
- the OID identifying the type the unknown attribute value belongs toMethod Detail |
public ObjectID getAttributeType()
getAttributeType
in class AttributeValue
public String getName()
getName
in class AttributeValue
public void decode(ASN1Object obj)
obj
- the ASN1Object representing the unknown attribute valuepublic ASN1Object toASN1Object()
public String toString()
toString
in class AttributeValue
|
This Javadoc may contain text parts from Internet Standard specifications (RFC 2459, 3280, 3039, 2560, 1521, 821, 822, 2253, 1319, 1321, ,2630, 2631, 2268, 3058, 2984, 2104, 2144, 2040, 2311, 2279, see copyright note) and RSA Data Security Public-Key Cryptography Standards (PKCS#1,3,5,7,8,9,10,12, see copyright note). | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |