iaik.x509
Class X509ExtensionInitException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.security.GeneralSecurityException
                    |
                    +--iaik.x509.X509ExtensionException
                          |
                          +--iaik.x509.X509ExtensionInitException
All Implemented Interfaces:
Serializable

public class X509ExtensionInitException
extends X509ExtensionException

This exception is thrown if an implementation of an extension can not be initialized.

Possible reasons are:

Version:
File Revision 12
See Also:
Serialized Form

Constructor Summary
X509ExtensionInitException(ObjectID extensionID, boolean critical, String errorMessage)
          Creates a new X509ExtensionInitException.
 
Method Summary
 ObjectID getExtensionID()
          Returns the ObjectID of the broken extension.
 boolean isCriticalExtension()
          Returns true if the broken extension is critical.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

X509ExtensionInitException

public X509ExtensionInitException(ObjectID extensionID,
                                  boolean critical,
                                  String errorMessage)
Creates a new X509ExtensionInitException.
Parameters:
extensionID - the ObjectID of the broken extension
critical - whether the broken extension is critical or not
errorMessage - a message describing the reason of the error
Method Detail

getExtensionID

public ObjectID getExtensionID()
Returns the ObjectID of the broken extension.
Returns:
the ObjectID of the broken extension

isCriticalExtension

public boolean isCriticalExtension()
Returns true if the broken extension is critical.
Returns:
true if the broken extesnion is critical

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).

IAIK-JCE 3.1 with IAIK-JCE CC Core 3.1, (c) 1997-2004 IAIK