我正在寻找Apple证书QuickLook查看器使用的所有OID的规范列表,以及它们显示的名称。
理想情况下,使用英语和所有其他语言。当然必须有某种包含这些的字符串文件。
例如:
"2.5.4.3" = "Common Name";
"2.5.4.6" = "Country Name";
"2.5.4.7" = "Locality Name";
"2.5.4.8" = "State of Province Name";
"2.5.4.9" = "Street Address";
"2.5.4.10" = "Organization Name";
"2.5.4.11" = "Organizational Unit Name";
"2.5.4.13" = "Description";
"2.5.4.17" = "Postal Code";
"1.2.840.113549.1.1.1" = "RSA Encryption";
"1.2.840.113549.1.1.4" = "MD5 with RSA Encryption";
"1.2.840.113549.1.1.5" = "SHA-1 with RSA Encryption";
"1.2.840.113549.1.9.1" = "E-Mail Addresse";
"1.2.840.113635.100.4.7" = "Apple ID Sharing Certificate";
"1.2.840.113635.100.6.1.2" = "Apple Developer Certificate (Development)";
"1.2.840.113635.100.6.1.4" = "Apple Developer Certificate (Submission)";
答案 0 :(得分:2)
原始字符串可在以下文件中找到:
/System/Library/Frameworks/SecurityFoundation.framework/Versions/A/Resources/English.lproj/OID.strings
请注意,在我的系统(OS X 10.8.3)上,此文件是二进制编码的.strings文件,而不是通常的UTF-16类型。要查看它,您可能需要使用plutil
转换它:
plutil -convert xml1 -o ~/Desktop/OIDXML.strings \
/System/Library/Frameworks/SecurityFoundation.framework/Versions/A/Resources/English.lproj/OID.strings
虽然这些是最终产品,但Apple还为开发人员提供了来自OSG X中所有本地化资源的字符串,其形式为AppleGlot Glossaries,可从https://developer.apple.com/downloads/index.action?name=localization下载。
对于30种左右的语言中的每种语言,每种可本地化产品大约有500个左右的AppleGlot .lg
词汇表。您需要的是SecurityFoundation.12A269.<language code>.lg
,其中<language code>
是该语言的缩写(例如,西班牙语为E
,德语为D
等。)< / p>
答案 1 :(得分:0)
OID不是集中注册的,而是组织可以获得节点的所有权并在该节点下分配新的OID。因此很难获得分配的OID的完整列表。
但是,有些数据库收集了大量的OID,例如: OID repository