Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

sitstamp.h

00001 /*
00002  *
00003  *  Copyright (C) 1998-2003, OFFIS
00004  *
00005  *  This software and supporting documentation were developed by
00006  *
00007  *    Kuratorium OFFIS e.V.
00008  *    Healthcare Information and Communication Systems
00009  *    Escherweg 2
00010  *    D-26121 Oldenburg, Germany
00011  *
00012  *  THIS SOFTWARE IS MADE AVAILABLE,  AS IS,  AND OFFIS MAKES NO  WARRANTY
00013  *  REGARDING  THE  SOFTWARE,  ITS  PERFORMANCE,  ITS  MERCHANTABILITY  OR
00014  *  FITNESS FOR ANY PARTICULAR USE, FREEDOM FROM ANY COMPUTER DISEASES  OR
00015  *  ITS CONFORMITY TO ANY SPECIFICATION. THE ENTIRE RISK AS TO QUALITY AND
00016  *  PERFORMANCE OF THE SOFTWARE IS WITH THE USER.
00017  *
00018  *  Module: dcmsign
00019  *
00020  *  Author: Marco Eichelberg
00021  *
00022  *  Purpose:
00023  *    classes: SiTimeStamp
00024  *
00025  *  Last Update:      $Author: meichel $
00026  *  Update Date:      $Date: 2003/06/04 14:21:03 $
00027  *  CVS/RCS Revision: $Revision: 1.4 $
00028  *  Status:           $State: Exp $
00029  *
00030  *  CVS/RCS Log at end of file
00031  *
00032  */
00033 
00034 #ifndef SITSTAMP_H
00035 #define SITSTAMP_H
00036 
00037 #include "osconfig.h"
00038 #include "sitypes.h"
00039 
00040 #ifdef WITH_OPENSSL
00041 
00042 #include "dcerror.h"
00043 
00044 class DcmItem;
00045  
00050 class SiTimeStamp
00051 {    
00052 public:
00053 
00055   SiTimeStamp() { }
00056   
00058   virtual ~SiTimeStamp() { }
00059 
00065   virtual OFCondition stamp(
00066     const unsigned char *inputData, 
00067     unsigned long inputDataSize) = 0;
00068 
00074   virtual OFCondition write(DcmItem& item) = 0;
00075 
00076 };
00077 
00078 #endif
00079 #endif
00080 
00081 /*
00082  *  $Log: sitstamp.h,v $
00083  *  Revision 1.4  2003/06/04 14:21:03  meichel
00084  *  Simplified include structure to avoid preprocessor limitation
00085  *    (max 32 #if levels) on MSVC5 with STL.
00086  *
00087  *  Revision 1.3  2001/09/26 14:30:22  meichel
00088  *  Adapted dcmsign to class OFCondition
00089  *
00090  *  Revision 1.2  2001/06/01 15:50:51  meichel
00091  *  Updated copyright header
00092  *
00093  *  Revision 1.1  2000/11/07 16:49:00  meichel
00094  *  Initial release of dcmsign module for DICOM Digital Signatures
00095  *
00096  *
00097  */
00098 


Generated on 8 Dec 2004 for OFFIS DCMTK Version 3.5.3 by Doxygen 1.3.9.1