Yate
Public Member Functions | Public Attributes

JGCrypto Class Reference

Content crypto data. More...

#include <yatejingle.h>

Inheritance diagram for JGCrypto:
String GenObject

List of all members.

Public Member Functions

 JGCrypto (const char *tag="1", const char *suite=0, const char *key=0, const char *session=0)
 JGCrypto (const XMLElement *xml)
XMLElementtoXML () const
void fromXML (const XMLElement *xml)

Public Attributes

String m_suite
String m_keyParams
String m_sessionParams

Detailed Description

Content crypto data.

This class holds a content description's crypto data. The tag is kepti in the String component


Constructor & Destructor Documentation

JGCrypto ( const char *  tag = "1",
const char *  suite = 0,
const char *  key = 0,
const char *  session = 0 
) [inline]

Constructor

Parameters:
tagThe tag parameter
suiteThe crypto-suite paramter
keyThe key-params parameter
sessionThe session-param parameter
JGCrypto ( const XMLElement xml) [inline]

Constructor. Build this element from a received element

Parameters:
xmlThe received xml element

Member Function Documentation

void fromXML ( const XMLElement xml)

Build this element from a received element

Parameters:
xmlThe received xml element
XMLElement* toXML ( ) const

Create a 'crypto' element from this object

Returns:
Valid XMLElement pointer

The documentation for this class was generated from the following file: