diff -r ebc84c812384 -r 46218c8b8afa Symbian3/PDK/Source/GUID-39C9DD69-504A-529C-ABD3-A73DCAD3F8E9.dita --- a/Symbian3/PDK/Source/GUID-39C9DD69-504A-529C-ABD3-A73DCAD3F8E9.dita Thu Mar 11 15:24:26 2010 +0000 +++ b/Symbian3/PDK/Source/GUID-39C9DD69-504A-529C-ABD3-A73DCAD3F8E9.dita Thu Mar 11 18:02:22 2010 +0000 @@ -1,25 +1,25 @@ - - - - - -How to connect to the security manager

To use the security manager, a client must:

  1. Create a session to the security manager, RBTMan, and open a connection.

  2. Create a subsession to the security manager, RBTSecuritySettings, and open it. A client can have multiple subsessions open if required. (Sessions and subsessions are part of Symbian OS's architecture for interprocess communication: see Client/Server Overview).

  3. Close subsessions and sessions when they are no longer needed.

Example

The following example shows how to connect to the security manager:

-// 1. Create and open session to the security manager -RBTMan secMan; -User::LeaveIfError(secMan.Connect()); - -// 2. Create and open a subsession -RBTSecuritySettings secmanSubSession; -User::LeaveIfError(secmanSubSession.Open(secMan)); - -... -// 3. Cleanup -secmanSubSession.Close(); -secMan.Close(); + + + + + +How to connect to the security manager

To use the security manager, a client must:

  1. Create a session to the security manager, RBTMan, and open a connection.

  2. Create a subsession to the security manager, RBTSecuritySettings, and open it. A client can have multiple subsessions open if required. (Sessions and subsessions are part of Symbian OS's architecture for interprocess communication: see Client/Server Overview).

  3. Close subsessions and sessions when they are no longer needed.

Example

The following example shows how to connect to the security manager:

+// 1. Create and open session to the security manager +RBTMan secMan; +User::LeaveIfError(secMan.Connect()); + +// 2. Create and open a subsession +RBTSecuritySettings secmanSubSession; +User::LeaveIfError(secmanSubSession.Open(secMan)); + +... +// 3. Cleanup +secmanSubSession.Close(); +secMan.Close();
\ No newline at end of file