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.

SSL APIclass CipherSuiteNameThis class provides information about the ciphers used in the Security Service.Include FileThe csstring.h file should be included when you use this class.Methodsstatic const char* toString (int tag)Return a standard representation of a supported SSL cipher.ParametertagDescriptiontag associated with the cipher name.ReturnsReturns a stringified description of the cipher.static const int fromString (char* description)Give the tag associated to the given cipher description.ParameterdescriptionDescriptionThe stringified description of the cipher.ReturnsThe tag associated with the cipher name provided as the argument.class vbsec::SecureSocketProviderA SecureSocketProvider is the provider for secure socket connections. It provides thefunction of creating the SSL context, handling SSL certificates, and managing othersecure socket-related information.Include FileThe vbssp.h file should be included when you use this class.Methodsvbsec::VBSSLContext* createSSLContext (const CORBAsec::X509CertList& chain,const CORBAsec::ASN1Object& privkey,const CSI::UTF8String& password)This method create a SSL context using the given information. The SSL context canthen be passed into vbsec::Context and used to establish an SSL connection.ParameterchainprivkeypasswordDescriptionThe certificate chainThe private key object.The password for the private key.ReturnsVBSSLcontext containing the given information.void setPRNGSeed (const ssl::Current::PRNGSeed& seed)Chapter 11: VisiSecure for C++ APIs 105

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

Saved successfully!

Ooh no, something went wrong!