¶Ô±ÈÐÂÎļþ |
| | |
| | | package org.springblade.core.api.crypto.config; |
| | | |
| | | import lombok.Getter; |
| | | import lombok.Setter; |
| | | import org.springframework.boot.context.properties.ConfigurationProperties; |
| | | |
| | | /** |
| | | * api ç¾åé
置类 |
| | | * |
| | | * @author licoy.cn, L.cm |
| | | */ |
| | | @Getter |
| | | @Setter |
| | | @ConfigurationProperties(ApiCryptoProperties.PREFIX) |
| | | public class ApiCryptoProperties { |
| | | /** |
| | | * åç¼ |
| | | */ |
| | | public static final String PREFIX = "blade.api.crypto"; |
| | | |
| | | /** |
| | | * æ¯å¦å¼å¯ api ç¾å |
| | | */ |
| | | private Boolean enabled = Boolean.TRUE; |
| | | |
| | | /** |
| | | * urlçåæ°ç¾åï¼ä¼ éçåæ°åãä¾å¦ï¼/user?data=ç¾ååçæ°æ® |
| | | */ |
| | | private String paramName = "data"; |
| | | |
| | | /** |
| | | * aes å¯é¥ |
| | | */ |
| | | private String aesKey; |
| | | |
| | | /** |
| | | * des å¯é¥ |
| | | */ |
| | | private String desKey; |
| | | |
| | | /** |
| | | * rsa ç§é¥ |
| | | */ |
| | | private String rsaPrivateKey; |
| | | |
| | | } |