package com.winplan365.othink.rest.properties;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
@Component
@ConfigurationProperties(prefix = "rsa")
public class RSAProperties {
private String privateKeyStr;
private String publicKeyStr;
public RSAProperties() {
}
public RSAProperties(String privateKeyStr, String publicKeyStr) {
this.privateKeyStr = privateKeyStr;
this.publicKeyStr = publicKeyStr;
}
public String getPrivateKeyStr() {
return privateKeyStr;
}
public void setPrivateKeyStr(String privateKeyStr) {
this.privateKeyStr = privateKeyStr;
}
public String getPublicKeyStr() {
return publicKeyStr;
}
public void setPublicKeyStr(String publicKeyStr) {
this.publicKeyStr = publicKeyStr;
}
}