yangys
2024-03-29 7d18c733d4c4109f2bc8e5b176cfde74c490a207
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
package com.qianwen.core.api.crypto.config;
 
import org.springframework.boot.context.properties.ConfigurationProperties;
 
@ConfigurationProperties(ApiCryptoProperties.PREFIX)
/* loaded from: blade-starter-api-crypto-9.3.0.0-SNAPSHOT.jar:org/springblade/core/api/crypto/config/ApiCryptoProperties.class */
public class ApiCryptoProperties {
    public static final String PREFIX = "blade.api.crypto";
    private Boolean enabled = Boolean.TRUE;
    private String paramName = "data";
    private String aesKey;
    private String desKey;
    private String rsaPrivateKey;
 
    public void setEnabled(final Boolean enabled) {
        this.enabled = enabled;
    }
 
    public void setParamName(final String paramName) {
        this.paramName = paramName;
    }
 
    public void setAesKey(final String aesKey) {
        this.aesKey = aesKey;
    }
 
    public void setDesKey(final String desKey) {
        this.desKey = desKey;
    }
 
    public void setRsaPrivateKey(final String rsaPrivateKey) {
        this.rsaPrivateKey = rsaPrivateKey;
    }
 
    public Boolean getEnabled() {
        return this.enabled;
    }
 
    public String getParamName() {
        return this.paramName;
    }
 
    public String getAesKey() {
        return this.aesKey;
    }
 
    public String getDesKey() {
        return this.desKey;
    }
 
    public String getRsaPrivateKey() {
        return this.rsaPrivateKey;
    }
}