3 // libsecurity_libSecOTR
5 // Created by Keith Henrickson on 4/30/12.
9 #ifndef messsageProtection_SecMessageProtectionErrors_h
10 #define messsageProtection_SecMessageProtectionErrors_h
12 static const CFIndex kSecOTRErrorFailedToEncrypt
= -1;
13 static const CFIndex kSecOTRErrorFailedToDecrypt
= -2;
14 static const CFIndex kSecOTRErrorFailedToVerify
= -3;
15 static const CFIndex kSecOTRErrorFailedToSign
= -4;
16 static const CFIndex kSecOTRErrorSignatureDidNotMatch
= -5;
17 static const CFIndex kSecOTRErrorFailedSelfTest
= -6;
18 static const CFIndex kSecOTRErrorParameterError
= -7;
19 static const CFIndex kSecOTRErrorUnknownFormat
= -8;
20 static const CFIndex kSecOTRErrorCreatePublicIdentity
= -9;
21 static const CFIndex kSecOTRErrorCreatePublicBytes
= -10;
23 // Errors 100-199 reserved for errors being genrated by workarounds/known issues failing
24 static const CFIndex kSecOTRErrorSignatureTooLarge
= -100;
25 static const CFIndex kSecOTRErrorSignatureDidNotRecreate
= -101;