The Assimilation Project
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
cryptframe.c File Reference

Implements the CryptFrame class class - A Frame for encrypting packets. More...

#include <string.h>
#include <projectcommon.h>
#include <frameset.h>
#include <cryptframe.h>
#include <frametypes.h>
#include <generic_tlv_min.h>
#include <tlvhelper.h>
Include dependency graph for cryptframe.c:

Go to the source code of this file.

Functions

FSTATIC gboolean _cryptframe_default_isvalid (const Frame *self,gconstpointer tlvptr,gconstpointer pktend)
 CryptFrame class 'isvalid' member function (checks for valid cryptframe objects) More...
 
CryptFramecryptframe_new (guint16 frame_type, guint16 encryption_method, void *keyinfo)
 Construct a new CryptFrame This can only be used directly for creating CryptFrame frames. More...
 
WINEXPORT Framecryptframe_tlvconstructor (gconstpointer tlvstart, gconstpointer pktend, gpointer *ignorednewpkt, gpointer *ignoredpktend)
 Given marshalled packet data corresponding to an CryptFrame (C-style string), return the corresponding Frame In other words, un-marshall the data... More...
 

Detailed Description

Implements the CryptFrame class class - A Frame for encrypting packets.

This frame cannot be usefully subclassed because of restrictions in FrameSets. There are currently no implementations of encryption as of now.

This file is part of the Assimilation Project.

Author
Copyright © 2011, 2012 - Alan Robertson alanr.nosp@m.@uni.nosp@m.x.sh
The Assimilation software is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

The Assimilation software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with the Assimilation Project software. If not, see http://www.gnu.org/licenses/

Definition in file cryptframe.c.