com.prowidesoftware.swift.model.mx.dic.Algorithm11Code Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pw-iso20022 Show documentation
Show all versions of pw-iso20022 Show documentation
Prowide Library for ISO 20022 messages
package com.prowidesoftware.swift.model.mx.dic;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for Algorithm11Code.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="Algorithm11Code">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="HS25"/>
* <enumeration value="HS38"/>
* <enumeration value="HS51"/>
* <enumeration value="HS01"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "Algorithm11Code")
@XmlEnum
public enum Algorithm11Code {
/**
* Message digest algorithm SHA-256 as defined in FIPS 180-1 and 2 - (ASN.1 Object Identifier: id-sha256).
*
*/
@XmlEnumValue("HS25")
HS_25("HS25"),
/**
* Message digest algorithm SHA-384 as defined in FIPS 180-1 and 2 - (ASN.1 Object Identifier: id-sha384).
*
*/
@XmlEnumValue("HS38")
HS_38("HS38"),
/**
* Message digest algorithm SHA-512 as defined in FIPS 180-1 and 2 - (ASN.1 Object Identifier: id-sha512).
*
*/
@XmlEnumValue("HS51")
HS_51("HS51"),
/**
* Message digest algorithm SHA-1 as defined in FIPS 180-1 - (ASN.1 Object Identifier: id-sha1).
*
*/
@XmlEnumValue("HS01")
HS_01("HS01");
private final String value;
Algorithm11Code(String v) {
value = v;
}
public String value() {
return value;
}
public static Algorithm11Code fromValue(String v) {
for (Algorithm11Code c: Algorithm11Code.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy