]> git.saurik.com Git - apple/security.git/blob - keychain/SecureObjectSync/SOSCircleDer.h
Security-59306.11.20.tar.gz
[apple/security.git] / keychain / SecureObjectSync / SOSCircleDer.h
1 //
2 // SOSCircleDer.h
3 // sec
4 //
5 // Created by Richard Murphy on 1/22/15.
6 //
7 //
8
9 #ifndef _sec_SOSCircleDer_
10 #define _sec_SOSCircleDer_
11
12 #include <stdio.h>
13
14 size_t der_sizeof_data_or_null(CFDataRef data, CFErrorRef* error);
15
16 uint8_t* der_encode_data_or_null(CFDataRef data, CFErrorRef* error, const uint8_t* der, uint8_t* der_end);
17
18 const uint8_t* der_decode_data_or_null(CFAllocatorRef allocator, CFDataRef* data,
19 CFErrorRef* error,
20 const uint8_t* der, const uint8_t* der_end);
21
22 #endif /* defined(_sec_SOSCircleDer_) */