From b7c05407dcf01cd7c01fde0efdf2a6a0283d4016 Mon Sep 17 00:00:00 2001
From: rain <167982779@qq.com>
Date: Sat, 03 Aug 2024 17:50:22 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/ht-dev' into ht-dev

---
 src/main/java/com/dji/sample/droneairport/utils/SM2/ModeTypeEnum.java |   26 ++++++++++++++++++++++++++
 1 files changed, 26 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/dji/sample/droneairport/utils/SM2/ModeTypeEnum.java b/src/main/java/com/dji/sample/droneairport/utils/SM2/ModeTypeEnum.java
new file mode 100644
index 0000000..8b444a1
--- /dev/null
+++ b/src/main/java/com/dji/sample/droneairport/utils/SM2/ModeTypeEnum.java
@@ -0,0 +1,26 @@
+package com.dji.sample.droneairport.utils.SM2;
+
+import org.bouncycastle.crypto.engines.SM2Engine;
+
+public enum ModeTypeEnum {
+
+    BASE_MODE(ModeTypeConstant.BASE, SM2Engine.Mode.C1C3C2),
+    BC_MODE(ModeTypeConstant.BC, SM2Engine.Mode.C1C2C3);
+
+    private String type;
+    private SM2Engine.Mode mode;
+
+    ModeTypeEnum(String type, SM2Engine.Mode mode) {
+        this.type = type;
+        this.mode = mode;
+    }
+
+    public String getType(){
+        return type;
+    }
+
+    public SM2Engine.Mode getMode(){
+        return mode;
+    }
+
+}

--
Gitblit v1.9.3