27 #ifndef OPAL_RTP_H235_SESSION_H
28 #define OPAL_RTP_H235_SESSION_H
44 #include <ptclib/pssl.h>
47 class H2356_CryptoSuite;
50 #define H235_6_CODED_TO_CORRECT_SPECIFICATION 0
65 H2356_KeyInfo(
const H2356_CryptoSuite & cryptoSuite);
67 virtual PObject * Clone()
const;
68 virtual Comparison Compare(
const PObject & other)
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;
97 virtual bool ChangeSessionType(PCaselessString & mediaSession, KeyExchangeModes modes)
const;
111 static const PCaselessString & SessionType();
113 H2356_Session(
const Init & init);
117 virtual bool Close();
128 Context(
bool encrypt) : m_keyInfo(NULL), m_cipher(encrypt) { }
129 ~Context() {
delete m_keyInfo; }
131 bool Open(H2356_KeyInfo & info);
136 H2356_KeyInfo * m_keyInfo;
137 PSSLCipherContext m_cipher;
144 #endif // OPAL_H235_6
146 #endif // OPAL_RTP_H235_SESSION_H
Definition: h323caps.h:95
virtual const PCaselessString & GetSessionType() const
Definition: rtp_session.h:111
Definition: rtp_session.h:90
virtual SendReceiveStatus OnSendData(RewriteMode &rewrite, RTP_DataFrame &frame, const PTime &now)
virtual SendReceiveStatus OnReceiveData(RTP_DataFrame &frame, ReceiveType rxType, const PTime &now)
virtual bool IsEncrypted() const
Definition: rtp_session.h:273