]> git.saurik.com Git - apple/security.git/blobdiff - OSX/libsecurity_asn1/lib/oidsalg.c
Security-58286.260.20.tar.gz
[apple/security.git] / OSX / libsecurity_asn1 / lib / oidsalg.c
index 6aa61312f546f2547058fb0e2981f14e38134d8f..c79ed533670f8551e71b3afc1276c53ad040c4a9 100644 (file)
@@ -1,15 +1,15 @@
 /*
- * Copyright (c) 2000-2004,2008,2010,2012-2014 Apple Inc. All Rights Reserved.
+ * Copyright (c) 2000-2004,2008,2010,2012-2015 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,
@@ -17,7 +17,7 @@
  * 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@
  */
 
@@ -27,7 +27,7 @@
 
 #include <stdint.h>
 #include "SecAsn1Types.h"
-#include "oidsbase.h"
+#include <Security/oidsbase.h>
 
 static const uint8_t
        OID_MD2[]               = { OID_RSA_HASH, 2 },
@@ -252,6 +252,9 @@ APPLE_TP_TEST_MOBILE_STORE[]                = {APPLE_TP_OID, 27},
 /* Apple PCS Escrow Service Policy := { appleTrustPolicy 34 } */
 APPLE_TP_PCS_ESCROW_SERVICE[]                  = {APPLE_TP_OID, 34},
 
+/* Apple OS X Provisioning Profile Signing := { appleTrustPolicy, 40 } */
+APPLE_TP_PROVISIONING_PROFILE_SIGNING[]        = {APPLE_TP_OID, 40},
+
 /*
  *     fee OBJECT IDENTIFIER ::=
  *             { appleSecurityAlgorithm 1 }
@@ -375,6 +378,8 @@ CSSMOID_APPLE_TP_PROFILE_SIGNING = {APPLE_TP_OID_LENGTH+1, (uint8_t *)APPLE_TP_P
 CSSMOID_APPLE_TP_QA_PROFILE_SIGNING = {APPLE_TP_OID_LENGTH+1, (uint8_t *)APPLE_TP_QA_PROFILE_SIGNING},
 CSSMOID_APPLE_TP_TEST_MOBILE_STORE = {APPLE_TP_OID_LENGTH+1, (uint8_t *)APPLE_TP_TEST_MOBILE_STORE},
 CSSMOID_APPLE_TP_PCS_ESCROW_SERVICE = {APPLE_TP_OID_LENGTH+1, (uint8_t *)APPLE_TP_PCS_ESCROW_SERVICE},
+CSSMOID_APPLE_TP_PROVISIONING_PROFILE_SIGNING = {APPLE_TP_OID_LENGTH+1,
+                                                                                               (uint8_t *)APPLE_TP_PROVISIONING_PROFILE_SIGNING},
 CSSMOID_APPLE_FEE        = {APPLE_ALG_OID_LENGTH+1, (uint8_t *)APPLE_FEE},
 CSSMOID_APPLE_ASC        = {APPLE_ALG_OID_LENGTH+1, (uint8_t *)APPLE_ASC},
 CSSMOID_APPLE_FEE_MD5    = {APPLE_ALG_OID_LENGTH+1, (uint8_t *)APPLE_FEE_MD5},