Package org.apache.james.jdkim
Class IscheduleDKIMSignerImpl
java.lang.Object
org.apache.james.jdkim.DKIMCommon
org.apache.james.jdkim.DKIMSignerImpl
org.apache.james.jdkim.IscheduleDKIMSignerImpl
- All Implemented Interfaces:
DKIMSigner,IscheduleDKIMSigner
Variation on the DKIMSigner class which handles ischdule (http) data
-
Field Summary
Fields inherited from class org.apache.james.jdkim.DKIMSignerImpl
privateKey, signatureRecordTemplateFields inherited from class org.apache.james.jdkim.DKIMCommon
deepDebug -
Constructor Summary
ConstructorsConstructorDescriptionIscheduleDKIMSignerImpl(String signatureRecordTemplate, PrivateKey privateKey) IscheduleDKIMSignerImpl(PrivateKey privateKey) -
Method Summary
Methods inherited from class org.apache.james.jdkim.DKIMSignerImpl
getPrivateKey, newBodyHasher, newSignatureRecordTemplate, sign, signMethods inherited from class org.apache.james.jdkim.DKIMCommon
debugMsg, signatureCheck, streamCopy, trace, updateSignatureMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.james.jdkim.api.DKIMSigner
newBodyHasher, newSignatureRecordTemplate, sign, sign
-
Constructor Details
-
IscheduleDKIMSignerImpl
-
IscheduleDKIMSignerImpl
-
-
Method Details
-
sign
- Specified by:
signin interfaceIscheduleDKIMSigner- Parameters:
headers- http headersis- stream for content.- Returns:
- the dkim signature header
- Throws:
IOException- on errorFailException- on error
-