Inheritance diagram for SiSecurityProfile:
Public Member Functions | |
SiSecurityProfile () | |
default constructor | |
virtual | ~SiSecurityProfile () |
destructor | |
virtual OFBool | isAllowableMACType (E_MACType macType) const =0 |
checks whether the given MAC type can be used with this security profile. | |
virtual OFBool | isAllowableMAC (const SiMAC &mac) const |
checks whether the given MAC object can be used with this security profile. | |
virtual OFBool | isAllowableAlgorithmType (E_KeyType keyType) const =0 |
checks whether the given public/private key algorithm can be used with this security profile. | |
virtual OFBool | isAllowableAlgorithm (const SiAlgorithm &algo) const |
checks whether the given public/private key object can be used with this security profile. | |
virtual OFBool | isAllowableTransferSyntax (E_TransferSyntax xfer) const=0 |
checks whether the given transfer syntax can be used with this security profile | |
virtual OFBool | attributeRequired (const DcmTagKey &key) const=0 |
checks whether an attribute with the given tag is required to be signed for the current security profile. | |
virtual OFBool | attributeForbidden (const DcmTagKey &key) const=0 |
checks whether an attribute with the given tag must not be signed for the current security profile. | |
virtual OFCondition | updateAttributeList (DcmItem &item, DcmAttributeTag &tagList) |
updates the given list of attribute tags according to the requirements of the current security profile. | |
virtual OFBool | checkAttributeList (DcmItem &item, DcmAttributeTag &tagList) |
checks whether the given list of attribute tags fulfils the requirements of the current security profile for the given dataset. | |
Static Public Member Functions | |
static OFBool | containsTag (DcmAttributeTag &tagList, const DcmTagKey &key) |
checks if the given tag key is contained in the given list. | |
Private Member Functions | |
SiSecurityProfile (SiSecurityProfile &arg) | |
private undefined copy constructor | |
SiSecurityProfile & | operator= (SiSecurityProfile &arg) |
private undefined copy assignment operator |
Definition at line 48 of file sisprof.h.
virtual OFBool SiSecurityProfile::isAllowableMACType | ( | E_MACType | macType | ) | const [pure virtual] |
checks whether the given MAC type can be used with this security profile.
macType | MAC type to be checked |
Implemented in SiBaseRSAProfile, and SiNullProfile.
virtual OFBool SiSecurityProfile::isAllowableMAC | ( | const SiMAC & | mac | ) | const [virtual] |
checks whether the given MAC object can be used with this security profile.
macType | object to be checked |
virtual OFBool SiSecurityProfile::isAllowableAlgorithmType | ( | E_KeyType | keyType | ) | const [pure virtual] |
checks whether the given public/private key algorithm can be used with this security profile.
keyType | public key algorithm type to be checked |
Implemented in SiBaseRSAProfile, and SiNullProfile.
virtual OFBool SiSecurityProfile::isAllowableAlgorithm | ( | const SiAlgorithm & | algo | ) | const [virtual] |
checks whether the given public/private key object can be used with this security profile.
algo | object to be checked |
virtual OFBool SiSecurityProfile::isAllowableTransferSyntax | ( | E_TransferSyntax | xfer | ) | const [pure virtual] |
checks whether the given transfer syntax can be used with this security profile
xfer | transfer syntax to be checked |
Implemented in SiBaseRSAProfile, and SiNullProfile.
virtual OFBool SiSecurityProfile::attributeRequired | ( | const DcmTagKey & | key | ) | const [pure virtual] |
checks whether an attribute with the given tag is required to be signed for the current security profile.
key | tag key to be checked |
Implemented in SiAuthorizationProfile, SiBaseRSAProfile, SiCreatorProfile, and SiNullProfile.
virtual OFBool SiSecurityProfile::attributeForbidden | ( | const DcmTagKey & | key | ) | const [pure virtual] |
checks whether an attribute with the given tag must not be signed for the current security profile.
key | tag key to be checked |
Implemented in SiBaseRSAProfile, and SiNullProfile.
virtual OFCondition SiSecurityProfile::updateAttributeList | ( | DcmItem & | item, | |
DcmAttributeTag & | tagList | |||
) | [virtual] |
updates the given list of attribute tags according to the requirements of the current security profile.
For all elements present in the dataset, the attribute tag is inserted or removed from the list if required by the profile.
item | dataset to be handled | |
tagList | attribute tag list to be updated |
virtual OFBool SiSecurityProfile::checkAttributeList | ( | DcmItem & | item, | |
DcmAttributeTag & | tagList | |||
) | [virtual] |
checks whether the given list of attribute tags fulfils the requirements of the current security profile for the given dataset.
item | dataset to be checked | |
tagList | attribute tag list. |
static OFBool SiSecurityProfile::containsTag | ( | DcmAttributeTag & | tagList, | |
const DcmTagKey & | key | |||
) | [static] |
checks if the given tag key is contained in the given list.
tagList | list of tag keys | |
key | tag key |