|
IAIK CMS/SMIME Toolkit API Documentation
Version 6.1 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectiaik.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(iaik.asn1.ObjectID keyAttrID)
Creates a new unknown key attribute from the given object identifier. |
|
| Method Summary | |
|---|---|
void |
decode(iaik.asn1.ASN1Object obj)
Reads the ASN.1 representation of the unknown key attribute. |
boolean |
equals(java.lang.Object obj)
Alwasy returns false. |
iaik.asn1.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. |
iaik.asn1.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(iaik.asn1.ObjectID keyAttrID)
keyAttrID - the key attribute ID identifying the unknown key attribute| Method Detail |
|---|
public iaik.asn1.ObjectID getKeyAttributeID()
getKeyAttributeID in class KeyAttributepublic java.lang.String getName()
getName in class KeyAttributepublic void decode(iaik.asn1.ASN1Object obj)
decode in class KeyAttributeobj - the ASN1Object representing the unknown key attributepublic iaik.asn1.ASN1Object toASN1Object()
toASN1Object in class KeyAttributepublic int hashCode()
hashCode in class KeyAttributepublic boolean equals(java.lang.Object obj)
false.
equals in class KeyAttributeobj - the object to be compared with this KeyAttribute
falsepublic java.lang.String toString()
toString in class KeyAttribute
|
IAIK CMS/SMIME Toolkit API Documentation
Version 6.1 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
|
v6.1 (c) 2002 IAIK, (c) 2003 - 2025 SIC |
|