mirror of
https://github.com/noviceli/jetbra
synced 2024-11-22 13:16:24 +03:00
update
This commit is contained in:
parent
e2eae0d69d
commit
a6f91b9933
2 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ public class LicenseController {
|
||||||
|
|
||||||
@SneakyThrows
|
@SneakyThrows
|
||||||
static PrivateKey getPrivateKey() {
|
static PrivateKey getPrivateKey() {
|
||||||
ClassPathResource licenseKeyResource = new ClassPathResource("jetbra.key");
|
ClassPathResource licenseKeyResource = new ClassPathResource("jetbra.pem");
|
||||||
Security.addProvider(new BouncyCastleProvider());
|
Security.addProvider(new BouncyCastleProvider());
|
||||||
PEMParser pemParser = new PEMParser(new InputStreamReader(licenseKeyResource.getInputStream()));
|
PEMParser pemParser = new PEMParser(new InputStreamReader(licenseKeyResource.getInputStream()));
|
||||||
JcaPEMKeyConverter converter = new JcaPEMKeyConverter().setProvider("BC");
|
JcaPEMKeyConverter converter = new JcaPEMKeyConverter().setProvider("BC");
|
||||||
|
|
Loading…
Add table
Reference in a new issue