All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.cxf.xkms.model.xkms.KeyUsageEnum Maven / Gradle / Ivy

There is a newer version: 4.1.0
Show newest version

package org.apache.cxf.xkms.model.xkms;

import jakarta.xml.bind.annotation.XmlEnum;
import jakarta.xml.bind.annotation.XmlEnumValue;
import jakarta.xml.bind.annotation.XmlType;


/**
 * 

Java class for KeyUsageEnum. * *

The following schema fragment specifies the expected content contained within this class. *

 * <simpleType name="KeyUsageEnum">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}anyURI">
 *     <enumeration value="http://www.w3.org/2002/03/xkms#Encryption"/>
 *     <enumeration value="http://www.w3.org/2002/03/xkms#Signature"/>
 *     <enumeration value="http://www.w3.org/2002/03/xkms#Exchange"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "KeyUsageEnum") @XmlEnum public enum KeyUsageEnum { @XmlEnumValue("http://www.w3.org/2002/03/xkms#Encryption") HTTP_WWW_W_3_ORG_2002_03_XKMS_ENCRYPTION("http://www.w3.org/2002/03/xkms#Encryption"), @XmlEnumValue("http://www.w3.org/2002/03/xkms#Signature") HTTP_WWW_W_3_ORG_2002_03_XKMS_SIGNATURE("http://www.w3.org/2002/03/xkms#Signature"), @XmlEnumValue("http://www.w3.org/2002/03/xkms#Exchange") HTTP_WWW_W_3_ORG_2002_03_XKMS_EXCHANGE("http://www.w3.org/2002/03/xkms#Exchange"); private final String value; KeyUsageEnum(String v) { value = v; } public String value() { return value; } public static KeyUsageEnum fromValue(String v) { for (KeyUsageEnum c: KeyUsageEnum.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy