Main Page | Modules | Alphabetical List | Class List | File List | Class Members

CryptoService.Dispatcher Class Reference
[The Dispatcher Class Module]

This class manage the filtering and the Dispatching of the request wich come from by the DKMSClientInterface. More...

Collaboration diagram for CryptoService.Dispatcher:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void CS_Dispacher (string RxProtocolBlock, out string TxProtocolBlock)
 This is a function used in order to chose the requested crypto method.
 Dispatcher ()
 Dispatcher class constructor.

Private Member Functions

void CS_CloseSession ()
 This is a function used in order to close a session between an application and a token.
void CS_CompactDecrypt ()
 This is a function used in order to initialize a decryption operation and for decrypt single-part data.
void CS_CompactDigest ()
 This is a function used in order to initialize a digest operation and digest data in a single part.
void CS_CompactEncrypt ()
 This is a function used in order to initialize an encryption operation and encrypt single-part data.
void CS_CompactFindObjects ()
 This is a function used in order to search for token and session objects that match a template, obtaining additional object handles.
void CS_CompactGenerateRandom ()
 This is a function used in order to mix additional seed material into the token’s random number generator and generate random or pseudo-random data.
void CS_CompactSign ()
 This is a function used in order to initialize a signature operation and sign data in a single part, where the signature is an appendix to the data.
void CS_CompactSignRecover ()
 This is a function used in order to initialize a signature operation and sign data in a single operation, where the data can be recovered from the signature.
void CS_CompactVerify ()
 This is a function used in order to initialize a verification operation and verify a signature in a single-part operation, where the signature is an appendix to the data.
void CS_CompactVerifyRecover ()
 This is a function used in order to initialize a signature verification operation and verify a signature in a single-part operation, where the data is recovered from the signature.
void CS_CreateObject ()
 This is a function used in order to create a new object.
void CS_Decrypt ()
 This is a function used in order to decrypt single-part data.
void CS_DecryptDigestUpdate ()
 This is a function used in order to continue a multiple-part combined decryption and digest operation, processing another data part.
void CS_DecryptFinal ()
 This is a function used in order to finish a multiple-part decryption operation.
void CS_DecryptInit ()
 This is a function used in order to initialize a decryption operation.
void CS_DecryptUpdate ()
 This is a function used in order to continue a multiple-part decryption operation, processing another encrypted data part.
void CS_DecryptVerifyUpdate ()
 This is a function used in order to continue a multiple-part combined decryption and verification operation, processing another data part.
void CS_DeriveKey ()
 This is a function used in order to derive a key from a base key, creating a new key object.
void CS_DestroyObject ()
 This is a function used in order to destroy an object.
void CS_Digest ()
 This is a function used in order to digest data in a single part.
void CS_DigestEncryptUpdate ()
 This is a function used in order to continue multiple-part digest and encryption operations, processing another data part.
void CS_DigestFinal ()
 This is a function used in order to finish a multiple-part message-digesting operation, returning the message digest.
void CS_DigestInit ()
 This is a function used in order to initialize a digest operation.
void CS_DigestKey ()
 This is a function used in order to continue a multiple-part message-digesting operation by digesting the value of a secret key.
void CS_DigestUpdate ()
 This is a function used in order to continue a multiple-part message-digesting operation, processing another data part.
void CS_Encrypt ()
 This is a function used in order to encrypt single-part data.
void CS_EncryptFinal ()
 This is a function used in order to finish a multiple-part encryption operation.
void CS_EncryptInit ()
 This is a function used in order to initialize an encryption operation.
void CS_EncryptUpdate ()
 This is a function used in order to continue a multiple-part encryption operation, processing another data part.
void CS_FindObjects ()
 This is a function used in order to continue a search for token and session objects that match a template, obtaining additional object handles.
void CS_FindObjectsFinal ()
 This is a function used in order to terminate a search for token and session objects.
void CS_FindObjectsInit ()
 This is a function used in order to initialize a search for token and session objects that match a template.
void CS_GenerateKey ()
 This is a function used in order to generate a secret key, creating a new key object.
void CS_GenerateKeyPair ()
 This is a function used in order to generate a public/private key pair, creating new key objects.
void CS_GenerateRandom ()
 This is a function used in order to generate random or pseudo-random data.
void CS_GetAttributeValue ()
 This is a function used in order to obtain the value of one or more attributes of an object.
void CS_GetInfo ()
 This is a function used in order to returns general information about Cryptoki.
void CS_GetMechanismInfo ()
 This is a function used in order to obtains information about a particular mechanism.
void CS_GetMechanismList ()
 This is a function used in order to obtain a list of mechanism types supported by a token.
void CS_GetObjectSize ()
 This is a function used in order to get the size of an object in bytes.
void CS_GetSessionInfo ()
 This is a function used in order to obtain information about a session.
void CS_GetSlotInfo ()
 This is a function used in order to obtain information about a particular slot in the system.
void CS_GetSlotList ()
 This is a function used in order to obtain a list of slots in the system.
void CS_GetTokenInfo ()
 This is a function used in order to obtains information about a particular token in the system.
void CS_InitPIN ()
 This is a function used in order to initialize the normal user’s PIN.
void CS_InitToken ()
 This is a function used in order to initialize a token.
void CS_Login ()
 This is a function used in order to log a user into a token.
void CS_Logout ()
 This is a function used in order to log a user out from a token.
void CS_OpenSession ()
 This is a function used in order to open a session between an application and a token in a particular slot.
void CS_SeedRandom ()
 This is a function used in order to mix additional seed material into the token’s random number generator.
void CS_SetAttributeValue ()
 This is a function used in order to modifie the value of one or more attributes of an object.
void CS_SetPIN ()
 This is a function used in order to modifie the PIN of the user that is currently logged in.
void CS_SetPolicy ()
 This is a function used in order to set the device policy.
void CS_Sign ()
 This is a function used in order to sign data in a single part, where the signature is an appendix to the data.
void CS_SignEncryptUpdate ()
 This is a function used in order to continue a multiple-part combined signature and encryption operation, processing another data part.
void CS_SignFinal ()
 This is a function used in order to finish a multiple-part signature operation, returning the signature.
void CS_SignInit ()
 This is a function used in order to initialize a signature operation, where the signature is an appendix to the data.
void CS_SignRecover ()
 This is a function used in order to sign data in a single operation, where the data can be recovered from the signature.
void CS_SignRecoverInit ()
 This is a function used in order to initialize a signature operation, where the data can be recovered from the signature.
void CS_SignUpdate ()
 This is a function used in order to continue a multiple-part signature operation, processing another data part.
void CS_TestDeviceComunication ()
 This is a function used in order to test that the device service requested by the client it's the same of the current service.
void CS_UnwrapKey ()
 This is a function used in order to Unwraps (decrypts) a wrapped key, creating a new private key or secret key object.
void CS_Verify ()
 This is a function used in order to verify a signature in a single-part operation, where the signature is an appendix to the data.
void CS_VerifyFinal ()
 This is a function used in order to finish a multiple-part verification operation, checking the signature.
void CS_VerifyInit ()
 This is a function used in order to initialize a verification operation, where the signature is an appendix to the data.
void CS_VerifyRecover ()
 This is a function used in order to verify a signature in a single-part operation, where the data is recovered from the signature.
void CS_VerifyRecoverInit ()
 This is a function used in order to initialize a signature verification operation, where the data is recovered from the signature.
void CS_VerifyUpdate ()
 This is a function used in order to continue a multiple-part verification operation, processing another data part.
void CS_WrapKey ()
 This is a function used in order to wrap (encrypts) a private or secret key.

Private Attributes

Containers _c
 Local copy of Containers class instance.
CryptoCore _cc
 Local copy of CryptoCore class instance.
ProtocolManager _pm
 The DKMSProtocolManager class instance.
CryptoCore.Smf _smf
 The DKMSProtocol class instance.
CryptoCore.Stmf _stmf
 The Stmf class instance.
ProtocolManager.Config config
 The local current Config structure field.

Detailed Description

This class manage the filtering and the Dispatching of the request wich come from by the DKMSClientInterface.


Constructor & Destructor Documentation

CryptoService.Dispatcher.Dispatcher  ) 
 

Dispatcher class constructor.


Member Function Documentation

void CryptoService.Dispatcher.CS_CloseSession  )  [private]
 

This is a function used in order to close a session between an application and a token.

void CryptoService.Dispatcher.CS_CompactDecrypt  )  [private]
 

This is a function used in order to initialize a decryption operation and for decrypt single-part data.

void CryptoService.Dispatcher.CS_CompactDigest  )  [private]
 

This is a function used in order to initialize a digest operation and digest data in a single part.

void CryptoService.Dispatcher.CS_CompactEncrypt  )  [private]
 

This is a function used in order to initialize an encryption operation and encrypt single-part data.

void CryptoService.Dispatcher.CS_CompactFindObjects  )  [private]
 

This is a function used in order to search for token and session objects that match a template, obtaining additional object handles.

void CryptoService.Dispatcher.CS_CompactGenerateRandom  )  [private]
 

This is a function used in order to mix additional seed material into the token’s random number generator and generate random or pseudo-random data.

void CryptoService.Dispatcher.CS_CompactSign  )  [private]
 

This is a function used in order to initialize a signature operation and sign data in a single part, where the signature is an appendix to the data.

void CryptoService.Dispatcher.CS_CompactSignRecover  )  [private]
 

This is a function used in order to initialize a signature operation and sign data in a single operation, where the data can be recovered from the signature.

void CryptoService.Dispatcher.CS_CompactVerify  )  [private]
 

This is a function used in order to initialize a verification operation and verify a signature in a single-part operation, where the signature is an appendix to the data.

void CryptoService.Dispatcher.CS_CompactVerifyRecover  )  [private]
 

This is a function used in order to initialize a signature verification operation and verify a signature in a single-part operation, where the data is recovered from the signature.

void CryptoService.Dispatcher.CS_CreateObject  )  [private]
 

This is a function used in order to create a new object.

void CryptoService.Dispatcher.CS_Decrypt  )  [private]
 

This is a function used in order to decrypt single-part data.

void CryptoService.Dispatcher.CS_DecryptDigestUpdate  )  [private]
 

This is a function used in order to continue a multiple-part combined decryption and digest operation, processing another data part.

void CryptoService.Dispatcher.CS_DecryptFinal  )  [private]
 

This is a function used in order to finish a multiple-part decryption operation.

void CryptoService.Dispatcher.CS_DecryptInit  )  [private]
 

This is a function used in order to initialize a decryption operation.

void CryptoService.Dispatcher.CS_DecryptUpdate  )  [private]
 

This is a function used in order to continue a multiple-part decryption operation, processing another encrypted data part.

void CryptoService.Dispatcher.CS_DecryptVerifyUpdate  )  [private]
 

This is a function used in order to continue a multiple-part combined decryption and verification operation, processing another data part.

void CryptoService.Dispatcher.CS_DeriveKey  )  [private]
 

This is a function used in order to derive a key from a base key, creating a new key object.

void CryptoService.Dispatcher.CS_DestroyObject  )  [private]
 

This is a function used in order to destroy an object.

void CryptoService.Dispatcher.CS_Digest  )  [private]
 

This is a function used in order to digest data in a single part.

void CryptoService.Dispatcher.CS_DigestEncryptUpdate  )  [private]
 

This is a function used in order to continue multiple-part digest and encryption operations, processing another data part.

void CryptoService.Dispatcher.CS_DigestFinal  )  [private]
 

This is a function used in order to finish a multiple-part message-digesting operation, returning the message digest.

void CryptoService.Dispatcher.CS_DigestInit  )  [private]
 

This is a function used in order to initialize a digest operation.

void CryptoService.Dispatcher.CS_DigestKey  )  [private]
 

This is a function used in order to continue a multiple-part message-digesting operation by digesting the value of a secret key.

void CryptoService.Dispatcher.CS_DigestUpdate  )  [private]
 

This is a function used in order to continue a multiple-part message-digesting operation, processing another data part.

void CryptoService.Dispatcher.CS_Dispacher string  RxProtocolBlock,
out string  TxProtocolBlock
 

This is a function used in order to chose the requested crypto method.

Parameters:
[in] RxProtocolBlock is the received DKMS Protocol data block
[out] TxProtocolBlock is the DKMS Protocol data block to be transmit

Here is the call graph for this function:

void CryptoService.Dispatcher.CS_Encrypt  )  [private]
 

This is a function used in order to encrypt single-part data.

void CryptoService.Dispatcher.CS_EncryptFinal  )  [private]
 

This is a function used in order to finish a multiple-part encryption operation.

void CryptoService.Dispatcher.CS_EncryptInit  )  [private]
 

This is a function used in order to initialize an encryption operation.

void CryptoService.Dispatcher.CS_EncryptUpdate  )  [private]
 

This is a function used in order to continue a multiple-part encryption operation, processing another data part.

void CryptoService.Dispatcher.CS_FindObjects  )  [private]
 

This is a function used in order to continue a search for token and session objects that match a template, obtaining additional object handles.

void CryptoService.Dispatcher.CS_FindObjectsFinal  )  [private]
 

This is a function used in order to terminate a search for token and session objects.

void CryptoService.Dispatcher.CS_FindObjectsInit  )  [private]
 

This is a function used in order to initialize a search for token and session objects that match a template.

void CryptoService.Dispatcher.CS_GenerateKey  )  [private]
 

This is a function used in order to generate a secret key, creating a new key object.

void CryptoService.Dispatcher.CS_GenerateKeyPair  )  [private]
 

This is a function used in order to generate a public/private key pair, creating new key objects.

void CryptoService.Dispatcher.CS_GenerateRandom  )  [private]
 

This is a function used in order to generate random or pseudo-random data.

void CryptoService.Dispatcher.CS_GetAttributeValue  )  [private]
 

This is a function used in order to obtain the value of one or more attributes of an object.

void CryptoService.Dispatcher.CS_GetInfo  )  [private]
 

This is a function used in order to returns general information about Cryptoki.

void CryptoService.Dispatcher.CS_GetMechanismInfo  )  [private]
 

This is a function used in order to obtains information about a particular mechanism.

void CryptoService.Dispatcher.CS_GetMechanismList  )  [private]
 

This is a function used in order to obtain a list of mechanism types supported by a token.

void CryptoService.Dispatcher.CS_GetObjectSize  )  [private]
 

This is a function used in order to get the size of an object in bytes.

void CryptoService.Dispatcher.CS_GetSessionInfo  )  [private]
 

This is a function used in order to obtain information about a session.

void CryptoService.Dispatcher.CS_GetSlotInfo  )  [private]
 

This is a function used in order to obtain information about a particular slot in the system.

void CryptoService.Dispatcher.CS_GetSlotList  )  [private]
 

This is a function used in order to obtain a list of slots in the system.

void CryptoService.Dispatcher.CS_GetTokenInfo  )  [private]
 

This is a function used in order to obtains information about a particular token in the system.

void CryptoService.Dispatcher.CS_InitPIN  )  [private]
 

This is a function used in order to initialize the normal user’s PIN.

void CryptoService.Dispatcher.CS_InitToken  )  [private]
 

This is a function used in order to initialize a token.

void CryptoService.Dispatcher.CS_Login  )  [private]
 

This is a function used in order to log a user into a token.

void CryptoService.Dispatcher.CS_Logout  )  [private]
 

This is a function used in order to log a user out from a token.

void CryptoService.Dispatcher.CS_OpenSession  )  [private]
 

This is a function used in order to open a session between an application and a token in a particular slot.

void CryptoService.Dispatcher.CS_SeedRandom  )  [private]
 

This is a function used in order to mix additional seed material into the token’s random number generator.

void CryptoService.Dispatcher.CS_SetAttributeValue  )  [private]
 

This is a function used in order to modifie the value of one or more attributes of an object.

void CryptoService.Dispatcher.CS_SetPIN  )  [private]
 

This is a function used in order to modifie the PIN of the user that is currently logged in.

void CryptoService.Dispatcher.CS_SetPolicy  )  [private]
 

This is a function used in order to set the device policy.

void CryptoService.Dispatcher.CS_Sign  )  [private]
 

This is a function used in order to sign data in a single part, where the signature is an appendix to the data.

void CryptoService.Dispatcher.CS_SignEncryptUpdate  )  [private]
 

This is a function used in order to continue a multiple-part combined signature and encryption operation, processing another data part.

void CryptoService.Dispatcher.CS_SignFinal  )  [private]
 

This is a function used in order to finish a multiple-part signature operation, returning the signature.

void CryptoService.Dispatcher.CS_SignInit  )  [private]
 

This is a function used in order to initialize a signature operation, where the signature is an appendix to the data.

void CryptoService.Dispatcher.CS_SignRecover  )  [private]
 

This is a function used in order to sign data in a single operation, where the data can be recovered from the signature.

void CryptoService.Dispatcher.CS_SignRecoverInit  )  [private]
 

This is a function used in order to initialize a signature operation, where the data can be recovered from the signature.

void CryptoService.Dispatcher.CS_SignUpdate  )  [private]
 

This is a function used in order to continue a multiple-part signature operation, processing another data part.

void CryptoService.Dispatcher.CS_TestDeviceComunication  )  [private]
 

This is a function used in order to test that the device service requested by the client it's the same of the current service.

void CryptoService.Dispatcher.CS_UnwrapKey  )  [private]
 

This is a function used in order to Unwraps (decrypts) a wrapped key, creating a new private key or secret key object.

void CryptoService.Dispatcher.CS_Verify  )  [private]
 

This is a function used in order to verify a signature in a single-part operation, where the signature is an appendix to the data.

void CryptoService.Dispatcher.CS_VerifyFinal  )  [private]
 

This is a function used in order to finish a multiple-part verification operation, checking the signature.

void CryptoService.Dispatcher.CS_VerifyInit  )  [private]
 

This is a function used in order to initialize a verification operation, where the signature is an appendix to the data.

void CryptoService.Dispatcher.CS_VerifyRecover  )  [private]
 

This is a function used in order to verify a signature in a single-part operation, where the data is recovered from the signature.

void CryptoService.Dispatcher.CS_VerifyRecoverInit  )  [private]
 

This is a function used in order to initialize a signature verification operation, where the data is recovered from the signature.

void CryptoService.Dispatcher.CS_VerifyUpdate  )  [private]
 

This is a function used in order to continue a multiple-part verification operation, processing another data part.

void CryptoService.Dispatcher.CS_WrapKey  )  [private]
 

This is a function used in order to wrap (encrypts) a private or secret key.


Member Data Documentation

Containers CryptoService.Dispatcher._c [private]
 

Local copy of Containers class instance.

CryptoCore CryptoService.Dispatcher._cc [private]
 

Local copy of CryptoCore class instance.

ProtocolManager CryptoService.Dispatcher._pm [private]
 

The DKMSProtocolManager class instance.

CryptoCore.Smf CryptoService.Dispatcher._smf [private]
 

The DKMSProtocol class instance.

CryptoCore.Stmf CryptoService.Dispatcher._stmf [private]
 

The Stmf class instance.

ProtocolManager.Config CryptoService.Dispatcher.config [private]
 

The local current Config structure field.


The documentation for this class was generated from the following file:
Generated on Tue Jan 10 11:59:13 2006 for DKMS by  doxygen 1.4.3