diff options
Diffstat (limited to '')
-rw-r--r-- | crypto/src/asn1/gm/GMObjectIdentifiers.cs | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/crypto/src/asn1/gm/GMObjectIdentifiers.cs b/crypto/src/asn1/gm/GMObjectIdentifiers.cs index a17a853f0..65b8e9132 100644 --- a/crypto/src/asn1/gm/GMObjectIdentifiers.cs +++ b/crypto/src/asn1/gm/GMObjectIdentifiers.cs @@ -47,8 +47,22 @@ namespace Org.BouncyCastle.Asn1.GM public static readonly DerObjectIdentifier sm2exchange = sm_scheme.Branch("301.2"); public static readonly DerObjectIdentifier sm2encrypt = sm_scheme.Branch("301.3"); + /** + * <Information security technology — Cryptographic application identifier criterion specification> + * <url>http://c.gb688.cn/bzgk/gb/showGb?type=online&hcno=252CF0F72A7BE339A56DEA7D774E8994</url>, + * Page 21 only cover from 301.1 to 301.3 + * */ public static readonly DerObjectIdentifier wapip192v1 = sm_scheme.Branch("301.101"); + /** + * <WAPI certificate management—Part 5: Example of certificate format (draft)> + * <url>http://www.chinabwips.org.cn/zqyjgs1.htm</url> and + * <url>http://www.chinabwips.org.cn/doc/101.pdf</url>, + * Page 9 and page 10 states the OID of ECDSA-192 algorithm based on SHA-256 is 1.2.156.11235.1.1.1 + * */ + public static readonly DerObjectIdentifier wapi192v1 = new DerObjectIdentifier("1.2.156.11235.1.1.1"); + public static readonly DerObjectIdentifier wapi192v1_parameters = new DerObjectIdentifier("1.2.156.11235.1.1.2.1"); + public static readonly DerObjectIdentifier sm2encrypt_recommendedParameters = sm2encrypt.Branch("1"); public static readonly DerObjectIdentifier sm2encrypt_specifiedParameters = sm2encrypt.Branch("2"); public static readonly DerObjectIdentifier sm2encrypt_with_sm3 = sm2encrypt.Branch("2.1"); @@ -83,4 +97,4 @@ namespace Org.BouncyCastle.Asn1.GM public static readonly DerObjectIdentifier sm2sign_with_blake2b512 = sm_scheme.Branch("521"); public static readonly DerObjectIdentifier sm2sign_with_blake2s256 = sm_scheme.Branch("522"); } -} \ No newline at end of file +} |