|
The Assimilation Monitoring Project
|
Implements the SignFrame class class - A frame implementing basic Glib digital signatures. More...
#include <string.h>#include <projectcommon.h>#include <frameset.h>#include <signframe.h>#include <frametypes.h>#include <generic_tlv_min.h>#include <tlvhelper.h>
Go to the source code of this file.
Functions | |
| FSTATIC gboolean | _signframe_isvalid (const Frame *self,gconstpointer tlvptr,gconstpointer pktend) |
| SignFrame class 'isvalid' member function - verifies the digital signature. More... | |
| FSTATIC void | _signframe_updatedata (Frame *fself,gpointer tlvptr,gconstpointer pktend,FrameSet *fs) |
| Write/update digital signature in packet. More... | |
| FSTATIC gpointer | _signframe_compute_cksum (GChecksumType cksumtype,gconstpointer tlvptr,gconstpointer pktend) |
| Internal helper routine for computing checksum on data in a frame. More... | |
| SignFrame * | signframe_new (GChecksumType sigtype, gsize framesize) |
| Construct a new SignFrame - allowing for "derived" frame types... More... | |
| Frame * | signframe_tlvconstructor (gconstpointer tlvstart, gconstpointer pktend) |
| Given marshalled data corresponding to a SignFrame (signature frame), return that corresponding Frame In other words, un-marshall the data... More... | |
Implements the SignFrame class class - A frame implementing basic Glib digital signatures.
SignFrames are We validate the signature method, the size of the digital signature, and that the data in following the signature block has the signature that's found in the signature block. This class implements simple checksum digital signatures.
This file is part of the Assimilation Project.
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 signframe.c.