org.opensc.pkcs11.wrap
Interface PKCS11SessionChild

All Superinterfaces:
Destroyable
All Known Implementing Classes:
PKCS11Certificate, PKCS11DSAPrivateKey, PKCS11DSAPublicKey, PKCS11Key, PKCS11NeDSAPrivateKey, PKCS11NeRSAPrivateKey, PKCS11Object, PKCS11PrivateKey, PKCS11PublicKey, PKCS11RSAPrivateKey, PKCS11RSAPublicKey

public interface PKCS11SessionChild
extends Destroyable

Author:
wglas This interface is used by any signature/decryption service, which calls PKCS#11 operations on objects, which life in the PKCS#11 session context.

Method Summary
 long getHandle()
           
 long getPvh()
           
 long getSessionHandle()
           
 long getSlotHandle()
           
 
Methods inherited from interface javax.security.auth.Destroyable
destroy, isDestroyed
 

Method Detail

getPvh

long getPvh()
Returns:
Returns the C handle of the underlying provider.

getSlotHandle

long getSlotHandle()
Returns:
Returns the C handle of the slot.

getSessionHandle

long getSessionHandle()
Returns:
Returns the C handle of the session.

getHandle

long getHandle()
Returns:
Returns the C handle of the object.