IAIK PKCS#11 Wrapper
version 1.2.18

Uses of Class
iaik.pkcs.pkcs11.Session

Packages that use Session
iaik.pkcs.pkcs11 This package provides a object oriented API to access PKCS#11 modules. 
iaik.pkcs.pkcs11.objects This package contains all classes for objects and attributes as known from PKCS#11. 
iaik.pkcs.pkcs11.parameters This package contains all classes for parameters objects. 
 

Uses of Session in iaik.pkcs.pkcs11
 

Methods in iaik.pkcs.pkcs11 that return Session
 Session Token.openSession(boolean serialSession, boolean rwSession, java.lang.Object application, Notify notify)
          Open a new session to perfom operations on this token.
 

Methods in iaik.pkcs.pkcs11 with parameters of type Session
 void Notify.notify(Session session, boolean surrender, java.lang.Object application)
          The module calls this method in certain events.
 

Uses of Session in iaik.pkcs.pkcs11.objects
 

Methods in iaik.pkcs.pkcs11.objects with parameters of type Session
static Object Object.getInstance(Session session, long objectHandle)
          The object creation mechanism of ObjectAccess uses this method to create an instance of an PKCS#11 object.
protected static Object Object.getUnknownObject(Session session, long objectHandle)
          Try to create an object which has no or an unkown object class attribute.
 void Object.readAttributes(Session session)
          Read the values of the attributes of this object from the token.
protected static void Object.getAttributeValue(Session session, long objectHandle, Attribute attribute)
          This method reads the attribute specified by attribute from the token using the given session.
protected static void Object.getAttributeValues(Session session, long objectHandle, Attribute[] attributes)
          This method reads the attributes in a similar way as Object.getAttributeValue(iaik.pkcs.pkcs11.Session, long, iaik.pkcs.pkcs11.objects.Attribute), but a complete array at once.
 void Storage.readAttributes(Session session)
          Read the values of the attributes of this object from the token.
static Object DomainParameters.getInstance(Session session, long objectHandle)
          The getInstance method of the Object class uses this method to create an instance of PKCS#11 domain parameters.
protected static Object DomainParameters.getUnknownDomainParameters(Session session, long objectHandle)
          Try to create a domain parameters which has no or an unkown key type type attribute.
 void DomainParameters.readAttributes(Session session)
          Read the values of the attributes of this object from the token.
static Object DSAParams.getInstance(Session session, long objectHandle)
          The getInstance method of the PrivateKey class uses this method to create an instance of PKCS#11 DSA domain parameters.
 void DSAParams.readAttributes(Session session)
          Read the values of the attributes of this object from the token.
 void GenericTemplate.readAttributes(Session session)
          Read the values of the attributes of this object from the token.
static Object HardwareFeature.getInstance(Session session, long objectHandle)
          Called by sub-classes to create an instance of a PKCS#11 hardware feature.
protected static Object HardwareFeature.getUnknownHardwareFeature(Session session, long objectHandle)
          Try to create a hardware feature which has no or an unkown harware feature type attribute.
static Object UserInterface.getInstance(Session session, long objectHandle)
          The getInstance method of the HardwareFeature class uses this method to create an instance of a PKCS#11 user interface.
 void UserInterface.readAttributes(Session session)
          Read the values of the attributes of this object from the token.
 void Key.readAttributes(Session session)
          Read the values of the attributes of this object from the token.
static Object SecretKey.getInstance(Session session, long objectHandle)
          The getInstance method of the Object class uses this method to create an instance of a PKCS#11 secret key.
protected static Object SecretKey.getUnknownSecretKey(Session session, long objectHandle)
          Try to create a key which has no or an unkown secret key type type attribute.
 void SecretKey.readAttributes(Session session)
          Read the values of the attributes of this object from the token.
static Object GenericSecretKey.getInstance(Session session, long objectHandle)
          The getInstance method of the SecretKey class uses this method to create an instance of a PKCS#11 generic Secret key.
 void GenericSecretKey.readAttributes(Session session)
          Read the values of the attributes of this object from the token.
 Object DomainParameters.VendorDefinedDomainParametersBuilder.build(Session session, long objectHandle)
          This method should instanciate an Object of this class or of any sub-class.
static Object CAST3SecretKey.getInstance(Session session, long objectHandle)
          The getInstance method of the SecretKey class uses this method to create an instance of a PKCS#11 CAST3 secret key.
 void CAST3SecretKey.readAttributes(Session session)
          Read the values of the attributes of this object from the token.
static Object BlowfishSecretKey.getInstance(Session session, long objectHandle)
          The getInstance method of the SecretKey class uses this method to create an instance of a PKCS#11 generic Secret key.
 void BlowfishSecretKey.readAttributes(Session session)
          Read the values of the attributes of this object from the token.
static Object MonotonicCounter.getInstance(Session session, long objectHandle)
          The getInstance method of the HardwareFeature class uses this method to create an instance of a PKCS#11 monotonic counter.
 void MonotonicCounter.readAttributes(Session session)
          Read the values of the attributes of this object from the token.
static Object PublicKey.getInstance(Session session, long objectHandle)
          The getInstance method of the Object class uses this method to create an instance of a PKCS#11 public key.
protected static Object PublicKey.getUnknownPublicKey(Session session, long objectHandle)
          Try to create a key which has no or an unkown public key type type attribute.
 void PublicKey.readAttributes(Session session)
          Read the values of the attributes of this object from the token.
static Object SkipJackSecretKey.getInstance(Session session, long objectHandle)
          The getInstance method of the SecretKey class uses this method to create an instance of a PKCS#11 SkipJack secret key.
 void SkipJackSecretKey.readAttributes(Session session)
          Read the values of the attributes of this object from the token.
static Object DHPublicKey.getInstance(Session session, long objectHandle)
          The getInstance method of the PublicKey class uses this method to create an instance of a PKCS#11 DH public key.
 void DHPublicKey.readAttributes(Session session)
          Read the values of the attributes of this object from the token.
static Object X942DHPublicKey.getInstance(Session session, long objectHandle)
          The getInstance method of the PublicKey class uses this method to create an instance of a PKCS#11 X9.42 DH public key.
 void X942DHPublicKey.readAttributes(Session session)
          Read the values of the attributes of this object from the token.
 Object Key.VendorDefinedKeyBuilder.build(Session session, long objectHandle)
          This method should instanciate an Object of this class or of any sub-class.
static Object AESSecretKey.getInstance(Session session, long objectHandle)
          The getInstance method of the SecretKey class uses this method to create an instance of a PKCS#11 AES secret key.
 void AESSecretKey.readAttributes(Session session)
          Read the values of the attributes of this object from the token.
static Object DHParams.getInstance(Session session, long objectHandle)
          The getInstance method of the PrivateKey class uses this method to create an instance of a PKCS#11 DH private key.
 void DHParams.readAttributes(Session session)
          Read the values of the attributes of this object from the token.
static Object X942DHParams.getInstance(Session session, long objectHandle)
          The getInstance method of the PrivateKey class uses this method to create an instance of a PKCS#11 DH private key.
 void X942DHParams.readAttributes(Session session)
          Read the values of the attributes of this object from the token.
static Object DES2SecretKey.getInstance(Session session, long objectHandle)
          The getInstance method of the SecretKey class uses this method to create an instance of a PKCS#11 2DES Secret key.
 void DES2SecretKey.readAttributes(Session session)
          Read the values of the attributes of this object from the token.
static Object PrivateKey.getInstance(Session session, long objectHandle)
          The getInstance method of the Object class uses this method to create an instance of a PKCS#11 private key.
protected static Object PrivateKey.getUnknownPrivateKey(Session session, long objectHandle)
          Try to create a key which has no or an unkown private key type type attribute.
 void PrivateKey.readAttributes(Session session)
          Read the values of the attributes of this object from the token.
static Object DSAPrivateKey.getInstance(Session session, long objectHandle)
          The getInstance method of the PrivateKey class uses this method to create an instance of a PKCS#11 DSA private key.
 void DSAPrivateKey.readAttributes(Session session)
          Read the values of the attributes of this object from the token.
static Object Data.getInstance(Session session, long objectHandle)
          The getInstance method of the Object class uses this method to create an instance of a PKCS#11 data object.
 void Data.readAttributes(Session session)
          Read the values of the attributes of this object from the token.
static Object Certificate.getInstance(Session session, long objectHandle)
          The getInstance method of the Object class uses this method to create an instance of a PKCS#11 certificate.
protected static Object Certificate.getUnknownCertificate(Session session, long objectHandle)
          Try to create a certificate which has no or an unkown certificate type attribute.
 void Certificate.readAttributes(Session session)
          Read the values of the attributes of this object from the token.
 Object Certificate.VendorDefinedCertificateBuilder.build(Session session, long objectHandle)
          This method should instanciate an Object of this class or of any sub-class.
static Object KEAPrivateKey.getInstance(Session session, long objectHandle)
          The getInstance method of the PrivateKey class uses this method to create an instance of a PKCS#11 KEA private key.
 void KEAPrivateKey.readAttributes(Session session)
          Read the values of the attributes of this object from the token.
static Object X509PublicKeyCertificate.getInstance(Session session, long objectHandle)
          The getInstance method of the Certificate class uses this method to create an instance of a PKCS#11 X.509 public key certificate.
 void X509PublicKeyCertificate.readAttributes(Session session)
          Read the values of the attributes of this object from the token.
static Object CAST5SecretKey.getInstance(Session session, long objectHandle)
          The getInstance method of the SecretKey class uses this method to create an instance of a PKCS#11 CAST5 secret key.
 void CAST5SecretKey.readAttributes(Session session)
          Read the values of the attributes of this object from the token.
static Object RC5SecretKey.getInstance(Session session, long objectHandle)
          The getInstance method of the SecretKey class uses this method to create an instance of a PKCS#11 RC5 secret key.
 void RC5SecretKey.readAttributes(Session session)
          Read the values of the attributes of this object from the token.
static Object IDEASecretKey.getInstance(Session session, long objectHandle)
          The getInstance method of the SecretKey class uses this method to create an instance of a PKCS#11 IDEA secret key.
 void IDEASecretKey.readAttributes(Session session)
          Read the values of the attributes of this object from the token.
static Object ECDSAPublicKey.getInstance(Session session, long objectHandle)
          The getInstance method of the PublicKey class uses this method to create an instance of a PKCS#11 ECDSA public key.
 void ECDSAPublicKey.readAttributes(Session session)
          Read the values of the attributes of this object from the token.
static Object RSAPrivateKey.getInstance(Session session, long objectHandle)
          The getInstance method of the PrivateKey class uses this method to create an instance of a PKCS#11 RSA private key.
 void RSAPrivateKey.readAttributes(Session session)
          Read the values of the attributes of this object from the token.
static Object JuniperSecretKey.getInstance(Session session, long objectHandle)
          The getInstance method of the SecretKey class uses this method to create an instance of a PKCS#11 Juniper secret key.
 void JuniperSecretKey.readAttributes(Session session)
          Read the values of the attributes of this object from the token.
static Object CASTSecretKey.getInstance(Session session, long objectHandle)
          The getInstance method of the SecretKey class uses this method to create an instance of a PKCS#11 CAST secret key.
 void CASTSecretKey.readAttributes(Session session)
          Read the values of the attributes of this object from the token.
 Object Object.VendorDefinedObjectBuilder.build(Session session, long objectHandle)
          This method should instanciate an Object of this class or of any sub-class.
static Object DSAPublicKey.getInstance(Session session, long objectHandle)
          The getInstance method of the PublicKey class uses this method to create an instance of a PKCS#11 DSA public key.
 void DSAPublicKey.readAttributes(Session session)
          Read the values of the attributes of this object from the token.
static Object CAST128SecretKey.getInstance(Session session, long objectHandle)
          The getInstance method of the SecretKey class uses this method to create an instance of a PKCS#11 CAST128 secret key.
 void CAST128SecretKey.readAttributes(Session session)
          Read the values of the attributes of this object from the token.
static Object CDMFSecretKey.getInstance(Session session, long objectHandle)
          The getInstance method of the SecretKey class uses this method to create an instance of a PKCS#11 CDMF secret key.
 void CDMFSecretKey.readAttributes(Session session)
          Read the values of the attributes of this object from the token.
static Object RC2SecretKey.getInstance(Session session, long objectHandle)
          The getInstance method of the SecretKey class uses this method to create an instance of a PKCS#11 RC2 secret key.
 void RC2SecretKey.readAttributes(Session session)
          Read the values of the attributes of this object from the token.
static Object RSAPublicKey.getInstance(Session session, long objectHandle)
          The getInstance method of the PublicKey class uses this method to create an instance of a PKCS#11 RSA public key.
 void RSAPublicKey.readAttributes(Session session)
          Read the values of the attributes of this object from the token.
static Object KEAPublicKey.getInstance(Session session, long objectHandle)
          The getInstance method of the PublicKey class uses this method to create an instance of a PKCS#11 KEA public key.
 void KEAPublicKey.readAttributes(Session session)
          Read the values of the attributes of this object from the token.
static Object DHPrivateKey.getInstance(Session session, long objectHandle)
          The getInstance method of the PrivateKey class uses this method to create an instance of a PKCS#11 DH private key.
 void DHPrivateKey.readAttributes(Session session)
          Read the values of the attributes of this object from the token.
static Object DESSecretKey.getInstance(Session session, long objectHandle)
          The getInstance method of the SecretKey class uses this method to create an instance of a PKCS#11 DES Secret key.
 void DESSecretKey.readAttributes(Session session)
          Read the values of the attributes of this object from the token.
static Object BatonSecretKey.getInstance(Session session, long objectHandle)
          The getInstance method of the SecretKey class uses this method to create an instance of a PKCS#11 BATON secret key.
 void BatonSecretKey.readAttributes(Session session)
          Read the values of the attributes of this object from the token.
static Object Clock.getInstance(Session session, long objectHandle)
          The getInstance method of the HardwareFeature class uses this method to create an instance of a PKCS#11 clock.
 void Clock.readAttributes(Session session)
          Read the values of the attributes of this object from the token.
static Object ECDSAPrivateKey.getInstance(Session session, long objectHandle)
          The getInstance method of the PrivateKey class uses this method to create an instance of a PKCS#11 ECDSA private key.
 void ECDSAPrivateKey.readAttributes(Session session)
          Read the values of the attributes of this object from the token.
static Object X509AttributeCertificate.getInstance(Session session, long objectHandle)
          The getInstance method of the Certificate class uses this method to create an instance of a PKCS#11 X.509 attribute certificate.
 void X509AttributeCertificate.readAttributes(Session session)
          Read the values of the attributes of this object from the token.
static Object RC4SecretKey.getInstance(Session session, long objectHandle)
          The getInstance method of the SecretKey class uses this method to create an instance of a PKCS#11 RC4 secret key.
 void RC4SecretKey.readAttributes(Session session)
          Read the values of the attributes of this object from the token.
 void Mechanism.readAttributes(Session session)
          Read the values of the attributes of this object from the token.
static Object TwofishSecretKey.getInstance(Session session, long objectHandle)
          The getInstance method of the SecretKey class uses this method to create an instance of a PKCS#11 generic Secret key.
 void TwofishSecretKey.readAttributes(Session session)
          Read the values of the attributes of this object from the token.
static Object DES3SecretKey.getInstance(Session session, long objectHandle)
          The getInstance method of the SecretKey class uses this method to create an instance of a PKCS#11 Triple-DES Secret key.
 void DES3SecretKey.readAttributes(Session session)
          Read the values of the attributes of this object from the token.
static Object WTLSCertificate.getInstance(Session session, long objectHandle)
          The getInstance method of the Certificate class uses this method to create an instance of a PKCS#11 WTLS public key certificate.
 void WTLSCertificate.readAttributes(Session session)
          Read the values of the attributes of this object from the token.
static Object X942DHPrivateKey.getInstance(Session session, long objectHandle)
          The getInstance method of the PrivateKey class uses this method to create an instance of a PKCS#11 X9.42 DH private key.
 void X942DHPrivateKey.readAttributes(Session session)
          Read the values of the attributes of this object from the token.
 Object HardwareFeature.VendorDefinedHardwareFeatureBuilder.build(Session session, long objectHandle)
          This method should instanciate an Object of this class or of any sub-class.
 

Constructors in iaik.pkcs.pkcs11.objects with parameters of type Session
Object(Session session, long objectHandle)
          The subclasses that are used to create objects by reading the attributes from the token should call this super-constructor first.
Storage(Session session, long objectHandle)
          Constructor taking the reference to the PKCS#11 module for accessing the object's attributes, the session handle to use for reading the attribute values and the object handle.
DomainParameters(Session session, long objectHandle)
          Called by sub-classes to create an instance of PKCS#11 domain parameters.
DSAParams(Session session, long objectHandle)
          Called by getInstance to create an instance of a PKCS#11 DSA private key.
HardwareFeature(Session session, long objectHandle)
          Called by getInstance to create an instance of a PKCS#11 hardware feature.
UserInterface(Session session, long objectHandle)
          Called by getInstance to create an instance of a PKCS#11 user interface.
Key(Session session, long objectHandle)
          Called by sub-classes to create an instance of a PKCS#11 key.
SecretKey(Session session, long objectHandle)
          Called by sub-classes to create an instance of a PKCS#11 secret key.
GenericSecretKey(Session session, long objectHandle)
          Called by getInstance to create an instance of a PKCS#11 generic secret key.
CAST3SecretKey(Session session, long objectHandle)
          Called by getInstance to create an instance of a PKCS#11 CAST3 secret key.
BlowfishSecretKey(Session session, long objectHandle)
          Called by getInstance to create an instance of a PKCS#11 generic secret key.
MonotonicCounter(Session session, long objectHandle)
          Called by getInstance to create an instance of a PKCS#11 monotonic counter.
PublicKey(Session session, long objectHandle)
          Called by sub-classes to create an instance of a PKCS#11 public key.
SkipJackSecretKey(Session session, long objectHandle)
          Called by getInstance to create an instance of a PKCS#11 SkipJack secret key.
DHPublicKey(Session session, long objectHandle)
          Called by getInstance to create an instance of a PKCS#11 DH public key.
X942DHPublicKey(Session session, long objectHandle)
          Called by getInstance to create an instance of a PKCS#11 X9.42 DH public key.
AESSecretKey(Session session, long objectHandle)
          Called by getInstance to create an instance of a PKCS#11 AES secret key.
DHParams(Session session, long objectHandle)
          Called by getInstance to create an instance of a PKCS#11 DH private key.
X942DHParams(Session session, long objectHandle)
          Called by getInstance to create an instance of a PKCS#11 DH private key.
DES2SecretKey(Session session, long objectHandle)
          Called by getInstance to create an instance of a PKCS#11 2DES secret key.
PrivateKey(Session session, long objectHandle)
          Called by sub-classes to create an instance of a PKCS#11 private key.
DSAPrivateKey(Session session, long objectHandle)
          Called by getInstance to create an instance of a PKCS#11 DSA private key.
Data(Session session, long objectHandle)
          Called by getInstance to create an instance of a PKCS#11 data object.
Certificate(Session session, long objectHandle)
          Constructor taking the reference to the PKCS#11 module for accessing the object's attributes, the session handle to use for reading the attribute values and the object handle.
KEAPrivateKey(Session session, long objectHandle)
          Called by getInstance to create an instance of a PKCS#11 KEA private key.
X509PublicKeyCertificate(Session session, long objectHandle)
          Called by getInstance to create an instance of a PKCS#11 X.509 public key certificate.
CAST5SecretKey(Session session, long objectHandle)
          Called by getInstance to create an instance of a PKCS#11 CAST5 secret key.
RC5SecretKey(Session session, long objectHandle)
          Called by getInstance to create an instance of a PKCS#11 RC5 secret key.
IDEASecretKey(Session session, long objectHandle)
          Called by getInstance to create an instance of a PKCS#11 IDEA secret key.
ECDSAPublicKey(Session session, long objectHandle)
          Called by getInstance to create an instance of a PKCS#11 ECDSA public key.
RSAPrivateKey(Session session, long objectHandle)
          Called by getInstance to create an instance of a PKCS#11 RSA private key.
JuniperSecretKey(Session session, long objectHandle)
          Called by getInstance to create an instance of a PKCS#11 Juniper secret key.
CASTSecretKey(Session session, long objectHandle)
          Called by getInstance to create an instance of a PKCS#11 CAST secret key.
DSAPublicKey(Session session, long objectHandle)
          Called by getInstance to create an instance of a PKCS#11 DSA public key.
CAST128SecretKey(Session session, long objectHandle)
          Called by getInstance to create an instance of a PKCS#11 CAST128 secret key.
CDMFSecretKey(Session session, long objectHandle)
          Called by getInstance to create an instance of a PKCS#11 CDMF secret key.
RC2SecretKey(Session session, long objectHandle)
          Called by getInstance to create an instance of a PKCS#11 RC2 secret key.
RSAPublicKey(Session session, long objectHandle)
          Called by getInstance to create an instance of a PKCS#11 RSA public key.
KEAPublicKey(Session session, long objectHandle)
          Called by getInstance to create an instance of a PKCS#11 KEA public key.
DHPrivateKey(Session session, long objectHandle)
          Called by getInstance to create an instance of a PKCS#11 DH private key.
DESSecretKey(Session session, long objectHandle)
          Called by getInstance to create an instance of a PKCS#11 DES secret key.
BatonSecretKey(Session session, long objectHandle)
          Called by getInstance to create an instance of a PKCS#11 BATON secret key.
Clock(Session session, long objectHandle)
          Called by getInstance to create an instance of a PKCS#11 clock.
ECDSAPrivateKey(Session session, long objectHandle)
          Called by getInstance to create an instance of a PKCS#11 ECDSA private key.
X509AttributeCertificate(Session session, long objectHandle)
          Called by getInstance to create an instance of a PKCS#11 X.509 attribute certificate.
RC4SecretKey(Session session, long objectHandle)
          Called by getInstance to create an instance of a PKCS#11 RC4 secret key.
Mechanism(Session session, long objectHandle)
          Constructor taking the reference to the PKCS#11 module for accessing the object's attributes, the session handle to use for reading the attribute values and the object handle.
TwofishSecretKey(Session session, long objectHandle)
          Called by getInstance to create an instance of a PKCS#11 generic secret key.
DES3SecretKey(Session session, long objectHandle)
          Called by getInstance to create an instance of a PKCS#11 Triple-DES secret key.
WTLSCertificate(Session session, long objectHandle)
          Called by getInstance to create an instance of a PKCS#11 WTLS public key certificate.
X942DHPrivateKey(Session session, long objectHandle)
          Called by getInstance to create an instance of a PKCS#11 X9.42 DH private key.
 

Uses of Session in iaik.pkcs.pkcs11.parameters
 

Methods in iaik.pkcs.pkcs11.parameters with parameters of type Session
 void SSL3KeyMaterialOutParameters.setPKCS11ParamsObject(CK_SSL3_KEY_MAT_OUT input, Session session)
          This method takes the key handles from the given input structure, which will be the result after a call to DeriveKey, and creates the SecretKey objects for this object.
 


IAIK PKCS#11 Wrapper
version 1.2.18

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