IAIK PKCS#11 Provider API Documentation
version 1.6

iaik.pkcs.pkcs11.provider
Class NonExtractableComponentException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.security.ProviderException
                  extended by iaik.pkcs.pkcs11.provider.IAIKPkcs11Exception
                      extended by iaik.pkcs.pkcs11.provider.NonExtractableComponentException
All Implemented Interfaces:
java.io.Serializable

public class NonExtractableComponentException
extends IAIKPkcs11Exception

This exception signals that there was an attempt to retrieve a key component which cannot be extracted from the token.

A typical cause is if the application tries to extract the private exponent of a RSA private key or the key material of a secret key.

Author:
Karl Scheibelhofer
See Also:
Serialized Form

Constructor Summary
NonExtractableComponentException()
          Default constructor.
NonExtractableComponentException(java.lang.String message)
          Constructor taking a string that describes the reason of the exception in more detail.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NonExtractableComponentException

public NonExtractableComponentException()
Default constructor.


NonExtractableComponentException

public NonExtractableComponentException(java.lang.String message)
Constructor taking a string that describes the reason of the exception in more detail.

Parameters:
message - A descrption of the reason for this exception.

IAIK PKCS#11 Provider API Documentation
version 1.6

IAIK JavaSecurity Website http://jce.iaik.tugraz.at/

IAIK at Graz University of Technology, Austria, Europe
Copyright 2001-2004, IAIK, Graz University of Technology, Inffeldgasse 16a, 8010 Graz, Austria. All Rights Reserved.
version 1.6