X-Git-Url: https://git.saurik.com/apple/security.git/blobdiff_plain/84aacf34eae6543be9f0280b2015385f91e5c2c6..b54c578e17e9bcbd74aa30ea75e25e955b9a6205:/OSX/sec/SOSCircle/SecureObjectSync/SOSGenCount.h?ds=inline diff --git a/OSX/sec/SOSCircle/SecureObjectSync/SOSGenCount.h b/OSX/sec/SOSCircle/SecureObjectSync/SOSGenCount.h deleted file mode 100644 index fc425951..00000000 --- a/OSX/sec/SOSCircle/SecureObjectSync/SOSGenCount.h +++ /dev/null @@ -1,33 +0,0 @@ -// -// SOSGenCount.h -// sec -// -// Created by Richard Murphy on 1/29/15. -// -// - -#ifndef _sec_SOSGenCount_ -#define _sec_SOSGenCount_ - -#include - -typedef CFNumberRef SOSGenCountRef; - -int64_t SOSGetGenerationSint(SOSGenCountRef gen); -SOSGenCountRef SOSGenerationCreate(void); -SOSGenCountRef SOSGenerationCreateWithValue(int64_t value); -SOSGenCountRef SOSGenerationIncrementAndCreate(SOSGenCountRef gen); -SOSGenCountRef SOSGenerationCopy(SOSGenCountRef gen); -bool SOSGenerationIsOlder(SOSGenCountRef current, SOSGenCountRef proposed); -SOSGenCountRef SOSGenerationCreateWithBaseline(SOSGenCountRef reference); - -SOSGenCountRef SOSGenCountCreateFromDER(CFAllocatorRef allocator, CFErrorRef* error, - const uint8_t** der_p, const uint8_t *der_end); -size_t SOSGenCountGetDEREncodedSize(SOSGenCountRef gencount, CFErrorRef *error); -uint8_t *SOSGenCountEncodeToDER(SOSGenCountRef gencount, CFErrorRef* error, const uint8_t* der, uint8_t* der_end); - -void SOSGenerationCountWithDescription(SOSGenCountRef gen, void (^operation)(CFStringRef description)); -CFStringRef SOSGenerationCountCopyDescription(SOSGenCountRef gen); - - -#endif /* defined(_sec_SOSGenCount_) */