]> git.saurik.com Git - apple/security.git/blobdiff - Security/sec/SOSCircle/SecureObjectSync/SOSKVSKeys.h
Security-57336.1.9.tar.gz
[apple/security.git] / Security / sec / SOSCircle / SecureObjectSync / SOSKVSKeys.h
diff --git a/Security/sec/SOSCircle/SecureObjectSync/SOSKVSKeys.h b/Security/sec/SOSCircle/SecureObjectSync/SOSKVSKeys.h
deleted file mode 100644 (file)
index d79c4a8..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-
-
-#ifndef SOSKVSKEYS_H
-#define SOSKVSKEYS_H
-
-#include "SOSCircle.h"
-#include <SecureObjectSync/SOSTransportMessage.h>
-#include <SecureObjectSync/SOSTransportMessageKVS.h>
-
-//
-// MARK: Key formation
-//
-
-typedef enum {
-    kCircleKey,
-    kMessageKey,
-    kParametersKey,
-    kInitialSyncKey,
-    kRetirementKey,
-    kAccountChangedKey,
-    kUnknownKey,
-} SOSKVSKeyType;
-
-extern const CFStringRef kSOSKVSKeyParametersKey;
-extern const CFStringRef kSOSKVSInitialSyncKey;
-extern const CFStringRef kSOSKVSAccountChangedKey;
-extern const CFStringRef sCirclePrefix;
-extern const CFStringRef sRetirementPrefix;
-
-
-SOSKVSKeyType SOSKVSKeyGetKeyType(CFStringRef key);
-SOSKVSKeyType SOSKVSKeyGetKeyTypeAndParse(CFStringRef key, CFStringRef *circle, CFStringRef *from, CFStringRef *to);
-
-CFStringRef SOSCircleKeyCreateWithCircle(SOSCircleRef circle, CFErrorRef *error);
-CFStringRef SOSCircleKeyCreateWithName(CFStringRef name, CFErrorRef *error);
-CFStringRef SOSCircleKeyCopyCircleName(CFStringRef key, CFErrorRef *error);
-CFStringRef SOSMessageKeyCreateWithCircleNameAndPeerNames(CFStringRef circleName, CFStringRef from_peer_name, CFStringRef to_peer_name);
-
-CFStringRef SOSMessageKeyCopyCircleName(CFStringRef key, CFErrorRef *error);
-CFStringRef SOSMessageKeyCopyFromPeerName(CFStringRef messageKey, CFErrorRef *error);
-CFStringRef SOSMessageKeyCreateWithCircleAndPeerNames(SOSCircleRef circle, CFStringRef from_peer_name, CFStringRef to_peer_name);
-CFStringRef SOSMessageKeyCreateWithCircleAndPeerInfos(SOSCircleRef circle, SOSPeerInfoRef from_peer, SOSPeerInfoRef to_peer);
-
-CFStringRef SOSRetirementKeyCreateWithCircleNameAndPeer(CFStringRef circle_name, CFStringRef retirement_peer_name);
-CFStringRef SOSRetirementKeyCreateWithCircleAndPeer(SOSCircleRef circle, CFStringRef retirement_peer_name);
-
-CFStringRef SOSMessageKeyCreateFromTransportToPeer(SOSTransportMessageKVSRef transport, CFStringRef peer_name);
-CFStringRef SOSMessageKeyCreateFromPeerToTransport(SOSTransportMessageKVSRef transport, CFStringRef peer_name);
-
-#endif