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 boolean
deepDebug
-
Constructor Summary
Constructors Constructor Description DKIMCommon()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static void
debugMsg(String msg)
=================================================================== Logging methods ===================================================================protected static void
signatureCheck(Headers h, SignatureRecord sign, List<CharSequence> headers, Signature signature)
static void
streamCopy(InputStream bodyIs, OutputStream out)
protected static void
trace(String msg)
protected static void
updateSignature(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:
SignatureException
PermFailException
-
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)
-
-