Package network.oxalis.as2.model
Class Mic
- java.lang.Object
-
- network.oxalis.as2.model.Mic
-
public class Mic extends Object
Value object holding the Message Integrity Control (MIC) of an AS2 message.- Author:
- steinar
-
-
Constructor Summary
Constructors Constructor Description Mic(String digestAsString, SMimeDigestMethod algorithm)Mic(network.oxalis.vefa.peppol.common.model.Digest digest)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)inthashCode()StringtoString()static MicvalueOf(String receivedContentMic)
-
-
-
Constructor Detail
-
Mic
public Mic(network.oxalis.vefa.peppol.common.model.Digest digest)
-
Mic
public Mic(String digestAsString, SMimeDigestMethod algorithm)
-
-
Method Detail
-
valueOf
public static Mic valueOf(String receivedContentMic) throws NoSuchAlgorithmException
- Throws:
NoSuchAlgorithmException
-
-