3 // libsecurity_libSecOTR
5 // Created by Mitch Adler on 2/23/11.
6 // Copyright 2011 Apple Inc. All rights reserved.
9 #include <Security/SecOTRSession.h>
11 #include <CoreFoundation/CFData.h>
13 #ifndef _SECOTRPACKETS_H_
14 #define _SECOTRPACKETS_H_
16 void SecOTRAppendDHMessage(SecOTRSessionRef session
, CFMutableDataRef appendTo
);
17 void SecOTRAppendDHKeyMessage(SecOTRSessionRef session
, CFMutableDataRef appendTo
);
18 void SecOTRAppendRevealSignatureMessage(SecOTRSessionRef session
, CFMutableDataRef appendTo
);
19 void SecOTRAppendSignatureMessage(SecOTRSessionRef session
, CFMutableDataRef appendTo
);
25 kRevealSignatureMessage
= 0x11,
26 kSignatureMessage
= 0x12,
28 kInvalidMessage
= 0xFF