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 APISets the cipher suites that should be enabled for all SSL sessions.ParametersuitesDescriptionAn IDL-generated CipherSuiteInfoList type.Returnsssl::CipherSuiteInfoList* getEnabledCipherSuites()Gets the set of cipher suites that are currently enabled for all SSL sessions.Cipher suits that are currently enabled for all SSL sessions.void setSSLContext (vbsec::VBSSLContext* ctx)Sets the SSL context. This will allow establishing of an SSL session using theinformation defined in VBSSLContext. A VBSSLContext can be created using theSecureSocketProvider API.ParameterctxDescriptionThe VBSSLContext that is to be used for any SSL session establishment.ReturnsVBSSLContext& getSSLContext()Get the VBSSLContext that is set using the setSSLContext() or return a defaultVBSSLContext object.The VBSSLContext that will be used for any SSLSession establishment.class vbsec::PrincipalPrincipal represents the identity of a user. This is a virtual class.Include fileThe vbsec.h file should be included when you use this class.ReturnsReturnsMethodsstd::string getName() constThe name of the Principal.std::string toString() constGet the string representation of the Principal.The string representation of the Principal.class vbsec::CredentialCredential represents the information used to authenticate an identity, such as username and password. This is a virtual class.Include FileThe vbsec.h file should be included when you use this class.Chapter 11: VisiSecure for C++ APIs 99

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

Saved successfully!

Ooh no, something went wrong!