001package org.apache.commons.ssl.org.bouncycastle.asn1.pkcs; 002 003import org.apache.commons.ssl.org.bouncycastle.asn1.ASN1ObjectIdentifier; 004 005/** 006 * pkcs-1 OBJECT IDENTIFIER ::=<p> 007 * { iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) 1 } 008 * 009 */ 010public interface PKCSObjectIdentifiers 011{ 012 /** PKCS#1: 1.2.840.113549.1.1 */ 013 static final ASN1ObjectIdentifier pkcs_1 = new ASN1ObjectIdentifier("1.2.840.113549.1.1"); 014 /** PKCS#1: 1.2.840.113549.1.1.1 */ 015 static final ASN1ObjectIdentifier rsaEncryption = pkcs_1.branch("1"); 016 /** PKCS#1: 1.2.840.113549.1.1.2 */ 017 static final ASN1ObjectIdentifier md2WithRSAEncryption = pkcs_1.branch("2"); 018 /** PKCS#1: 1.2.840.113549.1.1.3 */ 019 static final ASN1ObjectIdentifier md4WithRSAEncryption = pkcs_1.branch("3"); 020 /** PKCS#1: 1.2.840.113549.1.1.4 */ 021 static final ASN1ObjectIdentifier md5WithRSAEncryption = pkcs_1.branch("4"); 022 /** PKCS#1: 1.2.840.113549.1.1.5 */ 023 static final ASN1ObjectIdentifier sha1WithRSAEncryption = pkcs_1.branch("5"); 024 /** PKCS#1: 1.2.840.113549.1.1.6 */ 025 static final ASN1ObjectIdentifier srsaOAEPEncryptionSET = pkcs_1.branch("6"); 026 /** PKCS#1: 1.2.840.113549.1.1.7 */ 027 static final ASN1ObjectIdentifier id_RSAES_OAEP = pkcs_1.branch("7"); 028 /** PKCS#1: 1.2.840.113549.1.1.8 */ 029 static final ASN1ObjectIdentifier id_mgf1 = pkcs_1.branch("8"); 030 /** PKCS#1: 1.2.840.113549.1.1.9 */ 031 static final ASN1ObjectIdentifier id_pSpecified = pkcs_1.branch("9"); 032 /** PKCS#1: 1.2.840.113549.1.1.10 */ 033 static final ASN1ObjectIdentifier id_RSASSA_PSS = pkcs_1.branch("10"); 034 /** PKCS#1: 1.2.840.113549.1.1.11 */ 035 static final ASN1ObjectIdentifier sha256WithRSAEncryption = pkcs_1.branch("11"); 036 /** PKCS#1: 1.2.840.113549.1.1.12 */ 037 static final ASN1ObjectIdentifier sha384WithRSAEncryption = pkcs_1.branch("12"); 038 /** PKCS#1: 1.2.840.113549.1.1.13 */ 039 static final ASN1ObjectIdentifier sha512WithRSAEncryption = pkcs_1.branch("13"); 040 /** PKCS#1: 1.2.840.113549.1.1.14 */ 041 static final ASN1ObjectIdentifier sha224WithRSAEncryption = pkcs_1.branch("14"); 042 043 // 044 // pkcs-3 OBJECT IDENTIFIER ::= { 045 // iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) 3 } 046 // 047 /** PKCS#3: 1.2.840.113549.1.3 */ 048 static final ASN1ObjectIdentifier pkcs_3 = new ASN1ObjectIdentifier("1.2.840.113549.1.3"); 049 /** PKCS#3: 1.2.840.113549.1.3.1 */ 050 static final ASN1ObjectIdentifier dhKeyAgreement = pkcs_3.branch("1"); 051 052 // 053 // pkcs-5 OBJECT IDENTIFIER ::= { 054 // iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) 5 } 055 // 056 /** PKCS#5: 1.2.840.113549.1.5 */ 057 static final ASN1ObjectIdentifier pkcs_5 = new ASN1ObjectIdentifier("1.2.840.113549.1.5"); 058 059 /** PKCS#5: 1.2.840.113549.1.5.1 */ 060 static final ASN1ObjectIdentifier pbeWithMD2AndDES_CBC = pkcs_5.branch("1"); 061 /** PKCS#5: 1.2.840.113549.1.5.4 */ 062 static final ASN1ObjectIdentifier pbeWithMD2AndRC2_CBC = pkcs_5.branch("4"); 063 /** PKCS#5: 1.2.840.113549.1.5.3 */ 064 static final ASN1ObjectIdentifier pbeWithMD5AndDES_CBC = pkcs_5.branch("3"); 065 /** PKCS#5: 1.2.840.113549.1.5.6 */ 066 static final ASN1ObjectIdentifier pbeWithMD5AndRC2_CBC = pkcs_5.branch("6"); 067 /** PKCS#5: 1.2.840.113549.1.5.10 */ 068 static final ASN1ObjectIdentifier pbeWithSHA1AndDES_CBC = pkcs_5.branch("10"); 069 /** PKCS#5: 1.2.840.113549.1.5.11 */ 070 static final ASN1ObjectIdentifier pbeWithSHA1AndRC2_CBC = pkcs_5.branch("11"); 071 /** PKCS#5: 1.2.840.113549.1.5.13 */ 072 static final ASN1ObjectIdentifier id_PBES2 = pkcs_5.branch("13"); 073 /** PKCS#5: 1.2.840.113549.1.5.12 */ 074 static final ASN1ObjectIdentifier id_PBKDF2 = pkcs_5.branch("12"); 075 076 // 077 // encryptionAlgorithm OBJECT IDENTIFIER ::= { 078 // iso(1) member-body(2) us(840) rsadsi(113549) 3 } 079 // 080 /** 1.2.840.113549.3 */ 081 static final ASN1ObjectIdentifier encryptionAlgorithm = new ASN1ObjectIdentifier("1.2.840.113549.3"); 082 083 /** 1.2.840.113549.3.7 */ 084 static final ASN1ObjectIdentifier des_EDE3_CBC = encryptionAlgorithm.branch("7"); 085 /** 1.2.840.113549.3.2 */ 086 static final ASN1ObjectIdentifier RC2_CBC = encryptionAlgorithm.branch("2"); 087 /** 1.2.840.113549.3.4 */ 088 static final ASN1ObjectIdentifier rc4 = encryptionAlgorithm.branch("4"); 089 090 // 091 // object identifiers for digests 092 // 093 /** 1.2.840.113549.2 */ 094 static final ASN1ObjectIdentifier digestAlgorithm = new ASN1ObjectIdentifier("1.2.840.113549.2"); 095 // 096 // md2 OBJECT IDENTIFIER ::= 097 // {iso(1) member-body(2) US(840) rsadsi(113549) digestAlgorithm(2) 2} 098 // 099 /** 1.2.840.113549.2.2 */ 100 static final ASN1ObjectIdentifier md2 = digestAlgorithm.branch("2"); 101 102 // 103 // md4 OBJECT IDENTIFIER ::= 104 // {iso(1) member-body(2) US(840) rsadsi(113549) digestAlgorithm(2) 4} 105 // 106 /** 1.2.840.113549.2.4 */ 107 static final ASN1ObjectIdentifier md4 = digestAlgorithm.branch("4"); 108 109 // 110 // md5 OBJECT IDENTIFIER ::= 111 // {iso(1) member-body(2) US(840) rsadsi(113549) digestAlgorithm(2) 5} 112 // 113 /** 1.2.840.113549.2.5 */ 114 static final ASN1ObjectIdentifier md5 = digestAlgorithm.branch("5"); 115 116 /** 1.2.840.113549.2.7 */ 117 static final ASN1ObjectIdentifier id_hmacWithSHA1 = digestAlgorithm.branch("7"); 118 /** 1.2.840.113549.2.8 */ 119 static final ASN1ObjectIdentifier id_hmacWithSHA224 = digestAlgorithm.branch("8"); 120 /** 1.2.840.113549.2.9 */ 121 static final ASN1ObjectIdentifier id_hmacWithSHA256 = digestAlgorithm.branch("9"); 122 /** 1.2.840.113549.2.10 */ 123 static final ASN1ObjectIdentifier id_hmacWithSHA384 = digestAlgorithm.branch("10"); 124 /** 1.2.840.113549.2.11 */ 125 static final ASN1ObjectIdentifier id_hmacWithSHA512 = digestAlgorithm.branch("11"); 126 127 // 128 // pkcs-7 OBJECT IDENTIFIER ::= { 129 // iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) 7 } 130 // 131 /** pkcs#7: 1.2.840.113549.1.7 */ 132 static final ASN1ObjectIdentifier pkcs_7 = new ASN1ObjectIdentifier("1.2.840.113549.1.7"); 133 /** PKCS#7: 1.2.840.113549.1.7.1 */ 134 static final ASN1ObjectIdentifier data = new ASN1ObjectIdentifier("1.2.840.113549.1.7.1"); 135 /** PKCS#7: 1.2.840.113549.1.7.2 */ 136 static final ASN1ObjectIdentifier signedData = new ASN1ObjectIdentifier("1.2.840.113549.1.7.2"); 137 /** PKCS#7: 1.2.840.113549.1.7.3 */ 138 static final ASN1ObjectIdentifier envelopedData = new ASN1ObjectIdentifier("1.2.840.113549.1.7.3"); 139 /** PKCS#7: 1.2.840.113549.1.7.4 */ 140 static final ASN1ObjectIdentifier signedAndEnvelopedData = new ASN1ObjectIdentifier("1.2.840.113549.1.7.4"); 141 /** PKCS#7: 1.2.840.113549.1.7.5 */ 142 static final ASN1ObjectIdentifier digestedData = new ASN1ObjectIdentifier("1.2.840.113549.1.7.5"); 143 /** PKCS#7: 1.2.840.113549.1.7.76 */ 144 static final ASN1ObjectIdentifier encryptedData = new ASN1ObjectIdentifier("1.2.840.113549.1.7.6"); 145 146 // 147 // pkcs-9 OBJECT IDENTIFIER ::= { 148 // iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) 9 } 149 // 150 /** PKCS#9: 1.2.840.113549.1.9 */ 151 static final ASN1ObjectIdentifier pkcs_9 = new ASN1ObjectIdentifier("1.2.840.113549.1.9"); 152 153 /** PKCS#9: 1.2.840.113549.1.9.1 */ 154 static final ASN1ObjectIdentifier pkcs_9_at_emailAddress = pkcs_9.branch("1"); 155 /** PKCS#9: 1.2.840.113549.1.9.2 */ 156 static final ASN1ObjectIdentifier pkcs_9_at_unstructuredName = pkcs_9.branch("2"); 157 /** PKCS#9: 1.2.840.113549.1.9.3 */ 158 static final ASN1ObjectIdentifier pkcs_9_at_contentType = pkcs_9.branch("3"); 159 /** PKCS#9: 1.2.840.113549.1.9.4 */ 160 static final ASN1ObjectIdentifier pkcs_9_at_messageDigest = pkcs_9.branch("4"); 161 /** PKCS#9: 1.2.840.113549.1.9.5 */ 162 static final ASN1ObjectIdentifier pkcs_9_at_signingTime = pkcs_9.branch("5"); 163 /** PKCS#9: 1.2.840.113549.1.9.6 */ 164 static final ASN1ObjectIdentifier pkcs_9_at_counterSignature = pkcs_9.branch("6"); 165 /** PKCS#9: 1.2.840.113549.1.9.7 */ 166 static final ASN1ObjectIdentifier pkcs_9_at_challengePassword = pkcs_9.branch("7"); 167 /** PKCS#9: 1.2.840.113549.1.9.8 */ 168 static final ASN1ObjectIdentifier pkcs_9_at_unstructuredAddress = pkcs_9.branch("8"); 169 /** PKCS#9: 1.2.840.113549.1.9.9 */ 170 static final ASN1ObjectIdentifier pkcs_9_at_extendedCertificateAttributes = pkcs_9.branch("9"); 171 172 /** PKCS#9: 1.2.840.113549.1.9.13 */ 173 static final ASN1ObjectIdentifier pkcs_9_at_signingDescription = pkcs_9.branch("13"); 174 /** PKCS#9: 1.2.840.113549.1.9.14 */ 175 static final ASN1ObjectIdentifier pkcs_9_at_extensionRequest = pkcs_9.branch("14"); 176 /** PKCS#9: 1.2.840.113549.1.9.15 */ 177 static final ASN1ObjectIdentifier pkcs_9_at_smimeCapabilities = pkcs_9.branch("15"); 178 /** PKCS#9: 1.2.840.113549.1.9.16 */ 179 static final ASN1ObjectIdentifier id_smime = pkcs_9.branch("16"); 180 181 /** PKCS#9: 1.2.840.113549.1.9.20 */ 182 static final ASN1ObjectIdentifier pkcs_9_at_friendlyName = pkcs_9.branch("20"); 183 /** PKCS#9: 1.2.840.113549.1.9.21 */ 184 static final ASN1ObjectIdentifier pkcs_9_at_localKeyId = pkcs_9.branch("21"); 185 186 /** PKCS#9: 1.2.840.113549.1.9.22.1 187 * @deprecated use x509Certificate instead */ 188 static final ASN1ObjectIdentifier x509certType = pkcs_9.branch("22.1"); 189 190 /** PKCS#9: 1.2.840.113549.1.9.22 */ 191 static final ASN1ObjectIdentifier certTypes = pkcs_9.branch("22"); 192 /** PKCS#9: 1.2.840.113549.1.9.22.1 */ 193 static final ASN1ObjectIdentifier x509Certificate = certTypes.branch("1"); 194 /** PKCS#9: 1.2.840.113549.1.9.22.2 */ 195 static final ASN1ObjectIdentifier sdsiCertificate = certTypes.branch("2"); 196 197 /** PKCS#9: 1.2.840.113549.1.9.23 */ 198 static final ASN1ObjectIdentifier crlTypes = pkcs_9.branch("23"); 199 /** PKCS#9: 1.2.840.113549.1.9.23.1 */ 200 static final ASN1ObjectIdentifier x509Crl = crlTypes.branch("1"); 201 202 // 203 // SMIME capability sub oids. 204 // 205 /** PKCS#9: 1.2.840.113549.1.9.15.1 -- smime capability */ 206 static final ASN1ObjectIdentifier preferSignedData = pkcs_9.branch("15.1"); 207 /** PKCS#9: 1.2.840.113549.1.9.15.2 -- smime capability */ 208 static final ASN1ObjectIdentifier canNotDecryptAny = pkcs_9.branch("15.2"); 209 /** PKCS#9: 1.2.840.113549.1.9.15.3 -- smime capability */ 210 static final ASN1ObjectIdentifier sMIMECapabilitiesVersions = pkcs_9.branch("15.3"); 211 212 // 213 // id-ct OBJECT IDENTIFIER ::= {iso(1) member-body(2) usa(840) 214 // rsadsi(113549) pkcs(1) pkcs-9(9) smime(16) ct(1)} 215 // 216 /** PKCS#9: 1.2.840.113549.1.9.16.1 -- smime ct */ 217 static final ASN1ObjectIdentifier id_ct = new ASN1ObjectIdentifier("1.2.840.113549.1.9.16.1"); 218 219 /** PKCS#9: 1.2.840.113549.1.9.16.1.2 -- smime ct authData */ 220 static final ASN1ObjectIdentifier id_ct_authData = id_ct.branch("2"); 221 /** PKCS#9: 1.2.840.113549.1.9.16.1.4 -- smime ct TSTInfo*/ 222 static final ASN1ObjectIdentifier id_ct_TSTInfo = id_ct.branch("4"); 223 /** PKCS#9: 1.2.840.113549.1.9.16.1.9 -- smime ct compressedData */ 224 static final ASN1ObjectIdentifier id_ct_compressedData = id_ct.branch("9"); 225 /** PKCS#9: 1.2.840.113549.1.9.16.1.23 -- smime ct authEnvelopedData */ 226 static final ASN1ObjectIdentifier id_ct_authEnvelopedData = id_ct.branch("23"); 227 /** PKCS#9: 1.2.840.113549.1.9.16.1.31 -- smime ct timestampedData*/ 228 static final ASN1ObjectIdentifier id_ct_timestampedData = id_ct.branch("31"); 229 230 231 /** S/MIME: Algorithm Identifiers ; 1.2.840.113549.1.9.16.3 */ 232 static final ASN1ObjectIdentifier id_alg = id_smime.branch("3"); 233 /** PKCS#9: 1.2.840.113549.1.9.16.3.9 */ 234 static final ASN1ObjectIdentifier id_alg_PWRI_KEK = id_alg.branch("9"); 235 236 // 237 // id-cti OBJECT IDENTIFIER ::= {iso(1) member-body(2) usa(840) 238 // rsadsi(113549) pkcs(1) pkcs-9(9) smime(16) cti(6)} 239 // 240 /** PKCS#9: 1.2.840.113549.1.9.16.6 -- smime cti */ 241 static final ASN1ObjectIdentifier id_cti = new ASN1ObjectIdentifier("1.2.840.113549.1.9.16.6"); 242 243 /** PKCS#9: 1.2.840.113549.1.9.16.6.1 -- smime cti proofOfOrigin */ 244 static final ASN1ObjectIdentifier id_cti_ets_proofOfOrigin = id_cti.branch("1"); 245 /** PKCS#9: 1.2.840.113549.1.9.16.6.2 -- smime cti proofOfReceipt*/ 246 static final ASN1ObjectIdentifier id_cti_ets_proofOfReceipt = id_cti.branch("2"); 247 /** PKCS#9: 1.2.840.113549.1.9.16.6.3 -- smime cti proofOfDelivery */ 248 static final ASN1ObjectIdentifier id_cti_ets_proofOfDelivery = id_cti.branch("3"); 249 /** PKCS#9: 1.2.840.113549.1.9.16.6.4 -- smime cti proofOfSender */ 250 static final ASN1ObjectIdentifier id_cti_ets_proofOfSender = id_cti.branch("4"); 251 /** PKCS#9: 1.2.840.113549.1.9.16.6.5 -- smime cti proofOfApproval */ 252 static final ASN1ObjectIdentifier id_cti_ets_proofOfApproval = id_cti.branch("5"); 253 /** PKCS#9: 1.2.840.113549.1.9.16.6.6 -- smime cti proofOfCreation */ 254 static final ASN1ObjectIdentifier id_cti_ets_proofOfCreation = id_cti.branch("6"); 255 256 // 257 // id-aa OBJECT IDENTIFIER ::= {iso(1) member-body(2) usa(840) 258 // rsadsi(113549) pkcs(1) pkcs-9(9) smime(16) attributes(2)} 259 // 260 /** PKCS#9: 1.2.840.113549.1.9.16.6.2 - smime attributes */ 261 static final ASN1ObjectIdentifier id_aa = new ASN1ObjectIdentifier("1.2.840.113549.1.9.16.2"); 262 263 264 /** PKCS#9: 1.2.840.113549.1.9.16.6.2.1 -- smime attribute receiptRequest */ 265 static final ASN1ObjectIdentifier id_aa_receiptRequest = id_aa.branch("1"); 266 267 /** PKCS#9: 1.2.840.113549.1.9.16.6.2.4 - See <a href="http://tools.ietf.org/html/rfc2634">RFC 2634</a> */ 268 static final ASN1ObjectIdentifier id_aa_contentHint = id_aa.branch("4"); // See RFC 2634 269 /** PKCS#9: 1.2.840.113549.1.9.16.6.2.5 */ 270 static final ASN1ObjectIdentifier id_aa_msgSigDigest = id_aa.branch("5"); 271 /** PKCS#9: 1.2.840.113549.1.9.16.6.2.10 */ 272 static final ASN1ObjectIdentifier id_aa_contentReference = id_aa.branch("10"); 273 /* 274 * id-aa-encrypKeyPref OBJECT IDENTIFIER ::= {id-aa 11} 275 * 276 */ 277 /** PKCS#9: 1.2.840.113549.1.9.16.6.2.11 */ 278 static final ASN1ObjectIdentifier id_aa_encrypKeyPref = id_aa.branch("11"); 279 /** PKCS#9: 1.2.840.113549.1.9.16.6.2.12 */ 280 static final ASN1ObjectIdentifier id_aa_signingCertificate = id_aa.branch("12"); 281 /** PKCS#9: 1.2.840.113549.1.9.16.6.2.47 */ 282 static final ASN1ObjectIdentifier id_aa_signingCertificateV2 = id_aa.branch("47"); 283 284 /** PKCS#9: 1.2.840.113549.1.9.16.6.2.7 - See <a href="http://tools.ietf.org/html/rfc2634">RFC 2634</a> */ 285 static final ASN1ObjectIdentifier id_aa_contentIdentifier = id_aa.branch("7"); // See RFC 2634 286 287 /* 288 * RFC 3126 289 */ 290 /** PKCS#9: 1.2.840.113549.1.9.16.6.2.14 - <a href="http://tools.ietf.org/html/rfc3126">RFC 3126</a> */ 291 static final ASN1ObjectIdentifier id_aa_signatureTimeStampToken = id_aa.branch("14"); 292 293 /** PKCS#9: 1.2.840.113549.1.9.16.6.2.15 - <a href="http://tools.ietf.org/html/rfc3126">RFC 3126</a> */ 294 static final ASN1ObjectIdentifier id_aa_ets_sigPolicyId = id_aa.branch("15"); 295 /** PKCS#9: 1.2.840.113549.1.9.16.6.2.16 - <a href="http://tools.ietf.org/html/rfc3126">RFC 3126</a> */ 296 static final ASN1ObjectIdentifier id_aa_ets_commitmentType = id_aa.branch("16"); 297 /** PKCS#9: 1.2.840.113549.1.9.16.6.2.17 - <a href="http://tools.ietf.org/html/rfc3126">RFC 3126</a> */ 298 static final ASN1ObjectIdentifier id_aa_ets_signerLocation = id_aa.branch("17"); 299 /** PKCS#9: 1.2.840.113549.1.9.16.6.2.18 - <a href="http://tools.ietf.org/html/rfc3126">RFC 3126</a> */ 300 static final ASN1ObjectIdentifier id_aa_ets_signerAttr = id_aa.branch("18"); 301 /** PKCS#9: 1.2.840.113549.1.9.16.6.2.19 - <a href="http://tools.ietf.org/html/rfc3126">RFC 3126</a> */ 302 static final ASN1ObjectIdentifier id_aa_ets_otherSigCert = id_aa.branch("19"); 303 /** PKCS#9: 1.2.840.113549.1.9.16.6.2.20 - <a href="http://tools.ietf.org/html/rfc3126">RFC 3126</a> */ 304 static final ASN1ObjectIdentifier id_aa_ets_contentTimestamp = id_aa.branch("20"); 305 /** PKCS#9: 1.2.840.113549.1.9.16.6.2.21 - <a href="http://tools.ietf.org/html/rfc3126">RFC 3126</a> */ 306 static final ASN1ObjectIdentifier id_aa_ets_certificateRefs = id_aa.branch("21"); 307 /** PKCS#9: 1.2.840.113549.1.9.16.6.2.22 - <a href="http://tools.ietf.org/html/rfc3126">RFC 3126</a> */ 308 static final ASN1ObjectIdentifier id_aa_ets_revocationRefs = id_aa.branch("22"); 309 /** PKCS#9: 1.2.840.113549.1.9.16.6.2.23 - <a href="http://tools.ietf.org/html/rfc3126">RFC 3126</a> */ 310 static final ASN1ObjectIdentifier id_aa_ets_certValues = id_aa.branch("23"); 311 /** PKCS#9: 1.2.840.113549.1.9.16.6.2.24 - <a href="http://tools.ietf.org/html/rfc3126">RFC 3126</a> */ 312 static final ASN1ObjectIdentifier id_aa_ets_revocationValues = id_aa.branch("24"); 313 /** PKCS#9: 1.2.840.113549.1.9.16.6.2.25 - <a href="http://tools.ietf.org/html/rfc3126">RFC 3126</a> */ 314 static final ASN1ObjectIdentifier id_aa_ets_escTimeStamp = id_aa.branch("25"); 315 /** PKCS#9: 1.2.840.113549.1.9.16.6.2.26 - <a href="http://tools.ietf.org/html/rfc3126">RFC 3126</a> */ 316 static final ASN1ObjectIdentifier id_aa_ets_certCRLTimestamp = id_aa.branch("26"); 317 /** PKCS#9: 1.2.840.113549.1.9.16.6.2.27 - <a href="http://tools.ietf.org/html/rfc3126">RFC 3126</a> */ 318 static final ASN1ObjectIdentifier id_aa_ets_archiveTimestamp = id_aa.branch("27"); 319 320 /** @deprecated use id_aa_ets_sigPolicyId instead */ 321 static final ASN1ObjectIdentifier id_aa_sigPolicyId = id_aa_ets_sigPolicyId; 322 /** @deprecated use id_aa_ets_commitmentType instead */ 323 static final ASN1ObjectIdentifier id_aa_commitmentType = id_aa_ets_commitmentType; 324 /** @deprecated use id_aa_ets_signerLocation instead */ 325 static final ASN1ObjectIdentifier id_aa_signerLocation = id_aa_ets_signerLocation; 326 /** @deprecated use id_aa_ets_otherSigCert instead */ 327 static final ASN1ObjectIdentifier id_aa_otherSigCert = id_aa_ets_otherSigCert; 328 329 /** 330 * id-spq OBJECT IDENTIFIER ::= {iso(1) member-body(2) usa(840) 331 * rsadsi(113549) pkcs(1) pkcs-9(9) smime(16) id-spq(5)}; <p> 332 * 1.2.840.113549.1.9.16.5 333 */ 334 final String id_spq = "1.2.840.113549.1.9.16.5"; 335 336 /** SMIME SPQ URI: 1.2.840.113549.1.9.16.5.1 */ 337 static final ASN1ObjectIdentifier id_spq_ets_uri = new ASN1ObjectIdentifier(id_spq + ".1"); 338 /** SMIME SPQ UNOTICE: 1.2.840.113549.1.9.16.5.2 */ 339 static final ASN1ObjectIdentifier id_spq_ets_unotice = new ASN1ObjectIdentifier(id_spq + ".2"); 340 341 // 342 // pkcs-12 OBJECT IDENTIFIER ::= { 343 // iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) 12 } 344 // 345 /** PKCS#12: 1.2.840.113549.1.12 */ 346 static final ASN1ObjectIdentifier pkcs_12 = new ASN1ObjectIdentifier("1.2.840.113549.1.12"); 347 /** PKCS#12: 1.2.840.113549.1.12.10.1 */ 348 static final ASN1ObjectIdentifier bagtypes = pkcs_12.branch("10.1"); 349 350 /** PKCS#12: 1.2.840.113549.1.12.10.1.1 */ 351 static final ASN1ObjectIdentifier keyBag = bagtypes.branch("1"); 352 /** PKCS#12: 1.2.840.113549.1.12.10.1.2 */ 353 static final ASN1ObjectIdentifier pkcs8ShroudedKeyBag = bagtypes.branch("2"); 354 /** PKCS#12: 1.2.840.113549.1.12.10.1.3 */ 355 static final ASN1ObjectIdentifier certBag = bagtypes.branch("3"); 356 /** PKCS#12: 1.2.840.113549.1.12.10.1.4 */ 357 static final ASN1ObjectIdentifier crlBag = bagtypes.branch("4"); 358 /** PKCS#12: 1.2.840.113549.1.12.10.1.5 */ 359 static final ASN1ObjectIdentifier secretBag = bagtypes.branch("5"); 360 /** PKCS#12: 1.2.840.113549.1.12.10.1.6 */ 361 static final ASN1ObjectIdentifier safeContentsBag = bagtypes.branch("6"); 362 363 /** PKCS#12: 1.2.840.113549.1.12.1 */ 364 static final ASN1ObjectIdentifier pkcs_12PbeIds = pkcs_12.branch("1"); 365 366 /** PKCS#12: 1.2.840.113549.1.12.1.1 */ 367 static final ASN1ObjectIdentifier pbeWithSHAAnd128BitRC4 = pkcs_12PbeIds.branch("1"); 368 /** PKCS#12: 1.2.840.113549.1.12.1.2 */ 369 static final ASN1ObjectIdentifier pbeWithSHAAnd40BitRC4 = pkcs_12PbeIds.branch("2"); 370 /** PKCS#12: 1.2.840.113549.1.12.1.3 */ 371 static final ASN1ObjectIdentifier pbeWithSHAAnd3_KeyTripleDES_CBC = pkcs_12PbeIds.branch("3"); 372 /** PKCS#12: 1.2.840.113549.1.12.1.4 */ 373 static final ASN1ObjectIdentifier pbeWithSHAAnd2_KeyTripleDES_CBC = pkcs_12PbeIds.branch("4"); 374 /** PKCS#12: 1.2.840.113549.1.12.1.5 */ 375 static final ASN1ObjectIdentifier pbeWithSHAAnd128BitRC2_CBC = pkcs_12PbeIds.branch("5"); 376 /** PKCS#12: 1.2.840.113549.1.12.1.6 */ 377 static final ASN1ObjectIdentifier pbeWithSHAAnd40BitRC2_CBC = pkcs_12PbeIds.branch("6"); 378 379 /** 380 * PKCS#12: 1.2.840.113549.1.12.1.6 381 * @deprecated use pbeWithSHAAnd40BitRC2_CBC 382 */ 383 static final ASN1ObjectIdentifier pbewithSHAAnd40BitRC2_CBC = pkcs_12PbeIds.branch("6"); 384 385 /** PKCS#9: 1.2.840.113549.1.9.16.3.6 */ 386 static final ASN1ObjectIdentifier id_alg_CMS3DESwrap = new ASN1ObjectIdentifier("1.2.840.113549.1.9.16.3.6"); 387 /** PKCS#9: 1.2.840.113549.1.9.16.3.7 */ 388 static final ASN1ObjectIdentifier id_alg_CMSRC2wrap = new ASN1ObjectIdentifier("1.2.840.113549.1.9.16.3.7"); 389} 390