|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object iaik.cms.KeyAttribute iaik.cms.UnknownKeyAttribute
public class UnknownKeyAttribute
This class implements any unknown Key Attribute. It tries to show as much information as possible about the key attribute.
An Unknown Key Attribute is a key attribute for which no particular implementation is registered.
When decoding a OtherKeyAttribute
of
unkonwn type, a UnknownKeyAttribute object is created for the unknown
KeyAttribute allowing to query for information about the KeyAttribute.
KeyAttribute
,
OtherKeyAttribute
Constructor Summary | |
---|---|
UnknownKeyAttribute(ObjectID keyAttrID)
Creates a new unknown key attribute from the given object identifier. |
Method Summary | |
---|---|
void |
decode(ASN1Object obj)
Reads the ASN.1 representation of the unknown key attribute. |
boolean |
equals(java.lang.Object obj)
Alwasy returns false . |
ObjectID |
getKeyAttributeID()
Returns the key attribute ID of the unknown key attribute. |
java.lang.String |
getName()
Returns the key attribute id of the unknown key attribute as String representation. |
int |
hashCode()
Returns a hashcode for this identity. |
ASN1Object |
toASN1Object()
Creates an ASN1Object representing this unknown key attribute. |
java.lang.String |
toString()
Returns a string that represents the contents of this unknown key attribute. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UnknownKeyAttribute(ObjectID keyAttrID)
keyAttrID
- the key attribute ID identifying the unknown key attributeMethod Detail |
---|
public ObjectID getKeyAttributeID()
getKeyAttributeID
in class KeyAttribute
public java.lang.String getName()
getName
in class KeyAttribute
public void decode(ASN1Object obj)
decode
in class KeyAttribute
obj
- the ASN1Object representing the unknown key attributepublic ASN1Object toASN1Object()
toASN1Object
in class KeyAttribute
public int hashCode()
hashCode
in class KeyAttribute
public boolean equals(java.lang.Object obj)
false
.
equals
in class KeyAttribute
obj
- the object to be compared with this KeyAttribute
false
public java.lang.String toString()
toString
in class KeyAttribute
|
This Javadoc may contain text parts from text parts from IETF Internet Standard specifications (see copyright note). | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |