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 APISSL APIThis section explains the various SSL APIs that interact with VisiSecure's SSLimplementation.class vbsec::SSLSessionSSLSession represents the session of the current SSL connection. The SSLSession canbe gotten from vbsec::Context using getPeerSession().Include FileThe vbssp.h file should be included when you use this class.ReturnsReturnsReturnsReturnsReturnsReturnsMethodstime_t getEstablishmentTime() constGet the time when the SSL connection was established.The time when the SSL connection was established.const ssl::CipherSuiteInfo& getNegotiatedCipher() constThis method returns the negotiated cipher from the peer for a given SSL connection.The negotiated cipher from the peer for a given SSL connection.const CORBAsec::X509CertList& getPeerCertificates() constGet the certificate chain of the peer.Peer certificate chain.const CORBAsec::X509Cert* getTrustpoint() constGet the trust point by which the peer is trusted. Null will be returned if peer does nothave certificates or its certificates are not trusted.The trust point by which the peer is trusted, or null if not.char* getPeerAddress() constGet the IP address of the peer.Peer IP address in a string with the following format: xxx.xx.xx.xx.CORBA::UShort getPeerPort() constReturns the peer port number used by this connection.The port number of the peer on the connection.void prettyPrint (std::ostream& os) constPrint the SSLSession information into the given output stream.ParameterosDescriptionThe output stream to print the SSLSession information.Chapter 11: VisiSecure for C++ APIs 103

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

Saved successfully!

Ooh no, something went wrong!