mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-23 04:42:06 +01:00
Fix spelling of Bouncy Castle
This commit is contained in:
parent
f2d88d8a86
commit
1b1a13e7d0
1 changed files with 6 additions and 2 deletions
|
@ -12,6 +12,10 @@ import org.bouncycastle.jce.provider.BouncyCastleProvider;
|
||||||
import sop.operation.Version;
|
import sop.operation.Version;
|
||||||
|
|
||||||
public class VersionImpl implements Version {
|
public class VersionImpl implements Version {
|
||||||
|
|
||||||
|
// draft version
|
||||||
|
private static final String SOP_VERSION = "3";
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getName() {
|
public String getName() {
|
||||||
return "PGPainless-SOP";
|
return "PGPainless-SOP";
|
||||||
|
@ -38,7 +42,7 @@ public class VersionImpl implements Version {
|
||||||
@Override
|
@Override
|
||||||
public String getBackendVersion() {
|
public String getBackendVersion() {
|
||||||
double bcVersion = new BouncyCastleProvider().getVersion();
|
double bcVersion = new BouncyCastleProvider().getVersion();
|
||||||
return String.format("Bouncycastle %,.2f", bcVersion);
|
return String.format("Bouncy Castle %,.2f", bcVersion);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -47,7 +51,7 @@ public class VersionImpl implements Version {
|
||||||
"Based on PGPainless " + getVersion() + "\n" +
|
"Based on PGPainless " + getVersion() + "\n" +
|
||||||
"Using " + getBackendVersion() + "\n" +
|
"Using " + getBackendVersion() + "\n" +
|
||||||
"See https://pgpainless.org\n" +
|
"See https://pgpainless.org\n" +
|
||||||
"Implementing Stateless OpenPGP Protocol Version 3\n" +
|
"Implementation of the Stateless OpenPGP Protocol Version " + SOP_VERSION + "\n" +
|
||||||
"See https://datatracker.ietf.org/doc/html/draft-dkg-openpgp-stateless-cli-03";
|
"See https://datatracker.ietf.org/doc/html/draft-dkg-openpgp-stateless-cli-03";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue