1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-11-22 20:32:05 +01:00

Fix spelling of Bouncy Castle

This commit is contained in:
Paul Schaub 2022-01-09 01:24:56 +01:00
parent f2d88d8a86
commit 1b1a13e7d0

View file

@ -12,6 +12,10 @@ import org.bouncycastle.jce.provider.BouncyCastleProvider;
import sop.operation.Version;
public class VersionImpl implements Version {
// draft version
private static final String SOP_VERSION = "3";
@Override
public String getName() {
return "PGPainless-SOP";
@ -38,7 +42,7 @@ public class VersionImpl implements Version {
@Override
public String getBackendVersion() {
double bcVersion = new BouncyCastleProvider().getVersion();
return String.format("Bouncycastle %,.2f", bcVersion);
return String.format("Bouncy Castle %,.2f", bcVersion);
}
@Override
@ -47,7 +51,7 @@ public class VersionImpl implements Version {
"Based on PGPainless " + getVersion() + "\n" +
"Using " + getBackendVersion() + "\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";
}
}