00001 /* 00002 * 00003 * Copyright (C) 1998-2005, 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: SiNullProfile 00024 * 00025 * Last Update: $Author: meichel $ 00026 * Update Date: $Date: 2005/12/08 16:04:40 $ 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 SINULLPR_H 00035 #define SINULLPR_H 00036 00037 #include "dcmtk/config/osconfig.h" 00038 #include "dcmtk/dcmsign/sisprof.h" /* for SiSecurityProfile */ 00039 00040 #ifdef WITH_OPENSSL 00041 00046 class SiNullProfile: public SiSecurityProfile 00047 { 00048 public: 00049 00051 SiNullProfile() { } 00052 00054 virtual ~SiNullProfile() { } 00055 00060 virtual OFBool isAllowableMACType(E_MACType macType) const; 00061 00066 virtual OFBool isAllowableAlgorithmType(E_KeyType keyType) const; 00067 00072 virtual OFBool isAllowableTransferSyntax(E_TransferSyntax xfer) const; 00073 00079 virtual OFBool attributeRequired(const DcmTagKey& key) const; 00080 00086 virtual OFBool attributeForbidden(const DcmTagKey& key) const; 00087 00088 }; 00089 00090 #endif 00091 #endif 00092 00093 /* 00094 * $Log: sinullpr.h,v $ 00095 * Revision 1.4 2005/12/08 16:04:40 meichel 00096 * Changed include path schema for all DCMTK header files 00097 * 00098 * Revision 1.3 2003/06/04 14:21:03 meichel 00099 * Simplified include structure to avoid preprocessor limitation 00100 * (max 32 #if levels) on MSVC5 with STL. 00101 * 00102 * Revision 1.2 2001/06/01 15:50:49 meichel 00103 * Updated copyright header 00104 * 00105 * Revision 1.1 2000/11/07 16:48:56 meichel 00106 * Initial release of dcmsign module for DICOM Digital Signatures 00107 * 00108 * 00109 */ 00110