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: Norbert Loxen, Marco Eichelberg 00017 * 00018 * Purpose: 00019 * classes: SiBaseRSAProfile 00020 * 00021 * Last Update: $Author: joergr $ 00022 * Update Date: $Date: 2010-10-14 13:17:24 $ 00023 * CVS/RCS Revision: $Revision: 1.4 $ 00024 * Status: $State: Exp $ 00025 * 00026 * CVS/RCS Log at end of file 00027 * 00028 */ 00029 00030 #ifndef SIBRSAPR_H 00031 #define SIBRSAPR_H 00032 00033 #include "dcmtk/config/osconfig.h" 00034 #include "dcmtk/dcmsign/sisprof.h" /* for SiSecurityProfile */ 00035 00036 #ifdef WITH_OPENSSL 00037 00040 class SiBaseRSAProfile: public SiSecurityProfile 00041 { 00042 public: 00043 00045 SiBaseRSAProfile() { } 00046 00048 virtual ~SiBaseRSAProfile() { } 00049 00054 virtual OFBool isAllowableMACType(E_MACType macType) const; 00055 00060 virtual OFBool isAllowableAlgorithmType(E_KeyType keyType) const; 00061 00066 virtual OFBool isAllowableTransferSyntax(E_TransferSyntax xfer) const; 00067 00073 virtual OFBool attributeRequired(const DcmTagKey& key) const; 00074 00080 virtual OFBool attributeForbidden(const DcmTagKey& key) const; 00081 00082 }; 00083 00084 #endif 00085 #endif 00086 00087 /* 00088 * $Log: sibrsapr.h,v $ 00089 * Revision 1.4 2010-10-14 13:17:24 joergr 00090 * Updated copyright header. Added reference to COPYRIGHT file. 00091 * 00092 * Revision 1.3 2005-12-08 16:04:32 meichel 00093 * Changed include path schema for all DCMTK header files 00094 * 00095 * Revision 1.2 2003/06/04 14:21:03 meichel 00096 * Simplified include structure to avoid preprocessor limitation 00097 * (max 32 #if levels) on MSVC5 with STL. 00098 * 00099 * Revision 1.1 2001/11/16 15:50:49 meichel 00100 * Adapted digital signature code to final text of supplement 41. 00101 * 00102 * 00103 */ 00104