dcmsign/include/dcmtk/dcmsign/sinullpr.h

00001 /*
00002  *
00003  *  Copyright (C) 1998-2010, OFFIS e.V.
00004  *  All rights reserved.  See COPYRIGHT file for details.
00005  *
00006  *  This software and supporting documentation were developed by
00007  *
00008  *    OFFIS e.V.
00009  *    R&D Division Health
00010  *    Escherweg 2
00011  *    D-26121 Oldenburg, Germany
00012  *
00013  *
00014  *  Module: dcmsign
00015  *
00016  *  Author: Marco Eichelberg
00017  *
00018  *  Purpose:
00019  *    classes: SiNullProfile
00020  *
00021  *  Last Update:      $Author: joergr $
00022  *  Update Date:      $Date: 2010-10-14 13:17:25 $
00023  *  CVS/RCS Revision: $Revision: 1.5 $
00024  *  Status:           $State: Exp $
00025  *
00026  *  CVS/RCS Log at end of file
00027  *
00028  */
00029 
00030 #ifndef SINULLPR_H
00031 #define SINULLPR_H
00032 
00033 #include "dcmtk/config/osconfig.h"
00034 #include "dcmtk/dcmsign/sisprof.h"   /* for SiSecurityProfile */
00035 
00036 #ifdef WITH_OPENSSL
00037 
00042 class SiNullProfile: public SiSecurityProfile
00043 {
00044 public:
00045 
00047   SiNullProfile() { }
00048 
00050   virtual ~SiNullProfile() { }
00051   
00056   virtual OFBool isAllowableMACType(E_MACType macType) const;
00057 
00062   virtual OFBool isAllowableAlgorithmType(E_KeyType keyType) const;
00063 
00068   virtual OFBool isAllowableTransferSyntax(E_TransferSyntax xfer) const;
00069 
00075   virtual OFBool attributeRequired(const DcmTagKey& key) const;
00076 
00082   virtual OFBool attributeForbidden(const DcmTagKey& key) const;
00083 
00084 };
00085 
00086 #endif
00087 #endif
00088 
00089 /*
00090  *  $Log: sinullpr.h,v $
00091  *  Revision 1.5  2010-10-14 13:17:25  joergr
00092  *  Updated copyright header. Added reference to COPYRIGHT file.
00093  *
00094  *  Revision 1.4  2005-12-08 16:04:40  meichel
00095  *  Changed include path schema for all DCMTK header files
00096  *
00097  *  Revision 1.3  2003/06/04 14:21:03  meichel
00098  *  Simplified include structure to avoid preprocessor limitation
00099  *    (max 32 #if levels) on MSVC5 with STL.
00100  *
00101  *  Revision 1.2  2001/06/01 15:50:49  meichel
00102  *  Updated copyright header
00103  *
00104  *  Revision 1.1  2000/11/07 16:48:56  meichel
00105  *  Initial release of dcmsign module for DICOM Digital Signatures
00106  *
00107  *
00108  */
00109 


Generated on 6 Jan 2011 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.5.1