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 APICreate a certificate wallet using a C++ keystore. The C++ keystore is similar to theJava keystore but is implemented using a directory structure. When logging in with awallet created by this API, the certificate chain will be used in the SSL layer.Parameternamepasswordaliaskeypasswordshort usageDescriptionThe directory name of the keystore.The password for the keystore, not used for this release.The alias to be used in the keystore.The password for the private key of the given alias.The usage of the certificate information, CLIENT, SERVER or ALL.ReturnsCertificate wallet that contains the given information.Wallet* createCertificateWallet (const CORBAsec::X509CertList& chain,const CORBAsec::ASN1Object& privkey,const CSI::UTF8String& password)Create a certificate wallet using a certificate chain, private key and password.ParameterchainprivkeypasswordDescriptionThe certificate chain to create the wallet.The private key of the certificate chain.The password for the private key.ReturnsCertificate wallet that contains the given information.Wallet* createIdentityWallet (const std::string& username,const std::string& password,const std::string& realm)Create a identity wallet using a username, password and realm that the wallet to whichthe wallet authenticates.ParameterusernamepasswordrealmDescriptionThe username of the identity.The password for the identity.The realm to which the wallet authenticates.ReturnsIdentity wallet that contains the given information.Wallet* createIdentityWallet (const std::string& username,const std::string& password,const std::string& realm,const std::vector& groups)Create a identity wallet using a username, password, realm to which the walletauthenticates, and a set of group attributes.ParameterusernamepasswordrealmgroupsDescriptionThe username of the identity.The password for the identity.The realm to which the wallet authenticates.A set of group attributes to which the identity belongs.ReturnsIdentity wallet that contains the given information.102 VisiBroker Security Guide

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

Saved successfully!

Ooh no, something went wrong!