Package network.oxalis.as2.util
Enum SMimeDigestMethod
- java.lang.Object
-
- java.lang.Enum<SMimeDigestMethod>
-
- network.oxalis.as2.util.SMimeDigestMethod
-
- All Implemented Interfaces:
Serializable,Comparable<SMimeDigestMethod>
public enum SMimeDigestMethod extends Enum<SMimeDigestMethod>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SMimeDigestMethodfindByDigestMethod(network.oxalis.vefa.peppol.common.code.DigestMethod digestMethod)static SMimeDigestMethodfindByIdentifier(String identifier)static SMimeDigestMethodfindByTransportProfile(network.oxalis.vefa.peppol.common.model.TransportProfile transportProfile)StringgetAlgorithm()network.oxalis.vefa.peppol.common.code.DigestMethodgetDigestMethod()StringgetIdentifier()StringgetMethod()org.bouncycastle.asn1.ASN1ObjectIdentifiergetOid()network.oxalis.vefa.peppol.common.model.TransportProfilegetTransportProfile()static SMimeDigestMethodvalueOf(String name)Returns the enum constant of this type with the specified name.static SMimeDigestMethod[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
sha1
public static final SMimeDigestMethod sha1
-
sha256
public static final SMimeDigestMethod sha256
-
sha512
public static final SMimeDigestMethod sha512
-
-
Method Detail
-
values
public static SMimeDigestMethod[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SMimeDigestMethod c : SMimeDigestMethod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SMimeDigestMethod valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getIdentifier
public String getIdentifier()
-
getMethod
public String getMethod()
-
getAlgorithm
public String getAlgorithm()
-
getOid
public org.bouncycastle.asn1.ASN1ObjectIdentifier getOid()
-
getDigestMethod
public network.oxalis.vefa.peppol.common.code.DigestMethod getDigestMethod()
-
getTransportProfile
public network.oxalis.vefa.peppol.common.model.TransportProfile getTransportProfile()
-
findByIdentifier
public static SMimeDigestMethod findByIdentifier(String identifier) throws NoSuchAlgorithmException
- Throws:
NoSuchAlgorithmException
-
findByTransportProfile
public static SMimeDigestMethod findByTransportProfile(network.oxalis.vefa.peppol.common.model.TransportProfile transportProfile)
-
findByDigestMethod
public static SMimeDigestMethod findByDigestMethod(network.oxalis.vefa.peppol.common.code.DigestMethod digestMethod)
-
-