IAIK PKCS#11 Provider API Documentation
version 1.6

Serialized Form


Package iaik.apps.util

Class iaik.apps.util.GridBagConstraints2 extends java.awt.GridBagConstraints implements Serializable


Package iaik.apps.util.passphrase

Class iaik.apps.util.passphrase.NewPassphraseDialog extends javax.swing.JDialog implements Serializable

Serialized Fields

panel1_

javax.swing.JPanel panel1_
Content pane


gridBagLayout1_

java.awt.GridBagLayout gridBagLayout1_
Layout for content pane


jTAMsg_

javax.swing.JTextArea jTAMsg_
text area to display message


jLPassphrase_

javax.swing.JLabel jLPassphrase_
Label for passphrase field


jLOldPassphrase_

javax.swing.JLabel jLOldPassphrase_
Label for old passphrase field


jLConfirmation_

javax.swing.JLabel jLConfirmation_
Label for passphrase confirmation field


jPFOldPassphrase_

javax.swing.JPasswordField jPFOldPassphrase_
Passphrase field


jPFPassphrase_

javax.swing.JPasswordField jPFPassphrase_
Passphrase field


jPFConfirmation_

javax.swing.JPasswordField jPFConfirmation_
Passphrase confirmation field


jButtonOK_

javax.swing.JButton jButtonOK_
OK button


dummyOwner_

javax.swing.JFrame dummyOwner_
the dummy frame we use if we have no other


isFirstPaint

boolean isFirstPaint
to know that we give the focus to the password field


title_

java.lang.String title_
Title of this dialog


message_

java.lang.String message_
Message in this dialog


protectedResourceInfo_

java.lang.Object protectedResourceInfo_
Object specifying the protected resource; e.g. smart card


oldPassphrase_

char[] oldPassphrase_
The old passphrase


passphrase_

char[] passphrase_
The passphrase


cons_

PassphraseConstraints cons_
Contraints for a passphrase


cancelAllowed_

boolean cancelAllowed_
indicates if this passphrase dialog can be canceled by the user with entering a password


oldPassphraseRequired_

boolean oldPassphraseRequired_
indicates if the user must enter the old passphrase also

Class iaik.apps.util.passphrase.NewPassphraseFrameDialog extends javax.swing.JFrame implements Serializable

Serialized Fields

panel1_

javax.swing.JPanel panel1_
Content pane


gridBagLayout1_

java.awt.GridBagLayout gridBagLayout1_
Layout for content pane


jTAMsg_

javax.swing.JTextArea jTAMsg_
text area to display message


jLPassphrase_

javax.swing.JLabel jLPassphrase_
Label for passphrase field


jLOldPassphrase_

javax.swing.JLabel jLOldPassphrase_
Label for old passphrase field


jLConfirmation_

javax.swing.JLabel jLConfirmation_
Label for passphrase confirmation field


jPFOldPassphrase_

javax.swing.JPasswordField jPFOldPassphrase_
Passphrase field


jPFPassphrase_

javax.swing.JPasswordField jPFPassphrase_
Passphrase field


jPFConfirmation_

javax.swing.JPasswordField jPFConfirmation_
Passphrase confirmation field


jButtonOK_

javax.swing.JButton jButtonOK_
OK button


isFirstPaint

boolean isFirstPaint
to know that we give the focus to the password field


title_

java.lang.String title_
Title of this dialog


message_

java.lang.String message_
Message in this dialog


protectedResourceInfo_

java.lang.Object protectedResourceInfo_
Object specifying the protected resource; e.g. smart card


oldPassphrase_

char[] oldPassphrase_
The old passphrase


passphrase_

char[] passphrase_
The passphrase


cons_

PassphraseConstraints cons_
Contraints for a passphrase


cancelAllowed_

boolean cancelAllowed_
indicates if this passphrase dialog can be canceled by the user with entering a password


oldPassphraseRequired_

boolean oldPassphraseRequired_
indicates if the user must enter the old passphrase also


dialogClosedLock_

java.lang.Object dialogClosedLock_
This is a flag that is used to synchronize the threads to have a modal dialog


dialogClosed_

boolean dialogClosed_
Used to emulated a modal dialog.

Class iaik.apps.util.passphrase.PassphraseDialog extends javax.swing.JDialog implements Serializable

Serialized Fields

cancelAllowed_

boolean cancelAllowed_
indicates if this passphrase dialog can be canceled by the user with entering a password


panel1_

javax.swing.JPanel panel1_
Content pane


gridBagLayout1_

java.awt.GridBagLayout gridBagLayout1_
Layout for content pane


jTAMsg_

javax.swing.JTextArea jTAMsg_
text area to display message


jLPassphrase_

javax.swing.JLabel jLPassphrase_
Label for passphrase field


jPFPassphrase_

javax.swing.JPasswordField jPFPassphrase_
Passphrase field


jButtonOK_

javax.swing.JButton jButtonOK_
OK button


dummyOwner_

javax.swing.JFrame dummyOwner_
the dummy frame we use if we have no other


isFirstPaint

boolean isFirstPaint
to know that we give the focus to the password field


title_

java.lang.String title_
Title of this dialog


message_

java.lang.String message_
Message in this dialog


protectedResourceInfo_

java.lang.Object protectedResourceInfo_
Object specifying the protected resource; e.g. smart card


passphrase_

char[] passphrase_
The passphrase

Class iaik.apps.util.passphrase.PassphraseException extends java.security.GeneralSecurityException implements Serializable

Class iaik.apps.util.passphrase.PassphraseFrameDialog extends javax.swing.JFrame implements Serializable

Serialized Fields

cancelAllowed_

boolean cancelAllowed_
indicates if this passphrase dialog can be canceled by the user with entering a password


panel1_

javax.swing.JPanel panel1_
Content pane


gridBagLayout1_

java.awt.GridBagLayout gridBagLayout1_
Layout for content pane


jTAMsg_

javax.swing.JTextArea jTAMsg_
Label to display message


jLPassphrase_

javax.swing.JLabel jLPassphrase_
Label for passphrase field


jPFPassphrase_

javax.swing.JPasswordField jPFPassphrase_
Passphrase field


jButtonOK_

javax.swing.JButton jButtonOK_
OK button


isFirstPaint

boolean isFirstPaint
to know that we give the focus to the password field


message_

java.lang.String message_
Message in this dialog


protectedResourceInfo_

java.lang.Object protectedResourceInfo_
Object specifying the protected resource; e.g. smart card


passphrase_

char[] passphrase_
The passphrase


dialogClosedLock_

java.lang.Object dialogClosedLock_
This is a flag that is used to synchronize the threads to have a modal dialog


dialogClosed_

boolean dialogClosed_
Used to emulated a modal dialog.


Package iaik.pkcs.pkcs11.provider

Class iaik.pkcs.pkcs11.provider.IAIKPkcs11 extends java.security.Provider implements Serializable

Serialized Fields

defaultProperties_

java.util.Properties defaultProperties_
The default configuration of this provider (this instance).


properties_

java.util.Properties properties_
The configuration of this provider.


initializationParameters_

java.lang.String initializationParameters_
The module initialization parameters if present.


tokenManager_

TokenManager tokenManager_
The configuration of this provider.


loginManager_

LoginManager loginManager_
The object handling the login of the user, the change of the user PIN and logout.


version_

double version_
This provider's version. (Needed, because in Provider member variables are private [bad programming style])


info_

java.lang.String info_
This provider's info string. (Needed, because in Provider member variables are private [bad programming style])


engineObjectsCache_

java.util.Hashtable<K,V> engineObjectsCache_
This is a cache of objects of engine classes. All implement PKCS11EngineClass. This is used to check mechanism requirements.


delegateProvider_

DelegateProvider delegateProvider_
The manager that provides the delegation implementations.


userPIN_

char[] userPIN_
The user PIN that has been set directly, if present.


cleanerThread_

java.lang.Thread cleanerThread_
The cleaner thread_.

Class iaik.pkcs.pkcs11.provider.IAIKPkcs112 extends IAIKPkcs11 implements Serializable

Class iaik.pkcs.pkcs11.provider.IAIKPkcs113 extends IAIKPkcs11 implements Serializable

Class iaik.pkcs.pkcs11.provider.IAIKPkcs114 extends IAIKPkcs11 implements Serializable

Class iaik.pkcs.pkcs11.provider.IAIKPkcs11AuthenticationCanceledException extends IAIKPkcs11AuthenticationException implements Serializable

Class iaik.pkcs.pkcs11.provider.IAIKPkcs11AuthenticationException extends IAIKPkcs11Exception implements Serializable

Class iaik.pkcs.pkcs11.provider.IAIKPkcs11Exception extends java.security.ProviderException implements Serializable

Class iaik.pkcs.pkcs11.provider.IAIKPkcs11TokenUnavailableException extends IAIKPkcs11Exception implements Serializable

Class iaik.pkcs.pkcs11.provider.NonExtractableComponentException extends IAIKPkcs11Exception implements Serializable


Package iaik.pkcs.pkcs11.provider.keys

Class iaik.pkcs.pkcs11.provider.keys.IAIKPKCS11DhPrivateKey extends IAIKPKCS11PrivateKey implements Serializable

Class iaik.pkcs.pkcs11.provider.keys.IAIKPKCS11DhPublicKey extends IAIKPKCS11PublicKey implements Serializable

Class iaik.pkcs.pkcs11.provider.keys.IAIKPKCS11DsaPrivateKey extends IAIKPKCS11PrivateKey implements Serializable

Class iaik.pkcs.pkcs11.provider.keys.IAIKPKCS11DsaPublicKey extends IAIKPKCS11PublicKey implements Serializable

Class iaik.pkcs.pkcs11.provider.keys.IAIKPKCS11EC16PrivateKey extends IAIKPKCS11ECPrivateKey implements Serializable

Class iaik.pkcs.pkcs11.provider.keys.IAIKPKCS11EC16PublicKey extends IAIKPKCS11ECPublicKey implements Serializable

Class iaik.pkcs.pkcs11.provider.keys.IAIKPKCS11ECPrivateKey extends IAIKPKCS11PrivateKey implements Serializable

Class iaik.pkcs.pkcs11.provider.keys.IAIKPKCS11ECPublicKey extends IAIKPKCS11PublicKey implements Serializable

Class iaik.pkcs.pkcs11.provider.keys.IAIKPKCS11Key extends java.lang.Object implements Serializable

Serialized Fields

tokenManager_

TokenManager tokenManager_
The token where this key resides.


keyObject_

iaik.pkcs.pkcs11.objects.Key keyObject_
Object handle of the associated PKCS#11 key object.


alias_

java.lang.String alias_
The chached alias for this key.


session_

iaik.pkcs.pkcs11.Session session_
This is for chaching sessions of session keys to avoid that they are destroyed when the session gets closed.


autoDestroy_

boolean autoDestroy_
Dtermines if the associated PKCS#11 key object should be deleted upon object finalization.


destroyed_

boolean destroyed_
If this is true, the object has already been destroyed

Class iaik.pkcs.pkcs11.provider.keys.IAIKPKCS11PrivateKey extends IAIKPKCS11Key implements Serializable

Serialized Fields

keyFactory_

java.security.KeyFactory keyFactory_
The key factory that is used to encode the key.

Class iaik.pkcs.pkcs11.provider.keys.IAIKPKCS11PublicKey extends IAIKPKCS11Key implements Serializable

Serialized Fields

keyFactory_

java.security.KeyFactory keyFactory_
The key factory that is used to encode the key.

Class iaik.pkcs.pkcs11.provider.keys.IAIKPKCS11RsaPrivateKey extends IAIKPKCS11PrivateKey implements Serializable

Class iaik.pkcs.pkcs11.provider.keys.IAIKPKCS11RsaPublicKey extends IAIKPKCS11PublicKey implements Serializable

Class iaik.pkcs.pkcs11.provider.keys.IAIKPKCS11SecretKey extends IAIKPKCS11Key implements Serializable

Class iaik.pkcs.pkcs11.provider.keys.IAIKPKCS11Ssl3KeyContainer extends java.lang.Object implements Serializable

serialVersionUID: 8453110044826425453L

Serialized Fields

clientIv_

byte[] clientIv_
The client iv.


clientMacSecret_

IAIKPKCS11SecretKey clientMacSecret_
The client mac secret.


clientSecret_

IAIKPKCS11SecretKey clientSecret_
The client secret.


serverIv_

byte[] serverIv_
The server iv.


serverMacSecret_

IAIKPKCS11SecretKey serverMacSecret_
The server mac secret.


serverSecret_

IAIKPKCS11SecretKey serverSecret_
The server secret.


Package iaik.pkcs.pkcs11.provider.random

Class iaik.pkcs.pkcs11.provider.random.PKCS11Random extends java.security.SecureRandom implements Serializable

Class iaik.pkcs.pkcs11.provider.random.PKCS11RandomNoSetSeedSpi extends PKCS11RandomSpi implements Serializable

Class iaik.pkcs.pkcs11.provider.random.PKCS11RandomSpi extends java.security.SecureRandomSpi implements Serializable

Serialized Fields

tokenManager_

TokenManager tokenManager_
Token manager used to access the token.


session_

iaik.pkcs.pkcs11.Session session_
The session this object works with.


pkcs11OperationInitialized_

boolean pkcs11OperationInitialized_
Indicates, if the PKCS#11 signature/verify is already initialized for the next operation round.


useSoftwareDelegation_

boolean useSoftwareDelegation_
If true, this object must use the software secure random, because the token does not have a random number generator or there was no token present, when this object was created. This variable is set during object creation.


softwareDelegate_

java.security.SecureRandom softwareDelegate_
This is the software delegate object to use, if the token does not have a random generator. This is only set, if useSoftwareDelegation_ is set.

Class iaik.pkcs.pkcs11.provider.random.PKCS11SeededRandomSpi extends PKCS11RandomSpi implements Serializable

Serialized Fields

isSeeded_

boolean isSeeded_
If this object was already seeded with seed bytes from the token.


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