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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

General APIReturnsA set of the public credential in the subject which have same runtime information as thegiven one. Modifying the content of the set will have no effect on the subject.Credential::set getPrivateCredentials (const type_info& info) constGet set of private credentials in the subject which have the same runtime typeinformation as provided.ParameterinfoDescriptionThe runtime type information that the returned private credentials shall have.ReturnsA set of the private credentials in the subject which have same runtime information asthe given one. Modifying the content of the set will have no effect on the subject.class vbsec::WalletA Wallet is a holder of credentials usually used in login API calls. A Wallet can becreated using WalletFactory APIs and contain multiple types of credentials.Include FileThe vbsec.h file should be included when you use this class.ReturnsMethodsstd::string getTarget () constGet the target to which wallet authenticates.The string representation of the target information.void populateSubject (Subject& subject)Populate the given subject with necessary credentials or other information forauthentication.ParametersubjectDescriptionThe subject for the wallet to populate.class vbsec::WalletFactoryWalletFactory is a factory class to create multiple types of wallets.Include FileThe vbsec.h file should be included when you use this class.MethodsWallet* createCertificateWallet (const std::string& name,const std::string& password,const std::string& alias,const std::string& keypassword,short usage)Chapter 11: VisiSecure for C++ APIs 101

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

Saved successfully!

Ooh no, something went wrong!