
tsg.ns.wsdl.coop.SignatureAlgorithm Maven / Gradle / Ivy
package tsg.ns.wsdl.coop;
import jakarta.xml.bind.annotation.XmlEnum;
import jakarta.xml.bind.annotation.XmlEnumValue;
import jakarta.xml.bind.annotation.XmlType;
/**
* Java class for SignatureAlgorithm.
*
*
The following schema fragment specifies the expected content contained within this class.
*
* <simpleType name="SignatureAlgorithm">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="HMAC_SHA256"/>
* <enumeration value="HMAC_SHA1"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "SignatureAlgorithm", namespace = "urn:types.core_2023_1.platform.webservices.netsuite.com")
@XmlEnum
public enum SignatureAlgorithm {
@XmlEnumValue("HMAC_SHA256")
HMAC_SHA_256("HMAC_SHA256"),
@XmlEnumValue("HMAC_SHA1")
HMAC_SHA_1("HMAC_SHA1");
private final String value;
SignatureAlgorithm(String v) {
value = v;
}
public String value() {
return value;
}
public static SignatureAlgorithm fromValue(String v) {
for (SignatureAlgorithm c: SignatureAlgorithm.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy