31 #ifndef OPAL_RTP_H235_SESSION_H
32 #define OPAL_RTP_H235_SESSION_H
48 #include <ptclib/pssl.h>
51 class H2356_CryptoSuite;
66 H2356_KeyInfo(
const H2356_CryptoSuite & cryptoSuite);
68 PObject * Clone()
const;
78 virtual PINDEX GetAuthSaltBits()
const {
return 0; }
92 H2356_CryptoSuite() { }
95 virtual H235SecurityCapability * CreateCapability(
const H323Capability & mediaCapability)
const;
96 virtual bool Supports(
const PCaselessString & proto)
const;
111 static const PCaselessString & SessionType();
113 H2356_Session(
const Init & init);
117 virtual bool Close();
127 Context(
bool encrypt) : m_keyInfo(NULL), m_cipher(encrypt) { }
128 ~Context() {
delete m_keyInfo; }
130 bool Open(H2356_KeyInfo & info);
135 H2356_KeyInfo * m_keyInfo;
136 PSSLCipherContext m_cipher;
143 #endif // OPAL_H235_6
145 #endif // OPAL_RTP_H235_SESSION_H