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: Norbert Loxen, Marco Eichelberg 00021 * 00022 * Purpose: 00023 * classes: SiBaseRSAProfile 00024 * 00025 * Last Update: $Author: meichel $ 00026 * Update Date: $Date: 2005/12/08 16:04:32 $ 00027 * CVS/RCS Revision: $Revision: 1.3 $ 00028 * Status: $State: Exp $ 00029 * 00030 * CVS/RCS Log at end of file 00031 * 00032 */ 00033 00034 #ifndef SIBRSAPR_H 00035 #define SIBRSAPR_H 00036 00037 #include "dcmtk/config/osconfig.h" 00038 #include "dcmtk/dcmsign/sisprof.h" /* for SiSecurityProfile */ 00039 00040 #ifdef WITH_OPENSSL 00041 00044 class SiBaseRSAProfile: public SiSecurityProfile 00045 { 00046 public: 00047 00049 SiBaseRSAProfile() { } 00050 00052 virtual ~SiBaseRSAProfile() { } 00053 00058 virtual OFBool isAllowableMACType(E_MACType macType) const; 00059 00064 virtual OFBool isAllowableAlgorithmType(E_KeyType keyType) const; 00065 00070 virtual OFBool isAllowableTransferSyntax(E_TransferSyntax xfer) const; 00071 00077 virtual OFBool attributeRequired(const DcmTagKey& key) const; 00078 00084 virtual OFBool attributeForbidden(const DcmTagKey& key) const; 00085 00086 }; 00087 00088 #endif 00089 #endif 00090 00091 /* 00092 * $Log: sibrsapr.h,v $ 00093 * Revision 1.3 2005/12/08 16:04:32 meichel 00094 * Changed include path schema for all DCMTK header files 00095 * 00096 * Revision 1.2 2003/06/04 14:21:03 meichel 00097 * Simplified include structure to avoid preprocessor limitation 00098 * (max 32 #if levels) on MSVC5 with STL. 00099 * 00100 * Revision 1.1 2001/11/16 15:50:49 meichel 00101 * Adapted digital signature code to final text of supplement 41. 00102 * 00103 * 00104 */ 00105