|   | Cryptographic Token Interface Standard | PKCS#11 | 
CK_SESSION_INFO Reference
 CK_SESSION_INFO; CK_SESSION_INFO_PTR
 CK_SESSION_INFO provides information about a session. 
More...
Detailed Description
 CK_SESSION_INFO; CK_SESSION_INFO_PTR
 CK_SESSION_INFO provides information about a session. It is defined as follows:  | slotID | ID of the slot that interfaces with the token | 
| state | the state of the session | 
| flags | bit flags that define the type of session; the flags are defined below | 
| ulDeviceError | an error code defined by the cryptographic device. Used for errors not covered by Cryptoki. | 
The following table defines the flags field:
 Table 12, Session Information Flags   
| Bit Flag | Mask | Meaning | 
| CKF_RW_SESSION | 0x00000002 | TRUE if the session is read/write; FALSE if the session is read-only | 
| CKF_SERIAL_SESSION | 0x00000004 | This flag is provided for backward compatibility, and should always be set to TRUE | 
 
CK_SESSION_INFO_PTR is a pointer to a CK_SESSION_INFO. 
Field Documentation
  
    |  | 
ID of the slot that interfaces with the token.      | 
  
    |  | 
the state of the session.      | 
  
    |  | 
bit flags that define the type of session; the flags are defined below.      | 
  
    |  | 
an error code defined by the cryptographic device. Used for errors not covered by Cryptoki.      | 
RSA Security Inc. Public-Key Cryptography Standards - 
PKCS#11 - v211