33 #include "dcmtk/config/osconfig.h" 37 #include "dcmtk/ofstd/oftypes.h" 38 #include "dcmtk/ofstd/ofcond.h" 41 #define SI_DEFTERMS_RIPEMD160 "RIPEMD160" 42 #define SI_DEFTERMS_SHA1 "SHA1" 43 #define SI_DEFTERMS_MD5 "MD5" 44 #define SI_DEFTERMS_X509CERT "X509_1993_SIG" 45 #define SI_DEFTERMS_CMS_TS "CMS_TS" 86 extern const OFCondition SI_EC_InitializationFailed;
101 extern const OFCondition SI_EC_CertificateDoesNotMatchPrivateKey;
104 extern const OFCondition SI_EC_MacDoesNotMatchProfile;
107 extern const OFCondition SI_EC_AlgorithmDoesNotMatchProfile;
110 extern const OFCondition SI_EC_TransferSyntaxDoesNotMatchProfile;
115 extern const OFCondition SI_EC_VerificationFailed_NoCertificate;
118 extern const OFCondition SI_EC_VerificationFailed_NoMAC;
121 extern const OFCondition SI_EC_VerificationFailed_NoSignature;
124 extern const OFCondition SI_EC_VerificationFailed_UnsupportedMACAlgorithm;
127 extern const OFCondition SI_EC_VerificationFailed_Corrupted;
130 extern const OFCondition SI_EC_VerificationFailed_NoTrust;
General purpose class for condition codes.