]>
git.saurik.com Git - apple/security.git/blob - OSX/utilities/der_set.h
5 // Created by Richard Murphy on 1/22/15.
6 // Copyright © 2015 Apple Inc. All rights reserved.
9 #ifndef _utilities_der_set_
10 #define _utilities_der_set_
13 #include <CoreFoundation/CoreFoundation.h>
14 #include <corecrypto/ccder.h>
16 // If you provide a set in *set, we will add elements to it and return the union.
17 const uint8_t* der_decode_set(CFAllocatorRef allocator
,
18 CFSetRef
* set
, CFErrorRef
*error
,
19 const uint8_t* der
, const uint8_t *der_end
);
21 size_t der_sizeof_set(CFSetRef dict
, CFErrorRef
*error
);
23 uint8_t* der_encode_set(CFSetRef set
, CFErrorRef
*error
,
24 const uint8_t *der
, uint8_t *der_end
);
27 #endif /* defined(_utilities_der_set_) */