rain
2024-08-05 b912913c1a96c76cc2b43dd22e662c7d02b59c8e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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;
    }
 
}