Interface VerifyCleartextSignatures.VerifyWith

    • Method Detail

      • verifyWith

        CleartextSignatureProcessor verifyWith​(org.bouncycastle.openpgp.PGPPublicKeyRing publicKey)
                                        throws org.bouncycastle.openpgp.PGPException,
                                               java.io.IOException
        Pass in the verification key ring.
        Parameters:
        publicKey - verification key
        Returns:
        processor
        Throws:
        org.bouncycastle.openpgp.PGPException - if the keys cannot be converted to a PGPPublicKeyRingCollection.
        java.io.IOException - if the keys cannot be parsed properly
      • verifyWith

        CleartextSignatureProcessor verifyWith​(org.bouncycastle.openpgp.PGPPublicKeyRingCollection publicKeys)
                                        throws java.io.IOException
        Pass in the verification key ring collection.
        Parameters:
        publicKeys - verification keys
        Returns:
        processor
        Throws:
        java.io.IOException - if the keys cannot be parsed properly