org.apache.james.jdkim.impl
Class CompoundBodyHasher

java.lang.Object
  extended by 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
CompoundBodyHasher(Map<String,BodyHasherImpl> bodyHashJobs, Hashtable<String,FailException> signatureExceptions)
           
 
Method Summary
 Map<String,BodyHasherImpl> getBodyHashJobs()
           
 OutputStream getOutputStream()
           
 Map<String,FailException> getSignatureExceptions()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompoundBodyHasher

public CompoundBodyHasher(Map<String,BodyHasherImpl> bodyHashJobs,
                          Hashtable<String,FailException> signatureExceptions)
Method Detail

getOutputStream

public OutputStream getOutputStream()
Specified by:
getOutputStream in interface BodyHasher

getBodyHashJobs

public Map<String,BodyHasherImpl> getBodyHashJobs()

getSignatureExceptions

public Map<String,FailException> getSignatureExceptions()


Copyright © 2008-2011 The Apache Software Foundation. All Rights Reserved.