Interface VerifyCleartextSignatures.VerifyWith

    • Method Detail

      • withOptions

        CleartextSignatureProcessor withOptions​(ConsumerOptions options)
                                         throws java.io.IOException
        Pass in consumer options like verification certificates, acceptable date ranges etc.
        Parameters:
        options - options
        Returns:
        processor
        Throws:
        java.io.IOException - in case of an IO error
      • verifyWith

        @Deprecated
        CleartextSignatureProcessor verifyWith​(org.bouncycastle.openpgp.PGPPublicKeyRing publicKey)
                                        throws org.bouncycastle.openpgp.PGPException,
                                               java.io.IOException
        Deprecated.
        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

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