]> git.saurik.com Git - apple/security.git/blobdiff - keychain/SecureObjectSync/CKBridge/SOSCloudKeychainConstants.h
Security-59306.11.20.tar.gz
[apple/security.git] / keychain / SecureObjectSync / CKBridge / SOSCloudKeychainConstants.h
diff --git a/keychain/SecureObjectSync/CKBridge/SOSCloudKeychainConstants.h b/keychain/SecureObjectSync/CKBridge/SOSCloudKeychainConstants.h
new file mode 100644 (file)
index 0000000..931ac3a
--- /dev/null
@@ -0,0 +1,95 @@
+/*
+ * Copyright (c) 2012-2014 Apple Inc. All Rights Reserved.
+ * 
+ * @APPLE_LICENSE_HEADER_START@
+ * 
+ * This file contains Original Code and/or Modifications of Original Code
+ * as defined in and that are subject to the Apple Public Source License
+ * Version 2.0 (the 'License'). You may not use this file except in
+ * compliance with the License. Please obtain a copy of the License at
+ * http://www.opensource.apple.com/apsl/ and read it before using this
+ * file.
+ * 
+ * The Original Code and all software distributed under the License are
+ * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
+ * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
+ * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
+ * Please see the License for the specific language governing rights and
+ * limitations under the License.
+ * 
+ * @APPLE_LICENSE_HEADER_END@
+ */
+
+/*
+    These constants are used by the XPC service and its clients.
+*/
+
+#ifndef        _CKDXPC_CONSTANTS_H_
+#define _CKDXPC_CONSTANTS_H_
+
+__BEGIN_DECLS
+
+extern const char *kCKPServiceName;
+
+extern const char *kMessageKeyOperation;
+extern const char *kMessageKeyKey;
+extern const char *kMessageKeyValue;
+extern const char *kMessageKeyError;
+extern const char *kMessageKeyVersion;
+extern const char *kMessageKeyGetNewKeysOnly;
+extern const char *kMessageKeyKeysToGet;
+extern const char *kMessageKeyKeysRequireFirstUnlock;
+extern const char *kMessageKeyKeysRequiresUnlocked;
+extern const char *kMessageOperationItemChanged;
+extern const char *kMessageKeyNotificationFlags;
+extern const char *kMessageKeyPeerIDList;
+extern const char *kMessageKeyPeerID;
+extern const char *kMesssgeKeyBackupPeerIDList;
+extern const char *kMessageKeyAccountUUID;
+
+extern const char *kMessageContext;
+extern const char *kMessageKeyParameter;
+extern const char *kMessageCircle;
+extern const char *kMessageMessage;
+
+extern const char *kMessageAlwaysKeys;
+extern const char *kMessageFirstUnlocked;
+extern const char *kMessageUnlocked;
+extern const char *kMessageAllKeys;
+
+
+extern const char *kOperationClearStore;
+extern const char *kOperationSynchronize;
+extern const char *kOperationSynchronizeAndWait;
+extern const char *kOperationPUTDictionary;
+extern const char *kOperationGETv2;
+extern const char *kOperationRegisterKeys;
+extern const char *kOperationRemoveKeys;
+
+extern const char *kOperationHasPendingKey;
+
+extern const uint64_t kCKDXPCVersion;
+
+extern const char *kOperationFlush;
+
+extern const char *kOperationPerfCounters;
+
+extern const char *kOperationRequestSyncWithPeers;
+extern const char *kOperationHasPendingSyncWithPeer;
+
+extern const char *kOperationRequestEnsurePeerRegistration;
+
+extern const char *kOperationGetPendingMesages;
+
+
+extern const char * const kCloudKeychainStorechangeChangeNotification;
+
+extern const char *kNotifyTokenForceUpdate;
+
+#define kWAIT2MINID "EFRESH"
+
+__END_DECLS
+
+#endif /* _CKDXPC_CONSTANTS_H_ */
+