/* * * Copyright (C) 1998-2011, OFFIS e.V. * All rights reserved. See COPYRIGHT file for details. * * This software and supporting documentation were developed by * * OFFIS e.V. * R&D Division Health * Escherweg 2 * D-26121 Oldenburg, Germany * * * Module: dcmsign * * Author: Norbert Loxen, Marco Eichelberg * * Purpose: * classes: SiAuthorizationProfile * */ #ifndef SIAUTOPR_H #define SIAUTOPR_H #include "dcmtk/config/osconfig.h" #include "dcmtk/dcmsign/sibrsapr.h" /* for SiBaseRSAProfile */ #ifdef WITH_OPENSSL /** Authorization Digital Signature Profile */ class DCMTK_DCMSIGN_EXPORT SiAuthorizationProfile: public SiBaseRSAProfile { public: /// default constructor SiAuthorizationProfile() { } /// destructor virtual ~SiAuthorizationProfile() { } /** checks whether an attribute with the given tag is required to be signed * for the current security profile. * @param key tag key to be checked * @return true if required, false otherwise. */ virtual OFBool attributeRequired(const DcmTagKey& key) const; }; #endif #endif