| Constructor and Description |
|---|
MIC(byte[] aMICBytes,
ECryptoAlgorithmSign eDigestAlgorithm) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getAsAS2String() |
MIC |
getClone() |
ECryptoAlgorithmSign |
getDigestAlgorithm() |
int |
hashCode() |
byte[] |
micBytes() |
static MIC |
parse(String sMIC)
Parse the provided String representation of the MIC into a
MIC
object. |
String |
toString() |
public MIC(@Nonnull byte[] aMICBytes, @Nonnull ECryptoAlgorithmSign eDigestAlgorithm)
@Nonnull public byte[] micBytes()
null.@Nonnull public ECryptoAlgorithmSign getDigestAlgorithm()
null.@Nonnull @Nonempty public String getAsAS2String()
<Base64EncodedMIC>, <MICAlgorithmID>@Nonnull @ReturnsMutableCopy public MIC getClone()
getClone in interface com.helger.commons.lang.ICloneable<MIC>@Nullable public static MIC parse(@Nullable String sMIC)
MIC
object. This is the reverse operation to getAsAS2String().sMIC - The MIC string to parse. May be null.null if an empty string was provided.IllegalArgumentException - If the layout is invalid and either the bytes could not be Base64
decoded or if an invalid signing crypto algorithm was used.Copyright © 2013–2022 Philip Helger. All rights reserved.