|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--iaik.x509.V3Extension | +--iaik.x509.UnknownExtension
This class implements any unknown extension. It tries to show as much information as possible about the extension.
An Unknown Extension is an extension that cannot be handled properly by the actual certificate (CRL) management software. Within the iaik.X509 environment an extension is treated as unknown if there exists no registered implementation for the extension in mind.
If the certificate handling software detects an unknown extension, it has to check if this extension is labelled as being critical or not. A certificate containing an unknown critical extension shall be rejected. Any non-critical unknown extension can be ignored.
If the CRL handling software detects an unknown extension, it has to check if this extension is labelled as being critical or not. The validation of a CRL containing an unknown critical extension must fail. Any non-critical unknown extension can be ignored.
X509Extensions
,
V3Extension
Fields inherited from class iaik.x509.V3Extension |
critical |
Constructor Summary | |
UnknownExtension(ObjectID oid)
Creates a new unknown extension from the given object identifier. |
Method Summary | |
String |
getName()
Returns the object id of the unknown extension as String representation. |
ObjectID |
getObjectID()
Returns the object id of the unknown extension. |
int |
hashCode()
Returns a hashcode for this identity. |
void |
init(ASN1Object obj)
Inits the implementation with an ASN1 object representing the value of the unknown extension. |
ASN1Object |
toASN1Object()
Creates an ASN1Object, which represents the value of this unknown Extension. |
String |
toString()
Returns a string that represents the contents of this unknown extension. |
Methods inherited from class iaik.x509.V3Extension |
isCritical, setCritical |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public UnknownExtension(ObjectID oid)
oid
- the object id of the unknown extensionMethod Detail |
public ObjectID getObjectID()
getObjectID
in class V3Extension
public String getName()
getName
in class V3Extension
public void init(ASN1Object obj)
init
in class V3Extension
obj
- the ASN1Object representing the value of this unknown extensionpublic ASN1Object toASN1Object()
toASN1Object
in class V3Extension
public int hashCode()
hashCode
in class V3Extension
public String toString()
toString
in class Object
|
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 |