aboutsummaryrefslogtreecommitdiff
path: root/providers/common/der/SM2.asn1
diff options
context:
space:
mode:
Diffstat (limited to 'providers/common/der/SM2.asn1')
-rw-r--r--providers/common/der/SM2.asn118
1 files changed, 18 insertions, 0 deletions
diff --git a/providers/common/der/SM2.asn1 b/providers/common/der/SM2.asn1
new file mode 100644
index 000000000000..f3f173c42c94
--- /dev/null
+++ b/providers/common/der/SM2.asn1
@@ -0,0 +1,18 @@
+-- Copyright 2022 The OpenSSL Project Authors. All Rights Reserved.
+--
+-- Licensed under the Apache License 2.0 (the "License"). You may not use
+-- this file except in compliance with the License. You can obtain a copy
+-- in the file LICENSE in the source distribution or at
+-- https://www.openssl.org/source/license.html
+
+oscca OBJECT IDENTIFIER ::= { iso(1) member-body(2) cn(156) 10197 }
+
+sm-scheme OBJECT IDENTIFIER ::= { oscca 1 }
+
+-- OID for SM2 signatures with SM3
+
+sm2-with-SM3 OBJECT IDENTIFIER ::= { sm-scheme 501 }
+
+-- Named Elliptic Curves of SM2
+
+curveSM2 OBJECT IDENTIFIER ::= { sm-scheme 301 }