Interface VerifyCleartextSignatures.WithStrategy
-
- All Known Implementing Classes:
VerifyCleartextSignaturesImpl.WithStrategyImpl
- Enclosing interface:
- VerifyCleartextSignatures
public static interface VerifyCleartextSignatures.WithStrategy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VerifyCleartextSignatures.VerifyWithwithStrategy(MultiPassStrategy multiPassStrategy)Provide aMultiPassStrategywhich is used to store the message content.
-
-
-
Method Detail
-
withStrategy
VerifyCleartextSignatures.VerifyWith withStrategy(MultiPassStrategy multiPassStrategy)
Provide aMultiPassStrategywhich is used to store the message content. Since cleartext-signed messages cannot be processed in one pass, the message has to be passed twice. Therefore the user needs to decide upon a strategy where to cache/store the message between the passes. This could beMultiPassStrategy.writeMessageToFile(File)orMultiPassStrategy.keepMessageInMemory(), depending on message size and use-case.- Parameters:
multiPassStrategy- strategy- Returns:
- api handle
-
-