Interface DecryptionBuilderInterface.VerifyWith
-
- All Known Subinterfaces:
DecryptionBuilderInterface.Verify
- Enclosing interface:
- DecryptionBuilderInterface
public static interface DecryptionBuilderInterface.VerifyWith
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DecryptionBuilderInterface.HandleMissingPublicKeysverifyWith(java.util.Set<org.bouncycastle.openpgp.PGPPublicKeyRing> publicKeyRings)Pass in a set of trusted public keys to verify the signatures with.DecryptionBuilderInterface.HandleMissingPublicKeysverifyWith(java.util.Set<OpenPgpV4Fingerprint> trustedFingerprints, org.bouncycastle.openpgp.PGPPublicKeyRingCollection publicKeyRings)Pass in a collection of public keys along with a set of fingerprints of those keys that shall be used to verify the signatures.default DecryptionBuilderInterface.HandleMissingPublicKeysverifyWith(org.bouncycastle.openpgp.PGPPublicKeyRing publicKeyRing)Pass in a trusted public key ring to verify the signature with.DecryptionBuilderInterface.HandleMissingPublicKeysverifyWith(org.bouncycastle.openpgp.PGPPublicKeyRingCollection publicKeyRings)Pass in a collection of public keys to verify the signatures with.default DecryptionBuilderInterface.HandleMissingPublicKeysverifyWith(OpenPgpV4Fingerprint trustedFingerprint, org.bouncycastle.openpgp.PGPPublicKeyRingCollection publicKeyRings)Pass in a collection of public keys along with the fingerprint of the key that shall be used to verify the signatures.
-
-
-
Method Detail
-
verifyWith
DecryptionBuilderInterface.HandleMissingPublicKeys verifyWith(@Nonnull org.bouncycastle.openpgp.PGPPublicKeyRingCollection publicKeyRings)
Pass in a collection of public keys to verify the signatures with.- Parameters:
publicKeyRings- public keys- Returns:
- api handle
-
verifyWith
default DecryptionBuilderInterface.HandleMissingPublicKeys verifyWith(@Nonnull OpenPgpV4Fingerprint trustedFingerprint, @Nonnull org.bouncycastle.openpgp.PGPPublicKeyRingCollection publicKeyRings)
Pass in a collection of public keys along with the fingerprint of the key that shall be used to verify the signatures.- Parameters:
trustedFingerprint-OpenPgpV4Fingerprintof the public key that shall be used to verify the signatures.publicKeyRings- public keys- Returns:
- api handle
-
verifyWith
DecryptionBuilderInterface.HandleMissingPublicKeys verifyWith(@Nonnull java.util.Set<OpenPgpV4Fingerprint> trustedFingerprints, @Nonnull org.bouncycastle.openpgp.PGPPublicKeyRingCollection publicKeyRings)
Pass in a collection of public keys along with a set of fingerprints of those keys that shall be used to verify the signatures.- Parameters:
trustedFingerprints- set of trustedOpenPgpV4Fingerprints.publicKeyRings- public keys- Returns:
- api handle
-
verifyWith
default DecryptionBuilderInterface.HandleMissingPublicKeys verifyWith(@Nonnull org.bouncycastle.openpgp.PGPPublicKeyRing publicKeyRing)
Pass in a trusted public key ring to verify the signature with.- Parameters:
publicKeyRing- public key- Returns:
- api handle
-
verifyWith
DecryptionBuilderInterface.HandleMissingPublicKeys verifyWith(@Nonnull java.util.Set<org.bouncycastle.openpgp.PGPPublicKeyRing> publicKeyRings)
Pass in a set of trusted public keys to verify the signatures with.- Parameters:
publicKeyRings- public keys- Returns:
- api handle
-
-