11.07.2015 Views

Borland VisiBroker® 7.0 - Borland Technical Publications

Borland VisiBroker® 7.0 - Borland Technical Publications

Borland VisiBroker® 7.0 - Borland Technical Publications

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

General APIUse this to login to the system using the specified CallbackHandler to obtain the logininformation.ParameterhandlerDescriptionThe default callback handler to be use for acquiring information.void login (const std::string& realm)Login into the system for a specific realm.ParameterrealmDescriptionThe realm to login to.void login (const std::string& realm, vbsec::CallbackHandler& handler)Login into the system for a given realm, using a given callback handler for acquiringinformation.ParameterrealmhandlerDescriptionThe realm to login to.The default callback handler to be use for acquiring information.void login (const vbsec::Wallet& wallet)Login into the system with a wallet. Wallet can be created using WalletFactory API.ParameterwalletDescriptionThe wallet to be used for login.void login (const std::vector& wallet)Login into the system with a set of wallets specified as a vector.ParameterwalletDescriptionA wallet to be used for loginconst vbsec::Subject* getSubject (const std::string& realm)Gets the Subject corresponding to a given realm.ParameterrealmDescriptionThe Realm for the PrincipalReturnsA pointer to the Subject object representing the subject of the realm.void loadVault (std::istream& stream, const CSI::UTF8String& vaultPass)Loads a given vault. The identities in the vault are loaded into the system. No loginrequired when this method is used.ParameterstreamvaultPassDescriptionStream that the vault information will be read from, in binary format.Password used to decrypt the vault information.void logout()Log the user out from all the realms.void logout (const std::string& realm)Chapter 11: VisiSecure for C++ APIs 97

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!