From 8212fe1cc7e46350329425bdd33480acca0db340 Mon Sep 17 00:00:00 2001 From: Paul Schaub Date: Wed, 3 Nov 2021 14:03:30 +0100 Subject: [PATCH] Create applyCallback util methods --- .../CertificationSignatureBuilder.java | 8 +++ .../builder/DirectKeySignatureBuilder.java | 9 ++++ .../PrimaryKeyBindingSignatureBuilder.java | 9 ++++ .../builder/RevocationSignatureBuilder.java | 10 ++++ .../signature/builder/SignatureFactory.java | 51 ++++--------------- .../SubkeyBindingSignatureBuilder.java | 9 ++++ .../signature/consumer/package-info.java | 8 +++ 7 files changed, 64 insertions(+), 40 deletions(-) create mode 100644 pgpainless-core/src/main/java/org/pgpainless/signature/consumer/package-info.java diff --git a/pgpainless-core/src/main/java/org/pgpainless/signature/builder/CertificationSignatureBuilder.java b/pgpainless-core/src/main/java/org/pgpainless/signature/builder/CertificationSignatureBuilder.java index f094c4fc..fd37d9d5 100644 --- a/pgpainless-core/src/main/java/org/pgpainless/signature/builder/CertificationSignatureBuilder.java +++ b/pgpainless-core/src/main/java/org/pgpainless/signature/builder/CertificationSignatureBuilder.java @@ -5,6 +5,7 @@ package org.pgpainless.signature.builder; import javax.annotation.Nonnull; +import javax.annotation.Nullable; import org.bouncycastle.openpgp.PGPException; import org.bouncycastle.openpgp.PGPPublicKey; @@ -34,6 +35,13 @@ public class CertificationSignatureBuilder extends AbstractSignatureBuilder { @@ -37,6 +40,13 @@ public class RevocationSignatureBuilder extends AbstractSignatureBuilder +// +// SPDX-License-Identifier: Apache-2.0 + +/** + * Classes related to OpenPGP signature verification. + */ +package org.pgpainless.signature.consumer;