Interface VerifyCleartextSignatures.VerifyWith
-
- All Known Implementing Classes:
VerifyCleartextSignaturesImpl.VerifyWithImpl
- Enclosing interface:
- VerifyCleartextSignatures
public static interface VerifyCleartextSignatures.VerifyWith
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description CleartextSignatureProcessor
verifyWith(org.bouncycastle.openpgp.PGPPublicKeyRing publicKey)
Deprecated.usewithOptions(ConsumerOptions)
instead.CleartextSignatureProcessor
verifyWith(org.bouncycastle.openpgp.PGPPublicKeyRingCollection publicKeys)
Deprecated.usewithOptions(ConsumerOptions)
instead.CleartextSignatureProcessor
withOptions(ConsumerOptions options)
Pass in consumer options like verification certificates, acceptable date ranges etc.
-
-
-
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.usewithOptions(ConsumerOptions)
instead.Pass in the verification key ring.- 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
@Deprecated CleartextSignatureProcessor verifyWith(org.bouncycastle.openpgp.PGPPublicKeyRingCollection publicKeys) throws java.io.IOException
Deprecated.usewithOptions(ConsumerOptions)
instead.Pass in the verification key ring collection.- Parameters:
publicKeys
- verification keys- Returns:
- processor
- Throws:
java.io.IOException
- if the keys cannot be parsed properly
-
-