File tree Expand file tree Collapse file tree 3 files changed +27
-19
lines changed
core/src/main/java/org/bouncycastle
util/src/main/java/org/bouncycastle/asn1/kisa Expand file tree Collapse file tree 3 files changed +27
-19
lines changed Original file line number Diff line number Diff line change @@ -224,6 +224,19 @@ public interface PKCSObjectIdentifiers
224224 /** PKCS#9: 1.2.840.113549.1.9.15.3 -- smime capability */
225225 ASN1ObjectIdentifier sMIMECapabilitiesVersions = pkcs_9 .branch ("15.3" );
226226
227+ //
228+ // id-mod OBJECT IDENTIFIER ::= {iso(1) member-body(2) usa(840)
229+ // rsadsi(113549) pkcs(1) pkcs-9(9) smime(16) mod(0)}
230+ //
231+ /** RFC 4010: SeedEncryptionAlgorithmInCMS; OID 1.2.840.113549.1.9.16.0.24 */
232+ ASN1ObjectIdentifier id_mod_cms_seed = new ASN1ObjectIdentifier ("1.2.840.113549.1.9.16.0.24" );
233+
234+ /** RFC 9708 MTS-HashSig-2013; OID 1.2.840.113549.1.9.16.0.64 */
235+ ASN1ObjectIdentifier id_mod_mts_hashsig_2013 = new ASN1ObjectIdentifier ("1.2.840.113549.1.9.16.0.64" );
236+
237+ /** RFC 8103 id-mod-CMS-AEADChaCha20Poly1305; OID 1.2.840.113549.1.9.16.0.66 */
238+ ASN1ObjectIdentifier id_mod_CMS_AEADChaCha20Poly1305 = new ASN1ObjectIdentifier ("1.2.840.113549.1.9.16.0.66" );
239+
227240 //
228241 // id-ct OBJECT IDENTIFIER ::= {iso(1) member-body(2) usa(840)
229242 // rsadsi(113549) pkcs(1) pkcs-9(9) smime(16) ct(1)}
@@ -261,6 +274,8 @@ public interface PKCSObjectIdentifiers
261274 /** PKCS#9: 1.2.840.113549.1.9.16.3.10 */
262275 ASN1ObjectIdentifier id_alg_SSDH = smime_alg .branch ("10" );
263276
277+
278+
264279 /**
265280 * <pre>
266281 * -- RSA-KEM Key Transport Algorithm RFC 5990
Original file line number Diff line number Diff line change 1414 */
1515public interface KISAObjectIdentifiers
1616{
17- /** RFC 4010, 4269: id-seedCBC; OID 1.2.410.200004.1.4 */
17+ /**
18+ * RFC 4010, 4269: id-seedCBC; OID 1.2.410.200004.1.4
19+ */
1820 static final ASN1ObjectIdentifier id_seedCBC = new ASN1ObjectIdentifier ("1.2.410.200004.1.4" );
1921
20- /** RFC 4269: id-seedMAC; OID 1.2.410.200004.1.7 */
22+ /**
23+ * RFC 4269: id-seedMAC; OID 1.2.410.200004.1.7
24+ */
2125 static final ASN1ObjectIdentifier id_seedMAC = new ASN1ObjectIdentifier ("1.2.410.200004.1.7" );
2226
23- /** RFC 4269: pbeWithSHA1AndSEED-CBC; OID 1.2.410.200004.1.15 */
27+ /**
28+ * RFC 4269: pbeWithSHA1AndSEED-CBC; OID 1.2.410.200004.1.15
29+ */
2430 static final ASN1ObjectIdentifier pbeWithSHA1AndSEED_CBC = new ASN1ObjectIdentifier ("1.2.410.200004.1.15" );
2531
26- /** RFC 4010: id-npki-app-cmsSeed-wrap; OID 1.2.410.200004.7.1.1.1 */
32+ /**
33+ * RFC 4010: id-npki-app-cmsSeed-wrap; OID 1.2.410.200004.7.1.1.1
34+ */
2735 static final ASN1ObjectIdentifier id_npki_app_cmsSeed_wrap = new ASN1ObjectIdentifier ("1.2.410.200004.7.1.1.1" );
28-
29- /** RFC 4010: SeedEncryptionAlgorithmInCMS; OID 1.2.840.113549.1.9.16.0.24 */
30- static final ASN1ObjectIdentifier id_mod_cms_seed = new ASN1ObjectIdentifier ("1.2.840.113549.1.9.16.0.24" );
31-
32- /** RFC 9708 MTS-HashSig-2013; OID 1.2.840.113549.1.9.16.0.64 */
33- static final ASN1ObjectIdentifier id_mod_mts_hashsig_2013 = new ASN1ObjectIdentifier ("1.2.840.113549.1.9.16.0.64" );
34-
35- /** RFC 8103 id-mod-CMS-AEADChaCha20Poly1305; OID 1.2.840.113549.1.9.16.0.66 */
36- static final ASN1ObjectIdentifier id_mod_CMS_AEADChaCha20Poly1305 = new ASN1ObjectIdentifier ("1.2.840.113549.1.9.16.0.66" );
3736}
Original file line number Diff line number Diff line change @@ -25,10 +25,4 @@ public interface KISAObjectIdentifiers
2525
2626 /** RFC 4010: id-npki-app-cmsSeed-wrap; OID 1.2.410.200004.7.1.1.1 */
2727 static final ASN1ObjectIdentifier id_npki_app_cmsSeed_wrap = new ASN1ObjectIdentifier ("1.2.410.200004.7.1.1.1" );
28-
29- /** RFC 4010: SeedEncryptionAlgorithmInCMS; OID 1.2.840.113549.1.9.16.0.24 */
30- static final ASN1ObjectIdentifier id_mod_cms_seed = new ASN1ObjectIdentifier ("1.2.840.113549.1.9.16.0.24" );
31-
32- /** RFC 9708 MTS-HashSig-2013; OID 1.2.840.113549.1.9.16.0.64 */
33- static final ASN1ObjectIdentifier id_mod_mts_hashsig_2013 = new ASN1ObjectIdentifier ("1.2.840.113549.1.9.16.0.64" );
3428}
You can’t perform that action at this time.
0 commit comments