Package org.apache.james.jdkim.impl
Class CompoundBodyHasher
- java.lang.Object
-
- org.apache.james.jdkim.impl.CompoundBodyHasher
-
- All Implemented Interfaces:
BodyHasher
public class CompoundBodyHasher extends Object implements BodyHasher
CompoundBodyHasher is used for verification purpose. It contains a compund output stream that will calculate the body hash for multiple signatures. This object is a container for "bodyHashJobs" and "signatureExceptions" for 2-stage verification process.
-
-
Constructor Summary
Constructors Constructor Description CompoundBodyHasher(Map<String,BodyHasherImpl> bodyHashJobs, Hashtable<String,FailException> signatureExceptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,BodyHasherImpl>
getBodyHashJobs()
OutputStream
getOutputStream()
Map<String,FailException>
getSignatureExceptions()
-
-
-
Constructor Detail
-
CompoundBodyHasher
public CompoundBodyHasher(Map<String,BodyHasherImpl> bodyHashJobs, Hashtable<String,FailException> signatureExceptions)
-
-
Method Detail
-
getOutputStream
public OutputStream getOutputStream()
- Specified by:
getOutputStream
in interfaceBodyHasher
-
getBodyHashJobs
public Map<String,BodyHasherImpl> getBodyHashJobs()
-
getSignatureExceptions
public Map<String,FailException> getSignatureExceptions()
-
-