| 
 | 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.smime.ess.SecurityCategory
iaik.smime.ess.UnknownSecurityCategory
public class UnknownSecurityCategory
This class implements any unknown SecurityCategory value. It tries to show as much information as possible about the SecurityCategory value.
 An Unknown SecurityCategory value is a SecurityCategory value for which there
 exists no registered
 implementation.
 
 When decoding a the SecurityCategory component contained in an ESSSecurityLabel from its ASN.1 representation
 a descendant of SecurityCategory is created
 if there exists an registered implementation of the SecurityCategory value identified by the
 SecurityCategory type OID. If no implementation exists, an
 UnknownSecurityCategory is returned allowing to get and parse the ASN.1 representation of the SecurityCategory
 value.
SecurityCategory, 
ESSSecurityLabel| Constructor Summary | |
|---|---|
| UnknownSecurityCategory(iaik.asn1.ObjectID type)Creates a new unknown SecurityCategory value from the given object identifier. | |
| Method Summary | |
|---|---|
|  void | decode(iaik.asn1.ASN1Object obj)Reads the ASN.1 representation of the unknown SecurityCategory value. | 
|  boolean | equals(java.lang.Object obj)Compares this SecurityCategoryto the specified object. | 
|  iaik.asn1.ObjectID | getType()Returns the SecurityCategory type the unknown SecurityCategory value belongs to. | 
|  iaik.asn1.ASN1Object | toASN1Object()Returns an ASN1Object representing this unknown SecurityCategory value. | 
|  java.lang.String | toString()Returns a string that represents the contents of this unknown SecurityCategory value. | 
| Methods inherited from class iaik.smime.ess.SecurityCategory | 
|---|
| getName, hashCode | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public UnknownSecurityCategory(iaik.asn1.ObjectID type)
type - the OID identifying the type the unknown SecurityCategory value belongs to| Method Detail | 
|---|
public iaik.asn1.ObjectID getType()
getType in class SecurityCategorypublic void decode(iaik.asn1.ASN1Object obj)
obj - the ASN1Object representing the unknown SecurityCategory valuepublic iaik.asn1.ASN1Object toASN1Object()
 Because of implicit tagging this method anytime will return an implicit
 tagged context specific object (see SecurityCategory for more information.
public boolean equals(java.lang.Object obj)
SecurityCategory to the specified object.
 
equals in class SecurityCategoryobj - the object to compare this SecurityCategory
            against.
true, if the given object is equal to this 
                            SecurityCategory, 
                            false otherwisepublic java.lang.String toString()
toString in class SecurityCategory| 
 | 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 |   |