Class VerifyCleartextSignaturesImpl.VerifyWithImpl
- java.lang.Object
-
- org.pgpainless.signature.cleartext_signatures.VerifyCleartextSignaturesImpl.VerifyWithImpl
-
- All Implemented Interfaces:
VerifyCleartextSignatures.VerifyWith
- Enclosing class:
- VerifyCleartextSignaturesImpl
public class VerifyCleartextSignaturesImpl.VerifyWithImpl extends java.lang.Object implements VerifyCleartextSignatures.VerifyWith
-
-
Constructor Summary
Constructors Constructor Description VerifyWithImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CleartextSignatureProcessorverifyWith(org.bouncycastle.openpgp.PGPPublicKeyRing publicKey)Pass in the verification key ring.CleartextSignatureProcessorverifyWith(org.bouncycastle.openpgp.PGPPublicKeyRingCollection publicKeys)Pass in the verification key ring collection.
-
-
-
Method Detail
-
verifyWith
public CleartextSignatureProcessor verifyWith(org.bouncycastle.openpgp.PGPPublicKeyRing publicKey) throws org.bouncycastle.openpgp.PGPException, java.io.IOException
Description copied from interface:VerifyCleartextSignatures.VerifyWithPass in the verification key ring.- Specified by:
verifyWithin interfaceVerifyCleartextSignatures.VerifyWith- Parameters:
publicKey- verification key- Returns:
- processor
- Throws:
org.bouncycastle.openpgp.PGPException- if the keys cannot be converted to aPGPPublicKeyRingCollection.java.io.IOException- if the keys cannot be parsed properly
-
verifyWith
public CleartextSignatureProcessor verifyWith(org.bouncycastle.openpgp.PGPPublicKeyRingCollection publicKeys) throws java.io.IOException
Description copied from interface:VerifyCleartextSignatures.VerifyWithPass in the verification key ring collection.- Specified by:
verifyWithin interfaceVerifyCleartextSignatures.VerifyWith- Parameters:
publicKeys- verification keys- Returns:
- processor
- Throws:
java.io.IOException- if the keys cannot be parsed properly
-
-