Interface DecryptionBuilderInterface.VerifyWith

    • 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 - OpenPgpV4Fingerprint of 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 trusted OpenPgpV4Fingerprints.
        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