The Session type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
|
|
Close |
Close the current session
|
|
|
Decrypt |
Performs an Decrypt operation
|
|
|
DecryptDigestUpdate |
Update a DecryptDigest operation
|
|
|
DecryptFinal |
Finalizes a Decrypt operation
|
|
|
DecryptInit |
Inits an Decrypt operation
|
|
|
DecryptVerifyUpdate |
Update a DecryptVerify operation
|
|
|
DeriveKey |
Performs a Key Derivation
|
|
|
Digest |
Performs a Digest operation
|
|
|
DigestEncryptUpdate |
Update a DigestEncrypt operation
|
|
|
DigestFinal |
Finalize a Digest operation
|
|
|
DigestInit |
Inits a Digest operation
|
|
|
DigestKey |
Digests a Key
|
|
|
DigestUpdate |
Updates a Digest operation
|
|
|
Encrypt |
Performs an Encrypt operation
|
|
|
EncryptFinal |
Finalizes an Encrypt operation
|
|
|
EncryptInit |
Inits an Encrypt operation
|
|
|
EncryptUpdate |
Updates an Encrypt operation
|
|
|
Equals | (Inherited from Object.) |
|
|
Finalize | (Inherited from Object.) |
|
|
GenerateKey |
Generate a key
|
|
|
GenerateKeyPair |
Generate a key pair
|
|
|
GenerateRandom |
Generate a random number
|
|
|
GetFunctionStatus |
Gets Function Status
|
|
|
GetHashCode | (Inherited from Object.) |
|
|
GetOperationState |
Gets Operation State
|
|
|
GetType | (Inherited from Object.) |
|
|
InitPIN | Overloaded. |
|
|
Login | Overloaded. |
|
|
Logout |
Logout
|
|
|
MemberwiseClone | (Inherited from Object.) |
|
|
SeedRandom |
Seed Random number generator
|
|
|
SetOperationState |
Sets Operation State
|
|
|
SetPIN | Overloaded. |
|
|
Sign |
Performs a Signature operation
|
|
|
SignEncryptUpdate |
Update a SignEncrypt operation
|
|
|
SignFinal |
Finalizes a Signature operation
|
|
|
SignInit |
Inits a Signature operation
|
|
|
SignRecover |
Performs a Sign Recover operation
|
|
|
SignRecoverInit |
Inits a Sign Recoveroperation
|
|
|
SignUpdate |
Updates a Signature operation
|
|
|
ToString | (Inherited from Object.) |
|
|
UnwrapKey |
Unwraps a key
|
|
|
Verify |
Performs a Verify operation
|
|
|
VerifyFinal |
Finalizes a Verify operation
|
|
|
VerifyInit |
Inits a Verify operation
|
|
|
VerifyRecover |
Performs a Verify Recover operation
|
|
|
VerifyRecoverInit |
Inistializes a VerifyRecoverInit operation
|
|
|
VerifyUpdate |
Updates a Verify operation
|
|
|
WrapKey |
Wraps a key
|
Fields
| Name | Description | |
|---|---|---|
|
|
CKF_RW_SESSION | |
|
|
CKF_SERIAL_SESSION | |
|
|
CKU_CONTEXT_SPECIFIC | |
|
|
CKU_SO | |
|
|
CKU_USER |
Properties
| Name | Description | |
|---|---|---|
|
|
Info |
Session Info
|
|
|
IsLoggedIn |
Determines if a user is logged in
|
|
|
IsOpen |
Determines if a session is open
|
|
|
Objects |
List of objects in the session
|
|
|
Token |
Gets the token where this session is open
|