DCMTK  Version 3.6.1 20120515
OFFIS DICOM Toolkit
Public Member Functions
SiNullProfile Class Reference

defines a "null" security profile that does not require or forbid any MAC algorithm, signature algorithm, or attribute tag. More...

+ Inheritance diagram for SiNullProfile:

List of all members.

Public Member Functions

 SiNullProfile ()
 default constructor
virtual ~SiNullProfile ()
 destructor
virtual OFBool isAllowableMACType (E_MACType macType) const
 checks whether the given MAC type can be used with this security profile.
virtual OFBool isAllowableAlgorithmType (E_KeyType keyType) const
 checks whether the given public/private key algorithm can be used with this security profile.
virtual OFBool isAllowableTransferSyntax (E_TransferSyntax xfer) const
 checks whether the given transfer syntax can be used with this security profile
virtual OFBool attributeRequired (const DcmTagKey &key) const
 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
 checks whether an attribute with the given tag must not be signed for the current security profile.

Detailed Description

defines a "null" security profile that does not require or forbid any MAC algorithm, signature algorithm, or attribute tag.

This class can be used to clean up a proposed attribute list against a dataset.


Member Function Documentation

virtual OFBool SiNullProfile::attributeForbidden ( const DcmTagKey key) const [virtual]

checks whether an attribute with the given tag must not be signed for the current security profile.

Parameters:
keytag key to be checked
Returns:
true if attribute must not be signed, false otherwise.

Implements SiSecurityProfile.

virtual OFBool SiNullProfile::attributeRequired ( const DcmTagKey key) const [virtual]

checks whether an attribute with the given tag is required to be signed for the current security profile.

Parameters:
keytag key to be checked
Returns:
true if required, false otherwise.

Implements SiSecurityProfile.

virtual OFBool SiNullProfile::isAllowableAlgorithmType ( E_KeyType  keyType) const [virtual]

checks whether the given public/private key algorithm can be used with this security profile.

Parameters:
keyTypepublic key algorithm type to be checked
Returns:
true if public key algorithm is allowable for this profile, false otherwise.

Implements SiSecurityProfile.

virtual OFBool SiNullProfile::isAllowableMACType ( E_MACType  macType) const [virtual]

checks whether the given MAC type can be used with this security profile.

Parameters:
macTypeMAC type to be checked
Returns:
true if MAC type is allowable for this profile, false otherwise.

Implements SiSecurityProfile.

virtual OFBool SiNullProfile::isAllowableTransferSyntax ( E_TransferSyntax  xfer) const [virtual]

checks whether the given transfer syntax can be used with this security profile

Parameters:
xfertransfer syntax to be checked
Returns:
true if transfer syntax is allowable for this profile, false otherwise.

Implements SiSecurityProfile.


The documentation for this class was generated from the following file:


Generated on Tue May 15 2012 for DCMTK Version 3.6.1 20120515 by Doxygen 1.7.5.1-20111027