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;
|
}
|
}
|