Package org.apache.james.jdkim
Class DKIMCommon
- java.lang.Object
-
- org.apache.james.jdkim.DKIMCommon
-
- Direct Known Subclasses:
DKIMSigner,DKIMVerifier,IscheduleDKIMSigner
public abstract class DKIMCommon extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static booleandeepDebug
-
Constructor Summary
Constructors Constructor Description DKIMCommon()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static voiddebugMsg(String msg)=================================================================== Logging methods ===================================================================protected static voidsignatureCheck(Headers h, SignatureRecord sign, List<CharSequence> headers, Signature signature)static voidstreamCopy(InputStream bodyIs, OutputStream out)protected static voidtrace(String msg)protected static voidupdateSignature(Signature signature, boolean relaxed, boolean ischeduleRelaxed, CharSequence header, String fv)
-
-
-
Method Detail
-
updateSignature
protected static void updateSignature(Signature signature, boolean relaxed, boolean ischeduleRelaxed, CharSequence header, String fv) throws SignatureException
- Throws:
SignatureException
-
signatureCheck
protected static void signatureCheck(Headers h, SignatureRecord sign, List<CharSequence> headers, Signature signature) throws SignatureException, PermFailException
- Throws:
SignatureExceptionPermFailException
-
streamCopy
public static void streamCopy(InputStream bodyIs, OutputStream out) throws IOException
- Throws:
IOException
-
debugMsg
protected static void debugMsg(String msg)
=================================================================== Logging methods ===================================================================
-
trace
protected static void trace(String msg)
-
-