]> git.saurik.com Git - apple/security.git/blobdiff - Security/sec/SOSCircle/SecureObjectSync/SOSTransportKeyParameterKVS.h
Security-57031.1.35.tar.gz
[apple/security.git] / Security / sec / SOSCircle / SecureObjectSync / SOSTransportKeyParameterKVS.h
diff --git a/Security/sec/SOSCircle/SecureObjectSync/SOSTransportKeyParameterKVS.h b/Security/sec/SOSCircle/SecureObjectSync/SOSTransportKeyParameterKVS.h
new file mode 100644 (file)
index 0000000..7e9b6be
--- /dev/null
@@ -0,0 +1,16 @@
+
+#ifndef sec_SOSTransportKeyParameterKVS_h
+#define sec_SOSTransportKeyParameterKVS_h
+
+
+typedef struct __OpaqueSOSTransportKeyParameterKVS *SOSTransportKeyParameterKVSRef;
+
+bool SOSTransportKeyParameterKVSHandleCloudParameterChange(SOSTransportKeyParameterRef transport, CFDataRef data, CFErrorRef* error);
+bool SOSTransportKeyParameterKVSAppendKeyInterests(SOSTransportKeyParameterKVSRef transport, CFMutableArrayRef alwaysKeys, CFMutableArrayRef afterFirstUnlockKeys, CFMutableArrayRef unlockedKeys, CFErrorRef *error);
+SOSTransportKeyParameterKVSRef SOSTransportKeyParameterKVSCreate(SOSAccountRef account, CFErrorRef *error);
+bool SOSTransportKeyParameterHandleKeyParameterChanges(SOSTransportKeyParameterRef transport, CFDataRef data, CFErrorRef error);
+
+bool SOSTransportKeyParameterHandleNewAccount(SOSTransportKeyParameterRef transport);
+
+#endif
+