1 package org.bouncycastle.asn1.pkcs; 2 3 import org.bouncycastle.asn1.ASN1ObjectIdentifier; 4 5 /** 6 * pkcs-1 OBJECT IDENTIFIER ::=<p> 7 * { iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) 1 } 8 * 9 */ 10 public interface PKCSObjectIdentifiers 11 { 12 /** PKCS#1: 1.2.840.113549.1.1 */ 13 static final ASN1ObjectIdentifier pkcs_1 = new ASN1ObjectIdentifier("1.2.840.113549.1.1"); 14 /** PKCS#1: 1.2.840.113549.1.1.1 */ 15 static final ASN1ObjectIdentifier rsaEncryption = pkcs_1.branch("1"); 16 // BEGIN android-removed 17 // /** PKCS#1: 1.2.840.113549.1.1.2 */ 18 // static final ASN1ObjectIdentifier md2WithRSAEncryption = pkcs_1.branch("2"); 19 // /** PKCS#1: 1.2.840.113549.1.1.3 */ 20 // static final ASN1ObjectIdentifier md4WithRSAEncryption = pkcs_1.branch("3"); 21 // END android-removed 22 /** PKCS#1: 1.2.840.113549.1.1.4 */ 23 static final ASN1ObjectIdentifier md5WithRSAEncryption = pkcs_1.branch("4"); 24 /** PKCS#1: 1.2.840.113549.1.1.5 */ 25 static final ASN1ObjectIdentifier sha1WithRSAEncryption = pkcs_1.branch("5"); 26 /** PKCS#1: 1.2.840.113549.1.1.6 */ 27 static final ASN1ObjectIdentifier srsaOAEPEncryptionSET = pkcs_1.branch("6"); 28 /** PKCS#1: 1.2.840.113549.1.1.7 */ 29 static final ASN1ObjectIdentifier id_RSAES_OAEP = pkcs_1.branch("7"); 30 /** PKCS#1: 1.2.840.113549.1.1.8 */ 31 static final ASN1ObjectIdentifier id_mgf1 = pkcs_1.branch("8"); 32 /** PKCS#1: 1.2.840.113549.1.1.9 */ 33 static final ASN1ObjectIdentifier id_pSpecified = pkcs_1.branch("9"); 34 /** PKCS#1: 1.2.840.113549.1.1.10 */ 35 static final ASN1ObjectIdentifier id_RSASSA_PSS = pkcs_1.branch("10"); 36 /** PKCS#1: 1.2.840.113549.1.1.11 */ 37 static final ASN1ObjectIdentifier sha256WithRSAEncryption = pkcs_1.branch("11"); 38 /** PKCS#1: 1.2.840.113549.1.1.12 */ 39 static final ASN1ObjectIdentifier sha384WithRSAEncryption = pkcs_1.branch("12"); 40 /** PKCS#1: 1.2.840.113549.1.1.13 */ 41 static final ASN1ObjectIdentifier sha512WithRSAEncryption = pkcs_1.branch("13"); 42 /** PKCS#1: 1.2.840.113549.1.1.14 */ 43 static final ASN1ObjectIdentifier sha224WithRSAEncryption = pkcs_1.branch("14"); 44 45 // 46 // pkcs-3 OBJECT IDENTIFIER ::= { 47 // iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) 3 } 48 // 49 /** PKCS#3: 1.2.840.113549.1.3 */ 50 static final ASN1ObjectIdentifier pkcs_3 = new ASN1ObjectIdentifier("1.2.840.113549.1.3"); 51 /** PKCS#3: 1.2.840.113549.1.3.1 */ 52 static final ASN1ObjectIdentifier dhKeyAgreement = pkcs_3.branch("1"); 53 54 // 55 // pkcs-5 OBJECT IDENTIFIER ::= { 56 // iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) 5 } 57 // 58 /** PKCS#5: 1.2.840.113549.1.5 */ 59 static final ASN1ObjectIdentifier pkcs_5 = new ASN1ObjectIdentifier("1.2.840.113549.1.5"); 60 61 /** PKCS#5: 1.2.840.113549.1.5.1 */ 62 static final ASN1ObjectIdentifier pbeWithMD2AndDES_CBC = pkcs_5.branch("1"); 63 /** PKCS#5: 1.2.840.113549.1.5.4 */ 64 static final ASN1ObjectIdentifier pbeWithMD2AndRC2_CBC = pkcs_5.branch("4"); 65 /** PKCS#5: 1.2.840.113549.1.5.3 */ 66 static final ASN1ObjectIdentifier pbeWithMD5AndDES_CBC = pkcs_5.branch("3"); 67 /** PKCS#5: 1.2.840.113549.1.5.6 */ 68 static final ASN1ObjectIdentifier pbeWithMD5AndRC2_CBC = pkcs_5.branch("6"); 69 /** PKCS#5: 1.2.840.113549.1.5.10 */ 70 static final ASN1ObjectIdentifier pbeWithSHA1AndDES_CBC = pkcs_5.branch("10"); 71 /** PKCS#5: 1.2.840.113549.1.5.11 */ 72 static final ASN1ObjectIdentifier pbeWithSHA1AndRC2_CBC = pkcs_5.branch("11"); 73 /** PKCS#5: 1.2.840.113549.1.5.13 */ 74 static final ASN1ObjectIdentifier id_PBES2 = pkcs_5.branch("13"); 75 /** PKCS#5: 1.2.840.113549.1.5.12 */ 76 static final ASN1ObjectIdentifier id_PBKDF2 = pkcs_5.branch("12"); 77 78 // 79 // encryptionAlgorithm OBJECT IDENTIFIER ::= { 80 // iso(1) member-body(2) us(840) rsadsi(113549) 3 } 81 // 82 /** 1.2.840.113549.3 */ 83 static final ASN1ObjectIdentifier encryptionAlgorithm = new ASN1ObjectIdentifier("1.2.840.113549.3"); 84 85 /** 1.2.840.113549.3.7 */ 86 static final ASN1ObjectIdentifier des_EDE3_CBC = encryptionAlgorithm.branch("7"); 87 /** 1.2.840.113549.3.2 */ 88 static final ASN1ObjectIdentifier RC2_CBC = encryptionAlgorithm.branch("2"); 89 /** 1.2.840.113549.3.4 */ 90 static final ASN1ObjectIdentifier rc4 = encryptionAlgorithm.branch("4"); 91 92 // 93 // object identifiers for digests 94 // 95 /** 1.2.840.113549.2 */ 96 static final ASN1ObjectIdentifier digestAlgorithm = new ASN1ObjectIdentifier("1.2.840.113549.2"); 97 // 98 // md2 OBJECT IDENTIFIER ::= 99 // {iso(1) member-body(2) US(840) rsadsi(113549) digestAlgorithm(2) 2} 100 // 101 // BEGIN android-removed 102 // /** 1.2.840.113549.2.2 */ 103 // static final ASN1ObjectIdentifier md2 = digestAlgorithm.branch("2"); 104 // END android-removed 105 106 // 107 // md4 OBJECT IDENTIFIER ::= 108 // {iso(1) member-body(2) US(840) rsadsi(113549) digestAlgorithm(2) 4} 109 // 110 // BEGIN android-removed 111 // /** 1.2.840.113549.2.4 */ 112 // static final ASN1ObjectIdentifier md4 = digestAlgorithm.branch("4"); 113 // END android-removed 114 115 // 116 // md5 OBJECT IDENTIFIER ::= 117 // {iso(1) member-body(2) US(840) rsadsi(113549) digestAlgorithm(2) 5} 118 // 119 /** 1.2.840.113549.2.5 */ 120 static final ASN1ObjectIdentifier md5 = digestAlgorithm.branch("5"); 121 122 /** 1.2.840.113549.2.7 */ 123 static final ASN1ObjectIdentifier id_hmacWithSHA1 = digestAlgorithm.branch("7").intern(); 124 /** 1.2.840.113549.2.8 */ 125 static final ASN1ObjectIdentifier id_hmacWithSHA224 = digestAlgorithm.branch("8").intern(); 126 /** 1.2.840.113549.2.9 */ 127 static final ASN1ObjectIdentifier id_hmacWithSHA256 = digestAlgorithm.branch("9").intern(); 128 /** 1.2.840.113549.2.10 */ 129 static final ASN1ObjectIdentifier id_hmacWithSHA384 = digestAlgorithm.branch("10").intern(); 130 /** 1.2.840.113549.2.11 */ 131 static final ASN1ObjectIdentifier id_hmacWithSHA512 = digestAlgorithm.branch("11").intern(); 132 133 // 134 // pkcs-7 OBJECT IDENTIFIER ::= { 135 // iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) 7 } 136 // 137 /** pkcs#7: 1.2.840.113549.1.7 */ 138 static final ASN1ObjectIdentifier pkcs_7 = new ASN1ObjectIdentifier("1.2.840.113549.1.7").intern(); 139 /** PKCS#7: 1.2.840.113549.1.7.1 */ 140 static final ASN1ObjectIdentifier data = new ASN1ObjectIdentifier("1.2.840.113549.1.7.1").intern(); 141 /** PKCS#7: 1.2.840.113549.1.7.2 */ 142 static final ASN1ObjectIdentifier signedData = new ASN1ObjectIdentifier("1.2.840.113549.1.7.2").intern(); 143 /** PKCS#7: 1.2.840.113549.1.7.3 */ 144 static final ASN1ObjectIdentifier envelopedData = new ASN1ObjectIdentifier("1.2.840.113549.1.7.3").intern(); 145 /** PKCS#7: 1.2.840.113549.1.7.4 */ 146 static final ASN1ObjectIdentifier signedAndEnvelopedData = new ASN1ObjectIdentifier("1.2.840.113549.1.7.4").intern(); 147 /** PKCS#7: 1.2.840.113549.1.7.5 */ 148 static final ASN1ObjectIdentifier digestedData = new ASN1ObjectIdentifier("1.2.840.113549.1.7.5").intern(); 149 /** PKCS#7: 1.2.840.113549.1.7.76 */ 150 static final ASN1ObjectIdentifier encryptedData = new ASN1ObjectIdentifier("1.2.840.113549.1.7.6").intern(); 151 152 // 153 // pkcs-9 OBJECT IDENTIFIER ::= { 154 // iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) 9 } 155 // 156 /** PKCS#9: 1.2.840.113549.1.9 */ 157 static final ASN1ObjectIdentifier pkcs_9 = new ASN1ObjectIdentifier("1.2.840.113549.1.9"); 158 159 /** PKCS#9: 1.2.840.113549.1.9.1 */ 160 static final ASN1ObjectIdentifier pkcs_9_at_emailAddress = pkcs_9.branch("1").intern(); 161 /** PKCS#9: 1.2.840.113549.1.9.2 */ 162 static final ASN1ObjectIdentifier pkcs_9_at_unstructuredName = pkcs_9.branch("2").intern(); 163 /** PKCS#9: 1.2.840.113549.1.9.3 */ 164 static final ASN1ObjectIdentifier pkcs_9_at_contentType = pkcs_9.branch("3").intern(); 165 /** PKCS#9: 1.2.840.113549.1.9.4 */ 166 static final ASN1ObjectIdentifier pkcs_9_at_messageDigest = pkcs_9.branch("4").intern(); 167 /** PKCS#9: 1.2.840.113549.1.9.5 */ 168 static final ASN1ObjectIdentifier pkcs_9_at_signingTime = pkcs_9.branch("5").intern(); 169 /** PKCS#9: 1.2.840.113549.1.9.6 */ 170 static final ASN1ObjectIdentifier pkcs_9_at_counterSignature = pkcs_9.branch("6").intern(); 171 /** PKCS#9: 1.2.840.113549.1.9.7 */ 172 static final ASN1ObjectIdentifier pkcs_9_at_challengePassword = pkcs_9.branch("7").intern(); 173 /** PKCS#9: 1.2.840.113549.1.9.8 */ 174 static final ASN1ObjectIdentifier pkcs_9_at_unstructuredAddress = pkcs_9.branch("8").intern(); 175 /** PKCS#9: 1.2.840.113549.1.9.9 */ 176 static final ASN1ObjectIdentifier pkcs_9_at_extendedCertificateAttributes = pkcs_9.branch("9").intern(); 177 178 /** PKCS#9: 1.2.840.113549.1.9.13 */ 179 static final ASN1ObjectIdentifier pkcs_9_at_signingDescription = pkcs_9.branch("13").intern(); 180 /** PKCS#9: 1.2.840.113549.1.9.14 */ 181 static final ASN1ObjectIdentifier pkcs_9_at_extensionRequest = pkcs_9.branch("14").intern(); 182 /** PKCS#9: 1.2.840.113549.1.9.15 */ 183 static final ASN1ObjectIdentifier pkcs_9_at_smimeCapabilities = pkcs_9.branch("15").intern(); 184 /** PKCS#9: 1.2.840.113549.1.9.16 */ 185 static final ASN1ObjectIdentifier id_smime = pkcs_9.branch("16").intern(); 186 187 /** PKCS#9: 1.2.840.113549.1.9.20 */ 188 static final ASN1ObjectIdentifier pkcs_9_at_friendlyName = pkcs_9.branch("20").intern(); 189 /** PKCS#9: 1.2.840.113549.1.9.21 */ 190 static final ASN1ObjectIdentifier pkcs_9_at_localKeyId = pkcs_9.branch("21").intern(); 191 192 /** PKCS#9: 1.2.840.113549.1.9.22.1 193 * @deprecated use x509Certificate instead */ 194 static final ASN1ObjectIdentifier x509certType = pkcs_9.branch("22.1"); 195 196 /** PKCS#9: 1.2.840.113549.1.9.22 */ 197 static final ASN1ObjectIdentifier certTypes = pkcs_9.branch("22"); 198 /** PKCS#9: 1.2.840.113549.1.9.22.1 */ 199 static final ASN1ObjectIdentifier x509Certificate = certTypes.branch("1").intern(); 200 /** PKCS#9: 1.2.840.113549.1.9.22.2 */ 201 static final ASN1ObjectIdentifier sdsiCertificate = certTypes.branch("2").intern(); 202 203 /** PKCS#9: 1.2.840.113549.1.9.23 */ 204 static final ASN1ObjectIdentifier crlTypes = pkcs_9.branch("23"); 205 /** PKCS#9: 1.2.840.113549.1.9.23.1 */ 206 static final ASN1ObjectIdentifier x509Crl = crlTypes.branch("1").intern(); 207 208 /** RFC 6211 - id-aa-cmsAlgorithmProtect OBJECT IDENTIFIER ::= { 209 iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) 210 pkcs9(9) 52 } */ 211 ASN1ObjectIdentifier id_aa_cmsAlgorithmProtect = pkcs_9.branch("52").intern(); 212 213 // 214 // SMIME capability sub oids. 215 // 216 /** PKCS#9: 1.2.840.113549.1.9.15.1 -- smime capability */ 217 static final ASN1ObjectIdentifier preferSignedData = pkcs_9.branch("15.1"); 218 /** PKCS#9: 1.2.840.113549.1.9.15.2 -- smime capability */ 219 static final ASN1ObjectIdentifier canNotDecryptAny = pkcs_9.branch("15.2"); 220 /** PKCS#9: 1.2.840.113549.1.9.15.3 -- smime capability */ 221 static final ASN1ObjectIdentifier sMIMECapabilitiesVersions = pkcs_9.branch("15.3"); 222 223 // 224 // id-ct OBJECT IDENTIFIER ::= {iso(1) member-body(2) usa(840) 225 // rsadsi(113549) pkcs(1) pkcs-9(9) smime(16) ct(1)} 226 // 227 /** PKCS#9: 1.2.840.113549.1.9.16.1 -- smime ct */ 228 static final ASN1ObjectIdentifier id_ct = new ASN1ObjectIdentifier("1.2.840.113549.1.9.16.1"); 229 230 /** PKCS#9: 1.2.840.113549.1.9.16.1.2 -- smime ct authData */ 231 static final ASN1ObjectIdentifier id_ct_authData = id_ct.branch("2"); 232 /** PKCS#9: 1.2.840.113549.1.9.16.1.4 -- smime ct TSTInfo*/ 233 static final ASN1ObjectIdentifier id_ct_TSTInfo = id_ct.branch("4"); 234 /** PKCS#9: 1.2.840.113549.1.9.16.1.9 -- smime ct compressedData */ 235 static final ASN1ObjectIdentifier id_ct_compressedData = id_ct.branch("9"); 236 /** PKCS#9: 1.2.840.113549.1.9.16.1.23 -- smime ct authEnvelopedData */ 237 static final ASN1ObjectIdentifier id_ct_authEnvelopedData = id_ct.branch("23"); 238 /** PKCS#9: 1.2.840.113549.1.9.16.1.31 -- smime ct timestampedData*/ 239 static final ASN1ObjectIdentifier id_ct_timestampedData = id_ct.branch("31"); 240 241 242 /** S/MIME: Algorithm Identifiers ; 1.2.840.113549.1.9.16.3 */ 243 static final ASN1ObjectIdentifier id_alg = id_smime.branch("3"); 244 /** PKCS#9: 1.2.840.113549.1.9.16.3.9 */ 245 static final ASN1ObjectIdentifier id_alg_PWRI_KEK = id_alg.branch("9"); 246 /** 247 * <pre> 248 * -- RSA-KEM Key Transport Algorithm 249 * 250 * id-rsa-kem OID ::= { 251 * iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) 252 * pkcs-9(9) smime(16) alg(3) 14 253 * } 254 * </pre> 255 */ 256 static final ASN1ObjectIdentifier id_rsa_KEM = id_alg.branch("14"); 257 258 // 259 // id-cti OBJECT IDENTIFIER ::= {iso(1) member-body(2) usa(840) 260 // rsadsi(113549) pkcs(1) pkcs-9(9) smime(16) cti(6)} 261 // 262 /** PKCS#9: 1.2.840.113549.1.9.16.6 -- smime cti */ 263 static final ASN1ObjectIdentifier id_cti = new ASN1ObjectIdentifier("1.2.840.113549.1.9.16.6"); 264 265 /** PKCS#9: 1.2.840.113549.1.9.16.6.1 -- smime cti proofOfOrigin */ 266 static final ASN1ObjectIdentifier id_cti_ets_proofOfOrigin = id_cti.branch("1"); 267 /** PKCS#9: 1.2.840.113549.1.9.16.6.2 -- smime cti proofOfReceipt*/ 268 static final ASN1ObjectIdentifier id_cti_ets_proofOfReceipt = id_cti.branch("2"); 269 /** PKCS#9: 1.2.840.113549.1.9.16.6.3 -- smime cti proofOfDelivery */ 270 static final ASN1ObjectIdentifier id_cti_ets_proofOfDelivery = id_cti.branch("3"); 271 /** PKCS#9: 1.2.840.113549.1.9.16.6.4 -- smime cti proofOfSender */ 272 static final ASN1ObjectIdentifier id_cti_ets_proofOfSender = id_cti.branch("4"); 273 /** PKCS#9: 1.2.840.113549.1.9.16.6.5 -- smime cti proofOfApproval */ 274 static final ASN1ObjectIdentifier id_cti_ets_proofOfApproval = id_cti.branch("5"); 275 /** PKCS#9: 1.2.840.113549.1.9.16.6.6 -- smime cti proofOfCreation */ 276 static final ASN1ObjectIdentifier id_cti_ets_proofOfCreation = id_cti.branch("6"); 277 278 // 279 // id-aa OBJECT IDENTIFIER ::= {iso(1) member-body(2) usa(840) 280 // rsadsi(113549) pkcs(1) pkcs-9(9) smime(16) attributes(2)} 281 // 282 /** PKCS#9: 1.2.840.113549.1.9.16.6.2 - smime attributes */ 283 static final ASN1ObjectIdentifier id_aa = new ASN1ObjectIdentifier("1.2.840.113549.1.9.16.2"); 284 285 286 /** PKCS#9: 1.2.840.113549.1.9.16.6.2.1 -- smime attribute receiptRequest */ 287 static final ASN1ObjectIdentifier id_aa_receiptRequest = id_aa.branch("1"); 288 289 /** PKCS#9: 1.2.840.113549.1.9.16.6.2.4 - See <a href="http://tools.ietf.org/html/rfc2634">RFC 2634</a> */ 290 static final ASN1ObjectIdentifier id_aa_contentHint = id_aa.branch("4"); // See RFC 2634 291 /** PKCS#9: 1.2.840.113549.1.9.16.6.2.5 */ 292 static final ASN1ObjectIdentifier id_aa_msgSigDigest = id_aa.branch("5"); 293 /** PKCS#9: 1.2.840.113549.1.9.16.6.2.10 */ 294 static final ASN1ObjectIdentifier id_aa_contentReference = id_aa.branch("10"); 295 /* 296 * id-aa-encrypKeyPref OBJECT IDENTIFIER ::= {id-aa 11} 297 * 298 */ 299 /** PKCS#9: 1.2.840.113549.1.9.16.6.2.11 */ 300 static final ASN1ObjectIdentifier id_aa_encrypKeyPref = id_aa.branch("11"); 301 /** PKCS#9: 1.2.840.113549.1.9.16.6.2.12 */ 302 static final ASN1ObjectIdentifier id_aa_signingCertificate = id_aa.branch("12"); 303 /** PKCS#9: 1.2.840.113549.1.9.16.6.2.47 */ 304 static final ASN1ObjectIdentifier id_aa_signingCertificateV2 = id_aa.branch("47"); 305 306 /** PKCS#9: 1.2.840.113549.1.9.16.6.2.7 - See <a href="http://tools.ietf.org/html/rfc2634">RFC 2634</a> */ 307 static final ASN1ObjectIdentifier id_aa_contentIdentifier = id_aa.branch("7"); // See RFC 2634 308 309 /* 310 * RFC 3126 311 */ 312 /** PKCS#9: 1.2.840.113549.1.9.16.6.2.14 - <a href="http://tools.ietf.org/html/rfc3126">RFC 3126</a> */ 313 static final ASN1ObjectIdentifier id_aa_signatureTimeStampToken = id_aa.branch("14"); 314 315 /** PKCS#9: 1.2.840.113549.1.9.16.6.2.15 - <a href="http://tools.ietf.org/html/rfc3126">RFC 3126</a> */ 316 static final ASN1ObjectIdentifier id_aa_ets_sigPolicyId = id_aa.branch("15"); 317 /** PKCS#9: 1.2.840.113549.1.9.16.6.2.16 - <a href="http://tools.ietf.org/html/rfc3126">RFC 3126</a> */ 318 static final ASN1ObjectIdentifier id_aa_ets_commitmentType = id_aa.branch("16"); 319 /** PKCS#9: 1.2.840.113549.1.9.16.6.2.17 - <a href="http://tools.ietf.org/html/rfc3126">RFC 3126</a> */ 320 static final ASN1ObjectIdentifier id_aa_ets_signerLocation = id_aa.branch("17"); 321 /** PKCS#9: 1.2.840.113549.1.9.16.6.2.18 - <a href="http://tools.ietf.org/html/rfc3126">RFC 3126</a> */ 322 static final ASN1ObjectIdentifier id_aa_ets_signerAttr = id_aa.branch("18"); 323 /** PKCS#9: 1.2.840.113549.1.9.16.6.2.19 - <a href="http://tools.ietf.org/html/rfc3126">RFC 3126</a> */ 324 static final ASN1ObjectIdentifier id_aa_ets_otherSigCert = id_aa.branch("19"); 325 /** PKCS#9: 1.2.840.113549.1.9.16.6.2.20 - <a href="http://tools.ietf.org/html/rfc3126">RFC 3126</a> */ 326 static final ASN1ObjectIdentifier id_aa_ets_contentTimestamp = id_aa.branch("20"); 327 /** PKCS#9: 1.2.840.113549.1.9.16.6.2.21 - <a href="http://tools.ietf.org/html/rfc3126">RFC 3126</a> */ 328 static final ASN1ObjectIdentifier id_aa_ets_certificateRefs = id_aa.branch("21"); 329 /** PKCS#9: 1.2.840.113549.1.9.16.6.2.22 - <a href="http://tools.ietf.org/html/rfc3126">RFC 3126</a> */ 330 static final ASN1ObjectIdentifier id_aa_ets_revocationRefs = id_aa.branch("22"); 331 /** PKCS#9: 1.2.840.113549.1.9.16.6.2.23 - <a href="http://tools.ietf.org/html/rfc3126">RFC 3126</a> */ 332 static final ASN1ObjectIdentifier id_aa_ets_certValues = id_aa.branch("23"); 333 /** PKCS#9: 1.2.840.113549.1.9.16.6.2.24 - <a href="http://tools.ietf.org/html/rfc3126">RFC 3126</a> */ 334 static final ASN1ObjectIdentifier id_aa_ets_revocationValues = id_aa.branch("24"); 335 /** PKCS#9: 1.2.840.113549.1.9.16.6.2.25 - <a href="http://tools.ietf.org/html/rfc3126">RFC 3126</a> */ 336 static final ASN1ObjectIdentifier id_aa_ets_escTimeStamp = id_aa.branch("25"); 337 /** PKCS#9: 1.2.840.113549.1.9.16.6.2.26 - <a href="http://tools.ietf.org/html/rfc3126">RFC 3126</a> */ 338 static final ASN1ObjectIdentifier id_aa_ets_certCRLTimestamp = id_aa.branch("26"); 339 /** PKCS#9: 1.2.840.113549.1.9.16.6.2.27 - <a href="http://tools.ietf.org/html/rfc3126">RFC 3126</a> */ 340 static final ASN1ObjectIdentifier id_aa_ets_archiveTimestamp = id_aa.branch("27"); 341 342 /** @deprecated use id_aa_ets_sigPolicyId instead */ 343 static final ASN1ObjectIdentifier id_aa_sigPolicyId = id_aa_ets_sigPolicyId; 344 /** @deprecated use id_aa_ets_commitmentType instead */ 345 static final ASN1ObjectIdentifier id_aa_commitmentType = id_aa_ets_commitmentType; 346 /** @deprecated use id_aa_ets_signerLocation instead */ 347 static final ASN1ObjectIdentifier id_aa_signerLocation = id_aa_ets_signerLocation; 348 /** @deprecated use id_aa_ets_otherSigCert instead */ 349 static final ASN1ObjectIdentifier id_aa_otherSigCert = id_aa_ets_otherSigCert; 350 351 /** 352 * id-spq OBJECT IDENTIFIER ::= {iso(1) member-body(2) usa(840) 353 * rsadsi(113549) pkcs(1) pkcs-9(9) smime(16) id-spq(5)}; <p> 354 * 1.2.840.113549.1.9.16.5 355 */ 356 final String id_spq = "1.2.840.113549.1.9.16.5"; 357 358 /** SMIME SPQ URI: 1.2.840.113549.1.9.16.5.1 */ 359 static final ASN1ObjectIdentifier id_spq_ets_uri = new ASN1ObjectIdentifier(id_spq + ".1"); 360 /** SMIME SPQ UNOTICE: 1.2.840.113549.1.9.16.5.2 */ 361 static final ASN1ObjectIdentifier id_spq_ets_unotice = new ASN1ObjectIdentifier(id_spq + ".2"); 362 363 // 364 // pkcs-12 OBJECT IDENTIFIER ::= { 365 // iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) 12 } 366 // 367 /** PKCS#12: 1.2.840.113549.1.12 */ 368 static final ASN1ObjectIdentifier pkcs_12 = new ASN1ObjectIdentifier("1.2.840.113549.1.12"); 369 /** PKCS#12: 1.2.840.113549.1.12.10.1 */ 370 static final ASN1ObjectIdentifier bagtypes = pkcs_12.branch("10.1"); 371 372 /** PKCS#12: 1.2.840.113549.1.12.10.1.1 */ 373 static final ASN1ObjectIdentifier keyBag = bagtypes.branch("1"); 374 /** PKCS#12: 1.2.840.113549.1.12.10.1.2 */ 375 static final ASN1ObjectIdentifier pkcs8ShroudedKeyBag = bagtypes.branch("2"); 376 /** PKCS#12: 1.2.840.113549.1.12.10.1.3 */ 377 static final ASN1ObjectIdentifier certBag = bagtypes.branch("3"); 378 /** PKCS#12: 1.2.840.113549.1.12.10.1.4 */ 379 static final ASN1ObjectIdentifier crlBag = bagtypes.branch("4"); 380 /** PKCS#12: 1.2.840.113549.1.12.10.1.5 */ 381 static final ASN1ObjectIdentifier secretBag = bagtypes.branch("5"); 382 /** PKCS#12: 1.2.840.113549.1.12.10.1.6 */ 383 static final ASN1ObjectIdentifier safeContentsBag = bagtypes.branch("6"); 384 385 /** PKCS#12: 1.2.840.113549.1.12.1 */ 386 static final ASN1ObjectIdentifier pkcs_12PbeIds = pkcs_12.branch("1"); 387 388 /** PKCS#12: 1.2.840.113549.1.12.1.1 */ 389 static final ASN1ObjectIdentifier pbeWithSHAAnd128BitRC4 = pkcs_12PbeIds.branch("1"); 390 /** PKCS#12: 1.2.840.113549.1.12.1.2 */ 391 static final ASN1ObjectIdentifier pbeWithSHAAnd40BitRC4 = pkcs_12PbeIds.branch("2"); 392 /** PKCS#12: 1.2.840.113549.1.12.1.3 */ 393 static final ASN1ObjectIdentifier pbeWithSHAAnd3_KeyTripleDES_CBC = pkcs_12PbeIds.branch("3"); 394 /** PKCS#12: 1.2.840.113549.1.12.1.4 */ 395 static final ASN1ObjectIdentifier pbeWithSHAAnd2_KeyTripleDES_CBC = pkcs_12PbeIds.branch("4"); 396 /** PKCS#12: 1.2.840.113549.1.12.1.5 */ 397 static final ASN1ObjectIdentifier pbeWithSHAAnd128BitRC2_CBC = pkcs_12PbeIds.branch("5"); 398 /** PKCS#12: 1.2.840.113549.1.12.1.6 */ 399 static final ASN1ObjectIdentifier pbeWithSHAAnd40BitRC2_CBC = pkcs_12PbeIds.branch("6"); 400 401 /** 402 * PKCS#12: 1.2.840.113549.1.12.1.6 403 * @deprecated use pbeWithSHAAnd40BitRC2_CBC 404 */ 405 static final ASN1ObjectIdentifier pbewithSHAAnd40BitRC2_CBC = pkcs_12PbeIds.branch("6"); 406 407 /** PKCS#9: 1.2.840.113549.1.9.16.3.6 */ 408 static final ASN1ObjectIdentifier id_alg_CMS3DESwrap = new ASN1ObjectIdentifier("1.2.840.113549.1.9.16.3.6"); 409 /** PKCS#9: 1.2.840.113549.1.9.16.3.7 */ 410 static final ASN1ObjectIdentifier id_alg_CMSRC2wrap = new ASN1ObjectIdentifier("1.2.840.113549.1.9.16.3.7"); 411 /** PKCS#9: 1.2.840.113549.1.9.16.3.5 */ 412 static final ASN1ObjectIdentifier id_alg_ESDH = new ASN1ObjectIdentifier("1.2.840.113549.1.9.16.3.5"); 413 /** PKCS#9: 1.2.840.113549.1.9.16.3.10 */ 414 static final ASN1ObjectIdentifier id_alg_SSDH = new ASN1ObjectIdentifier("1.2.840.113549.1.9.16.3.10"); 415 } 416 417