|
@@ -24,14 +24,14 @@ public class RSAUtil {
|
|
|
private static String privateKey;
|
|
|
|
|
|
@Value("${rsa.private-key}")
|
|
|
- public static void setPrivateKey(String priKey) {
|
|
|
+ public void setPrivateKey(String priKey) {
|
|
|
privateKey = priKey;
|
|
|
}
|
|
|
|
|
|
private static String publicKey;
|
|
|
|
|
|
@Value("${rsa.public-key}")
|
|
|
- public static void setPublicKey(String pubKey) {
|
|
|
+ public void setPublicKey(String pubKey) {
|
|
|
publicKey = pubKey;
|
|
|
}
|
|
|
|