mirror of
https://github.com/pgpainless/pgpainless.git
synced 2025-01-09 11:48:00 +01:00
Make non-test method a main method
This commit is contained in:
parent
004a761fdb
commit
ac469ff5d7
1 changed files with 1 additions and 4 deletions
|
@ -30,7 +30,6 @@ import org.bouncycastle.openpgp.PGPPublicKey;
|
||||||
import org.bouncycastle.openpgp.PGPPublicKeyRing;
|
import org.bouncycastle.openpgp.PGPPublicKeyRing;
|
||||||
import org.bouncycastle.openpgp.PGPSignature;
|
import org.bouncycastle.openpgp.PGPSignature;
|
||||||
import org.bouncycastle.util.io.Streams;
|
import org.bouncycastle.util.io.Streams;
|
||||||
import org.junit.jupiter.api.Disabled;
|
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
import org.pgpainless.PGPainless;
|
import org.pgpainless.PGPainless;
|
||||||
import org.pgpainless.key.TestKeys;
|
import org.pgpainless.key.TestKeys;
|
||||||
|
@ -125,9 +124,7 @@ public class CleartextSignatureVerificationTest {
|
||||||
CertificateValidator.validateCertificateAndVerifyInitializedSignature(signature, signingKeys, PGPainless.getPolicy());
|
CertificateValidator.validateCertificateAndVerifyInitializedSignature(signature, signingKeys, PGPainless.getPolicy());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
public static void main(String[] args) throws IOException {
|
||||||
@Disabled
|
|
||||||
public void print() throws IOException {
|
|
||||||
// CHECKSTYLE:OFF
|
// CHECKSTYLE:OFF
|
||||||
PGPPublicKeyRing keys = TestKeys.getEmilPublicKeyRing();
|
PGPPublicKeyRing keys = TestKeys.getEmilPublicKeyRing();
|
||||||
System.out.println(ArmorUtils.toAsciiArmoredString(keys));
|
System.out.println(ArmorUtils.toAsciiArmoredString(keys));
|
||||||
|
|
Loading…
Reference in a new issue