]>
Commit | Line | Data |
---|---|---|
b1ab9ed8 A |
1 | /* |
2 | * Copyright (c) 2009 Apple Inc. All Rights Reserved. | |
3 | * | |
4 | * @APPLE_LICENSE_HEADER_START@ | |
5 | * | |
6 | * This file contains Original Code and/or Modifications of Original Code | |
7 | * as defined in and that are subject to the Apple Public Source License | |
8 | * Version 2.0 (the 'License'). You may not use this file except in | |
9 | * compliance with the License. Please obtain a copy of the License at | |
10 | * http://www.opensource.apple.com/apsl/ and read it before using this | |
11 | * file. | |
12 | * | |
13 | * The Original Code and all software distributed under the License are | |
14 | * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER | |
15 | * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, | |
16 | * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, | |
17 | * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. | |
18 | * Please see the License for the specific language governing rights and | |
19 | * limitations under the License. | |
20 | * | |
21 | * @APPLE_LICENSE_HEADER_END@ | |
22 | */ | |
23 | ||
24 | /* | |
25 | @header SecFrameworkStrings | |
26 | Defines localized strings using a macro that genstrings will recognize | |
27 | for each localizable string used by SecCertificate and SecTrust. | |
28 | */ | |
29 | ||
30 | #ifndef _SECURITY_SECFRAMEWORKSTRINGS_H_ | |
31 | #define _SECURITY_SECFRAMEWORKSTRINGS_H_ | |
32 | ||
33 | #include <Security/SecFramework.h> | |
34 | ||
427c49bc | 35 | __BEGIN_DECLS |
b1ab9ed8 A |
36 | |
37 | #define SecCopyCertString(KEY) SecFrameworkCopyLocalizedString(KEY, CFSTR("Certificate")) | |
427c49bc | 38 | #define SecCopyCKString(KEY) SecFrameworkCopyLocalizedString(KEY, CFSTR("CloudKeychain")) |
b1ab9ed8 A |
39 | |
40 | /* SecCertificate Strings */ | |
41 | #define SEC_NULL_KEY SecStringWithDefaultValue("<NULL>", "Certificate", 0, "<NULL>", "Value of a field if its length is 0") | |
42 | #define SEC_OID_TOO_LONG_KEY SecStringWithDefaultValue("Oid too long", "Certificate", 0, "Oid too long", "value of an oid field if it's length is more than what we allow for oids") | |
43 | #define SEC_UNPARSED_KEY SecStringWithDefaultValue("Unparsed %@", "Certificate", 0, "Unparsed %@", "Label of a value is printed into this string if the data can not been parsed according to it's type") | |
44 | #define SEC_INVALID_KEY SecStringWithDefaultValue("Invalid %@", "Certificate", 0, "Invalid %@", "Label of a value is printed into this string if the data is not valid") | |
45 | #define SEC_ALGORITHM_KEY SecStringWithDefaultValue("Algorithm", "Certificate", 0, "Algorithm", "Label of the algorithm subfield of an AlgorithmIdentifer") | |
46 | #define SEC_PARAMETERS_KEY SecStringWithDefaultValue("Parameters", "Certificate", 0, "Parameters", "Label of the parameters subfield of an AlgorithmIdentifer") | |
47 | #define SEC_NONE_KEY SecStringWithDefaultValue("none", "Certificate", 0, "none", "field value of parameters field when no parameters are present") | |
48 | #define SEC_BLOB_KEY SecStringWithDefaultValue("%@; %d %@; data = %@", "Certificate", 0, "%@; %d %@; data = %@", "Format string for encoded field data (e.g. Sequence; 128 bytes; data = 00 00 ...)") | |
49 | #define SEC_BYTE_STRING_KEY SecStringWithDefaultValue("Byte string", "Certificate", 0, "Byte string", "First argument to SEC_BLOB_KEY format string for a Byte string") | |
50 | #define SEC_BYTES_KEY SecStringWithDefaultValue("bytes", "Certificate", 0, "bytes", "Third argument to SEC_BLOB_KEY format string for a byte string") | |
51 | #define SEC_BIT_STRING_KEY SecStringWithDefaultValue("Bit string", "Certificate", 0, "Bit string", "First argument to SEC_BLOB_KEY format string for a bit string") | |
52 | #define SEC_BITS_KEY SecStringWithDefaultValue("bits", "Certificate", 0, "bits", "") | |
53 | #define SEC_SEQUENCE_KEY SecStringWithDefaultValue("Sequence", "Certificate", 0, "Sequence", "First argument to SEC_BLOB_KEY format string for a Sequence") | |
54 | #define SEC_SET_KEY SecStringWithDefaultValue("Set", "Certificate", 0, "Set", "First argument to SEC_BLOB_KEY format string for a Set") | |
55 | #define SEC_NOT_DISPLAYED_KEY SecStringWithDefaultValue("not displayed (tag = %@; length %d)", "Certificate", 0, "not displayed (tag = %@; length %d)", "format string for undisplayed field data with a given DER tag and length") | |
56 | #define SEC_RDN_KEY SecStringWithDefaultValue("RDN", "Certificate", 0, "RDN", "Label of a RDN") | |
57 | #define SEC_X501_NAME_KEY SecStringWithDefaultValue("X.501 Name", "Certificate", 0, "X.501 Name", "Label of a X.501 Name") | |
58 | #define SEC_YES_KEY SecStringWithDefaultValue("Yes", "Certificate", 0, "Yes", "Value for a boolean property when it's value is true (example critical: yes)") | |
59 | #define SEC_NO_KEY SecStringWithDefaultValue("No", "Certificate", 0, "No", "Value for a boolean property when it's value is false (example critical: no)") | |
60 | #define SEC_STRING_LIST_KEY SecStringWithDefaultValue("%@, %@", "Certificate", 0, "%@, %@", "Format string used to build a list of values, first argument is list second argument is to be appended element") | |
61 | #define SEC_DIGITAL_SIGNATURE_KEY SecStringWithDefaultValue("Digital Signature", "Certificate", 0, "Digital Signature", "X.509 key usage bitfield name") | |
62 | #define SEC_NON_REPUDIATION_KEY SecStringWithDefaultValue("Non-Repudiation", "Certificate", 0, "Non-Repudiation", "X.509 key usage bitfield name") | |
63 | #define SEC_KEY_ENCIPHERMENT_KEY SecStringWithDefaultValue("Key Encipherment", "Certificate", 0, "Key Encipherment", "X.509 key usage bitfield name") | |
64 | #define SEC_DATA_ENCIPHERMENT_KEY SecStringWithDefaultValue("Data Encipherment", "Certificate", 0, "Data Encipherment", "X.509 key usage bitfield name") | |
65 | #define SEC_KEY_AGREEMENT_KEY SecStringWithDefaultValue("Key Agreement", "Certificate", 0, "Key Agreement", "X.509 key usage bitfield name") | |
66 | #define SEC_CERT_SIGN_KEY SecStringWithDefaultValue("Cert Sign", "Certificate", 0, "Cert Sign", "X.509 key usage bitfield name") | |
67 | #define SEC_CRL_SIGN_KEY SecStringWithDefaultValue("CRL Sign", "Certificate", 0, "CRL Sign", "X.509 key usage bitfield name") | |
68 | #define SEC_ENCIPHER_ONLY_KEY SecStringWithDefaultValue("Encipher Only", "Certificate", 0, "Encipher Only", "X.509 key usage bitfield name") | |
69 | #define SEC_DECIPHER_ONLY_KEY SecStringWithDefaultValue("Decipher Only", "Certificate", 0, "Decipher Only", "X.509 key usage bitfield name") | |
70 | #define SEC_USAGE_KEY SecStringWithDefaultValue("Usage", "Certificate", 0, "Usage", "Label for KeyUsage bitfield values") | |
71 | #define SEC_NOT_VALID_BEFORE_KEY SecStringWithDefaultValue("Not Valid Before", "Certificate", 0, "Not Valid Before", "label indicating the soonest date at which something is valid") | |
72 | #define SEC_NOT_VALID_AFTER_KEY SecStringWithDefaultValue("Not Valid After", "Certificate", 0, "Not Valid After", "label indicating the date after which something is no longer valid") | |
73 | #define SEC_PRIVATE_KU_PERIOD_KEY SecStringWithDefaultValue("Private Key Usage Period", "Certificate", 0, "Private Key Usage Period", "Label for an invlaid private key se perion value") | |
74 | #define SEC_OTHER_NAME_KEY SecStringWithDefaultValue("Other Name", "Certificate", 0, "Other Name", "Label used for Other Name RDN when value is invalid") | |
75 | #define SEC_EMAIL_ADDRESS_KEY SecStringWithDefaultValue("Email Address", "Certificate", 0, "Email Address", "label for general name field value") | |
76 | #define SEC_DNS_NAME_KEY SecStringWithDefaultValue("DNS Name", "Certificate", 0, "DNS Name", "label for general name field value") | |
77 | #define SEC_X400_ADDRESS_KEY SecStringWithDefaultValue("X.400 Address", "Certificate", 0, "X.400 Address", "label for general name field value") | |
78 | #define SEC_DIRECTORY_NAME_KEY SecStringWithDefaultValue("Directory Name", "Certificate", 0, "Directory Name", "label for general name field value") | |
79 | #define SEC_EDI_PARTY_NAME_KEY SecStringWithDefaultValue("EDI Party Name", "Certificate", 0, "EDI Party Name", "label for general name field value") | |
80 | #define SEC_URI_KEY SecStringWithDefaultValue("URI", "Certificate", 0, "URI", "label for general name field value") | |
81 | #define SEC_IP_ADDRESS_KEY SecStringWithDefaultValue("IP Address", "Certificate", 0, "IP Address", "label for general name field value") | |
82 | #define SEC_REGISTERED_ID_KEY SecStringWithDefaultValue("Registered ID", "Certificate", 0, "Registered ID", "label for general name field value") | |
83 | #define SEC_GENERAL_NAME_KEY SecStringWithDefaultValue("General Name", "Certificate", 0, "General Name", "Label used for General Name entry when value is invalid") | |
84 | #define SEC_GENERAL_NAMES_KEY SecStringWithDefaultValue("General Names", "Certificate", 0, "General Names", "Label used for General Names when value is invalid") | |
85 | #define SEC_CERT_AUTHORITY_KEY SecStringWithDefaultValue("Certificate Authority", "Certificate", 0, "Certificate Authority", "Label for boolean is_ca property of a basic constraints extension") | |
86 | #define SEC_PATH_LEN_CONSTRAINT_KEY SecStringWithDefaultValue("Path Length Constraint", "Certificate", 0, "Path Length Constraint", "Label for path length constraint property of a basic constraints extension") | |
87 | #define SEC_BASIC_CONSTRAINTS_KEY SecStringWithDefaultValue("Basic Constraints", "Certificate", 0, "Basic Constraints", "Label used for Basic Constraints when value is invalid") | |
88 | ||
89 | /* CRL Distribution Points extension */ | |
90 | #define SEC_NAME_REL_CRL_ISSUER_KEY SecStringWithDefaultValue("Name Relative To CRL Issuer", "Certificate", 0, "Name Relative To CRL Issuer", "Subsection label in CRL Distribution Points extension.") | |
91 | #define SEC_UNUSED_KEY SecStringWithDefaultValue("Unused", "Certificate", 0, "Unused", "CRL Distribution Points extension supported reason name") | |
92 | #define SEC_KEY_COMPROMISE_KEY SecStringWithDefaultValue("Key Compromise", "Certificate", 0, "Key Compromise", "CRL Distribution Points extension supported reason name") | |
93 | #define SEC_CA_COMPROMISE_KEY SecStringWithDefaultValue("CA Compromise", "Certificate", 0, "CA Compromise", "CRL Distribution Points extension supported reason name") | |
94 | #define SEC_AFFILIATION_CHANGED_KEY SecStringWithDefaultValue("Affiliation Changed", "Certificate", 0, "Affiliation Changed", "CRL Distribution Points extension supported reason name") | |
95 | #define SEC_SUPERSEDED_KEY SecStringWithDefaultValue("Superseded", "Certificate", 0, "Superseded", "CRL Distribution Points extension supported reason name") | |
96 | #define SEC_CESSATION_OF_OPER_KEY SecStringWithDefaultValue("Cessation Of Operation", "Certificate", 0, "Cessation Of Operation", "CRL Distribution Points extension supported reason name") | |
97 | #define SEC_CERTIFICATE_HOLD_KEY SecStringWithDefaultValue("Certificate Hold", "Certificate", 0, "Certificate Hold", "CRL Distribution Points extension supported reason name") | |
98 | #define SEC_PRIV_WITHDRAWN_KEY SecStringWithDefaultValue("Privilege Withdrawn", "Certificate", 0, "Privilege Withdrawn", "CRL Distribution Points extension supported reason name") | |
99 | #define SEC_AA_COMPROMISE_KEY SecStringWithDefaultValue("AA Compromise", "Certificate", 0, "AA Compromise", "CRL Distribution Points extension supported reason name") | |
100 | #define SEC_REASONS_KEY SecStringWithDefaultValue("Reasons", "Certificate", 0, "Reasons", "CRL Distribution Points extension supported reasons bitfield label") | |
101 | #define SEC_CRL_ISSUER_KEY SecStringWithDefaultValue("CRL Issuer", "Certificate", 0, "CRL Issuer", "Label for CRL issuer field of CRL Distribution Points extension") | |
102 | #define SEC_CRL_DISTR_POINTS_KEY SecStringWithDefaultValue("CRL Distribution Points", "Certificate", 0, "CRL Distribution Points", "CRL Distribution Points extension label") | |
103 | ||
104 | /* Certificate Policies extension */ | |
105 | #define SEC_POLICY_IDENTIFIER_KEY SecStringWithDefaultValue("Policy Identifier #%d", "Certificate", 0, "Policy Identifier #%d", "Format string for label of field in Certificate Policies extension, %d is a monotonic increasing counter starting at 1") | |
106 | #define SEC_POLICY_QUALIFIER_KEY SecStringWithDefaultValue("Policy Qualifier #%d", "Certificate", 0, "Policy Qualifier #%d", "Format string for label of field in Certificate Policies extension, %d is a monotonic increasing counter starting at 1") | |
107 | #define SEC_CPS_URI_KEY SecStringWithDefaultValue("CPS URI", "Certificate", 0, "CPS URI", "Label of field in Certificate Policies extension") | |
108 | #define SEC_ORGANIZATION_KEY SecStringWithDefaultValue("Organization", "Certificate", 0, "Organization", "Label of field in Certificate Policies extension") | |
109 | #define SEC_NOTICE_NUMBERS_KEY SecStringWithDefaultValue("Notice Numbers", "Certificate", 0, "Notice Numbers", "Label of field in Certificate Policies extension") | |
110 | #define SEC_EXPLICIT_TEXT_KEY SecStringWithDefaultValue("Explicit Text", "Certificate", 0, "Explicit Text", "Label of field in Certificate Policies extension") | |
111 | #define SEC_QUALIFIER_KEY SecStringWithDefaultValue("Qualifier", "Certificate", 0, "Qualifier", "Label of field in Certificate Policies extension") | |
112 | #define SEC_CERT_POLICIES_KEY SecStringWithDefaultValue("Certificate Policies", "Certificate", 0, "Certificate Policies", "Certificate Policies extension label") | |
113 | ||
114 | /* Subject and Authority Key Identifier extensions */ | |
115 | #define SEC_KEY_IDENTIFIER_KEY SecStringWithDefaultValue("Key Identifier", "Certificate", 0, "Key Identifier", "Label of field in Subject or Authority Key Identifier extension") | |
116 | #define SEC_SUBJ_KEY_ID_KEY SecStringWithDefaultValue("Subject Key Identifier", "Certificate", 0, "Subject Key Identifier", "Subject Key Identifier extension label") | |
117 | #define SEC_AUTH_CERT_SERIAL_KEY SecStringWithDefaultValue("Authority Certificate Serial Number", "Certificate", 0, "Authority Certificate Serial Number", "Label of field in Authority Key Identifier extension") | |
118 | #define SEC_AUTHORITY_KEY_ID_KEY SecStringWithDefaultValue("Authority Key Identifier", "Certificate", 0, "Authority Key Identifier", "Authority Key Identifier extension label") | |
119 | ||
120 | /* Policy constraints extension */ | |
121 | #define SEC_REQUIRE_EXPL_POLICY_KEY SecStringWithDefaultValue("Require Explicit Policy", "Certificate", 0, "Require Explicit Policy", "Label of field in policy constraints extension") | |
122 | #define SEC_INHIBIT_POLICY_MAP_KEY SecStringWithDefaultValue("Inhibit Policy Mapping", "Certificate", 0, "Inhibit Policy Mapping", "Label of field in policy constraints extension") | |
123 | #define SEC_POLICY_CONSTRAINTS_KEY SecStringWithDefaultValue("Policy Constraints", "Certificate", 0, "Policy Constraints", "Policy constraints extension label") | |
124 | ||
125 | /* Extended key usage extension */ | |
126 | #define SEC_PURPOSE_KEY SecStringWithDefaultValue("Purpose", "Certificate", 0, "Purpose", "Label of field in extended key usage extension") | |
127 | #define SEC_EXTENDED_KEY_USAGE_KEY SecStringWithDefaultValue("Extended Key Usage", "Certificate", 0, "Extended Key Usage", "Extended key usage extension label") | |
128 | ||
129 | /* Authority info access extension */ | |
130 | #define SEC_ACCESS_METHOD_KEY SecStringWithDefaultValue("Access Method", "Certificate", 0, "Access Method", "Label of field in authority info access extension") | |
131 | //#define SEC_ACCESS_LOCATION_KEY SecStringWithDefaultValue("Access Location", "Certificate", 0, "Access Location", "Label of field in authority info access extension") | |
132 | #define SEC_AUTH_INFO_ACCESS_KEY SecStringWithDefaultValue("Authority Information Access", "Certificate", 0, "Authority Information Access", "Authority info access extension label") | |
133 | ||
134 | /* Netscape cert type extension */ | |
135 | #define SEC_SSL_CLIENT_KEY SecStringWithDefaultValue("SSL client", "Certificate", 0, "SSL client", "Netscape certificate type usage value") | |
136 | #define SEC_SSL_SERVER_KEY SecStringWithDefaultValue("SSL server", "Certificate", 0, "SSL server", "Netscape certificate type usage value") | |
137 | #define SEC_SMIME_KEY SecStringWithDefaultValue("S/MIME", "Certificate", 0, "S/MIME", "Netscape certificate type usage value") | |
138 | #define SEC_OBJECT_SIGNING_KEY SecStringWithDefaultValue("Object Signing", "Certificate", 0, "Object Signing", "Netscape certificate type usage value") | |
139 | #define SEC_RESERVED_KEY SecStringWithDefaultValue("Reserved", "Certificate", 0, "Reserved", "Netscape certificate type usage value") | |
140 | #define SEC_SSL_CA_KEY SecStringWithDefaultValue("SSL CA", "Certificate", 0, "SSL CA", "Netscape certificate type usage value") | |
141 | #define SEC_SMIME_CA_KEY SecStringWithDefaultValue("S/MIME CA", "Certificate", 0, "S/MIME CA", "Netscape certificate type usage value") | |
142 | #define SEC_OBJECT_SIGNING_CA_KEY SecStringWithDefaultValue("Object Signing CA", "Certificate", 0, "Object Signing CA", "Netscape certificate type usage value") | |
143 | ||
144 | /* Generic extension strings. */ | |
145 | #define SEC_CRITICAL_KEY SecStringWithDefaultValue("Critical", "Certificate", 0, "Critical", "Label of field in extension that indicates whether this extension is critical") | |
146 | #define SEC_DATA_KEY SecStringWithDefaultValue("Data", "Certificate", 0, "Data", "Label for raw data of extension (used for unknown extensions)") | |
147 | ||
148 | #define SEC_COMMON_NAME_DESC_KEY SecStringWithDefaultValue("%@ (%@)", "Certificate", 0, "%@ (%@)", "If a X500 name has a description and a common name we display CommonName (Description) using this format string") | |
149 | ||
150 | //#define SEC_ISSUER_SUMMARY_KEY SecStringWithDefaultValue("Issuer Summary", "Certificate", 0, "Issuer Summary", "") | |
151 | //#define SEC_ISSUED_BY_KEY SecStringWithDefaultValue("Issued By", "Certificate", 0, "Issued By", "") | |
152 | #define SEC_EXPIRED_KEY SecStringWithDefaultValue("Expired", "Certificate", 0, "Expired", "") | |
153 | #define SEC_CERT_EXPIRED_KEY SecStringWithDefaultValue("This certificate has expired", "Certificate", 0, "This certificate has expired", "") | |
154 | #define SEC_VALID_FROM_KEY SecStringWithDefaultValue("Valid from", "Certificate", 0, "Valid from", "") | |
155 | #define SEC_CERT_NOT_YET_VALID_KEY SecStringWithDefaultValue("This certificate is not yet valid", "Certificate", 0, "This certificate is not yet valid", "") | |
156 | #define SEC_ISSUER_EXPIRED_KEY SecStringWithDefaultValue("This certificate has an issuer that has expired", "Certificate", 0, "This certificate has an issuer that has expired", "") | |
157 | #define SEC_ISSR_NOT_YET_VALID_KEY SecStringWithDefaultValue("This certificate has an issuer that is not yet valid", "Certificate", 0, "This certificate has an issuer that is not yet valid", "") | |
158 | #define SEC_EXPIRES_KEY SecStringWithDefaultValue("Expires", "Certificate", 0, "Expires", "Label of expiration date value when certificate is temporally valid") | |
159 | #define SEC_CERT_VALID_KEY SecStringWithDefaultValue("This certificate is valid", "Certificate", 0, "This certificate is valid", "The certificate is temporally valid") | |
160 | ||
161 | #define SEC_SUBJECT_NAME_KEY SecStringWithDefaultValue("Subject Name", "Certificate", 0, "Subject Name", "") | |
162 | #define SEC_ISSUER_NAME_KEY SecStringWithDefaultValue("Issuer Name", "Certificate", 0, "Issuer Name", "") | |
163 | ||
164 | //#define SEC_X509_VERSION_KEY SecStringWithDefaultValue("X.509 version %d %scertificate", "Certificate", 0, "X.509 version %d %scertificate", "") | |
165 | //#define SEC_CERTIFICATE_TYPE_KEY SecStringWithDefaultValue("Certificate Type", "Certificate", 0, "Certificate Type", "") | |
166 | #define SEC_CERT_VERSION_VALUE_KEY SecStringWithDefaultValue("%d", "Certificate", 0, "%d", "format string to turn version number into a string") | |
167 | #define SEC_VERSION_KEY SecStringWithDefaultValue("Version", "Certificate", 0, "Version", "") | |
168 | #define SEC_SERIAL_NUMBER_KEY SecStringWithDefaultValue("Serial Number", "Certificate", 0, "Serial Number", "") | |
169 | #define SEC_SIGNATURE_ALGORITHM_KEY SecStringWithDefaultValue("Signature Algorithm", "Certificate", 0, "Signature Algorithm", "") | |
170 | #define SEC_SUBJECT_UNIQUE_ID_KEY SecStringWithDefaultValue("Subject Unique ID", "Certificate", 0, "Subject Unique ID", "") | |
171 | #define SEC_ISSUER_UNIQUE_ID_KEY SecStringWithDefaultValue("Issuer Unique ID", "Certificate", 0, "Issuer Unique ID", "") | |
172 | #define SEC_PUBLIC_KEY_ALG_KEY SecStringWithDefaultValue("Public Key Algorithm", "Certificate", 0, "Public Key Algorithm", "") | |
173 | #define SEC_PULIC_KEY_DATA_KEY SecStringWithDefaultValue("Public Key Data", "Certificate", 0, "Public Key Data", "") | |
174 | #define SEC_SIGNATURE_KEY SecStringWithDefaultValue("Signature", "Certificate", 0, "Signature", "") | |
175 | ||
176 | /* SecTrust Strings. */ | |
177 | #define SEC_INVALID_LINKAGE_KEY SecStringWithDefaultValue("Invalid certificate chain linkage.", "Certificate", 0, "Invalid certificate chain linkage.", "") | |
178 | #define SEC_BAD_CRIT_EXTN_KEY SecStringWithDefaultValue("One or more unsupported critical extensions found.", "Certificate", 0, "One or more unsupported critical extensions found.", "") | |
179 | #define SEC_ROOT_UNTRUSTED_KEY SecStringWithDefaultValue("Root certificate is not trusted.", "Certificate", 0, "Root certificate is not trusted.", "") | |
180 | #define SEC_HOSTNAME_MISMATCH_KEY SecStringWithDefaultValue("Hostname mismatch.", "Certificate", 0, "Hostname mismatch.", "") | |
181 | #define SEC_POLICY__REQ_NOT_MET_KEY SecStringWithDefaultValue("Policy requirements not met.", "Certificate", 0, "Policy requirements not met.", "") | |
182 | #define SEC_CHAIN_VALIDITY_ERR_KEY SecStringWithDefaultValue("One or more certificates have expired or are not valid yet.", "Certificate", 0, "One or more certificates have expired or are not valid yet.", "") | |
183 | ||
427c49bc A |
184 | #define SEC_CK_PASSWORD_INCORRECT SecStringWithDefaultValue("iCloud Password incorrect, try again", "CloudKeychain", 0, "iCloud password is incorrect, try again", "Title for alert when password has been entered incorrectly") |
185 | #define SEC_CK_ALLOW SecStringWithDefaultValue("Allow", "CloudKeychain", 0, "Allow", "Allow button") | |
186 | #define SEC_CK_DONT_ALLOW SecStringWithDefaultValue("Don't Allow", "CloudKeychain", 0, "Don't Allow", "Don't Allow button") | |
187 | #define SEC_CK_ICLOUD_PASSWORD SecStringWithDefaultValue("Password", "CloudKeychain", 0, "Password", "Password prompt text") | |
188 | #define SEC_CK_JOIN_PROMPT SecStringWithDefaultValue("Enter the Apple ID password for “%@” to allow %@ to use iCloud Keychain.", "CloudKeychain", 0, "Enter the Apple ID password for “%@” to allow %@ to use iCloud Keychain.", "Message for alert when a new device is joining the circle") | |
189 | #define SEC_CK_JOIN_TITLE SecStringWithDefaultValue("Allow “%@” to use your passwords?", "CloudKeychain", 0, "Allow “%@” to use iCloud Keychain?", "Title for alert when a new device is joining the circle") | |
190 | ||
191 | #define SEC_CK_ARS0_TITLE SecStringWithDefaultValue("Waiting for Approval to Use iCloud Keychain", "CloudKeychain", 0, "Waiting for Approval to Use iCloud Keychain", "Title for alert when this device's application has been pending for a long time & no security code is set") | |
192 | #define SEC_CK_ARS0_BODY SecStringWithDefaultValue("%@ must be approved from one of your other devices using iCloud Keychain. If no other devices are available, reset iCloud Keychain in Settings.%@", "CloudKeychain", 0, "%@ must be approved from one of your other devices using iCloud Keychain. If no other devices are available, reset iCloud Keychain in Settings.%@", "Explanation of the waiting for approval alert") | |
193 | #define SEC_CK_ARS1_TITLE SecStringWithDefaultValue("Use Security Code to Turn On iCloud Keychain?", "CloudKeychain", 0, "Use Security Code to Turn On iCloud Keychain?", "Title for alert when this device's application has been pending for a long time & a security code is set") | |
194 | #define SEC_CK_ARS1_BODY SecStringWithDefaultValue("This iPhone is still waiting for approval from one of your other devices using iCloud Keychain. You can use your Security Code to turn on iCloud Keychain.%@", "CloudKeychain", 0, "This iPhone is still waiting for approval from one of your other devices using iCloud Keychain. You can use your Security Code to turn on iCloud Keychain.%@", "Explanation of the waiting for approval alert") | |
195 | #define SEC_CK_AR_APPROVE_OTHER SecStringWithDefaultValue("Approve with Other Device", "CloudKeychain", 0, "Approve with Other Device", "Button text for approval with other device") | |
196 | #define SEC_CK_AR_USE_CODE SecStringWithDefaultValue("Use Security Code", "CloudKeychain", 0, "Use Security Code", "Button text for approval via security code") | |
197 | ||
198 | #define SEC_CK_TID_FUTURE SecStringWithDefaultValue("the future", "CloudKeychain", 0, "the future", "the future") | |
199 | #define SEC_CK_TID_NOW SecStringWithDefaultValue("now", "CloudKeychain", 0, "now", "now") | |
200 | #define SEC_CK_TID_SUBSECOND SecStringWithDefaultValue("less then a second", "CloudKeychain", 0, "less then a second", "Less then then one second") | |
201 | #define SEC_CK_TID_SECONDS SecStringWithDefaultValue("seconds", "CloudKeychain", 0, "seconds", "More then one second") | |
202 | #define SEC_CK_TID_MINUTES SecStringWithDefaultValue("minutes", "CloudKeychain", 0, "minutes", "More then one minute") | |
203 | #define SEC_CK_TID_HOURS SecStringWithDefaultValue("hours", "CloudKeychain", 0, "hours", "More then one hour") | |
204 | #define SEC_CK_TID_DAY SecStringWithDefaultValue("day", "CloudKeychain", 0, "day", "One day") | |
205 | #define SEC_CK_TID_DAYS SecStringWithDefaultValue("days", "CloudKeychain", 0, "days", "More then one day") | |
206 | ||
207 | #define SEC_CK_CR_TITLE SecStringWithDefaultValue("iCloud Keychain Reset", "CloudKeychain", 0, "iCloud Keychain Reset", "Title for alert when this device has left the circle") | |
208 | #define SEC_CK_CR_BODY_REVOKED SecStringWithDefaultValue("%@ is no longer participating in iCloud Keychain because it was reset by another device", "CloudKeychain", 0, "%@ is no longer participating in iCloud Keychain because it was reset by another device", "Body text for kSOSMembershipRevoked") | |
209 | #define SEC_CK_CR_BODY_LEFT_UNTRUSTED SecStringWithDefaultValue("%@ is no longer participating in iCloud Keychain!", "CloudKeychain", 0, "%@ is no longer participating in iCloud Keychain!", "Body text for kSOSLeftUntrustedCircle") | |
210 | #define SEC_CK_CR_BODY_UNKNOWN SecStringWithDefaultValue("%@ is no longer participating in iCloud Keychain.", "CloudKeychain", 0, "%@ is no longer participating in iCloud Keychain.", "Body text for unknown departure reason") | |
211 | #define SEC_CK_CR_OK SecStringWithDefaultValue("OK", "CloudKeychain", 0, "OK", "Button text for confused user who just wants the alert to go away") | |
212 | #define SEC_CK_CR_USE_CODE SecStringWithDefaultValue("Use Security Code", "CloudKeychain", 0, "Use Security Code", "Button text for approval via security code") | |
213 | ||
214 | #define SEC_CK_THIS_IPHONE SecStringWithDefaultValue("This iPhone", "CloudKeychain", 0, "This iPhone", "This iPhone") | |
215 | #define SEC_CK_THIS_IPOD SecStringWithDefaultValue("This iPod", "CloudKeychain", 0, "This iPod", "This iPod") | |
216 | #define SEC_CK_THIS_IPAD SecStringWithDefaultValue("This iPad", "CloudKeychain", 0, "This iPad", "This iPad") | |
217 | #define SEC_CK_THIS_DEVICE SecStringWithDefaultValue("This device", "CloudKeychain", 0, "This device", "This device") | |
218 | ||
219 | __END_DECLS | |
b1ab9ed8 A |
220 | |
221 | #endif /* !_SECURITY_SECFRAMEWORKSTRINGS_H_ */ |