iaik.x509
Class X509ExtensionInitException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.security.GeneralSecurityException
|
+--iaik.x509.X509ExtensionException
|
+--iaik.x509.X509ExtensionInitException
- public class X509ExtensionInitException
- extends X509ExtensionException
This exception is thrown if an implementation of an extension can not be initialized.
Possible reasons are:
- the DER encodig of the extension value is wrong
- the implementation is unable to parse the extension value
- See Also:
- Serialized Form
| 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 |
X509ExtensionInitException
public X509ExtensionInitException(ObjectID extensionID,
boolean critical,
java.lang.String errorMessage)
- Creates a new X509ExtensionInitException.
- Parameters:
extensionID - the ObjectID of the broken extensioncritical - whether the broken extension is critical or noterrorMessage - a message describing the reason of the error
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