org.mitre.cybox.objects.Layer7ProtocolEnum Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of stix Show documentation
Show all versions of stix Show documentation
The Java bindings for STIX v.1.2.0.2
The newest version!
/**
* Copyright (c) 2015, The MITRE Corporation. All rights reserved.
* See LICENSE for complete terms.
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-2
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.07.01 at 03:19:53 PM EDT
//
package org.mitre.cybox.objects;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for Layer7ProtocolEnum.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="Layer7ProtocolEnum">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="HTTP"/>
* <enumeration value="HTTPS"/>
* <enumeration value="FTP"/>
* <enumeration value="SMTP"/>
* <enumeration value="IRC"/>
* <enumeration value="IDENT"/>
* <enumeration value="DNS"/>
* <enumeration value="TELNET"/>
* <enumeration value="POP3"/>
* <enumeration value="IMAP"/>
* <enumeration value="SSH"/>
* <enumeration value="SMB"/>
* <enumeration value="ADC"/>
* <enumeration value="AFP"/>
* <enumeration value="BACNet"/>
* <enumeration value="BitTorrent"/>
* <enumeration value="BOOTP"/>
* <enumeration value="Diameter"/>
* <enumeration value="DICOM"/>
* <enumeration value="DICT"/>
* <enumeration value="DSM-CC"/>
* <enumeration value="DSNP"/>
* <enumeration value="DHCP"/>
* <enumeration value="ED2K"/>
* <enumeration value="Finger"/>
* <enumeration value="Gnutella"/>
* <enumeration value="Gopher"/>
* <enumeration value="ISUP"/>
* <enumeration value="LDAP"/>
* <enumeration value="MIME"/>
* <enumeration value="MSNP"/>
* <enumeration value="MAP"/>
* <enumeration value="NetBIOS"/>
* <enumeration value="NNTP"/>
* <enumeration value="NTP"/>
* <enumeration value="NTCIP"/>
* <enumeration value="RADIUS"/>
* <enumeration value="RDP"/>
* <enumeration value="rlogin"/>
* <enumeration value="rsync"/>
* <enumeration value="RTP"/>
* <enumeration value="RTSP"/>
* <enumeration value="SISNAPI"/>
* <enumeration value="SIP"/>
* <enumeration value="SNMP"/>
* <enumeration value="STUN"/>
* <enumeration value="TUP"/>
* <enumeration value="TCAP"/>
* <enumeration value="TFTP"/>
* <enumeration value="WebDAV"/>
* <enumeration value="XMPP"/>
* <enumeration value="Modbus"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "Layer7ProtocolEnum", namespace = "http://cybox.mitre.org/objects#NetworkConnectionObject-2")
@XmlEnum
public enum Layer7ProtocolEnum {
/**
* Specifies the Hypertext Transfer Protocol.
*
*/
HTTP("HTTP"),
/**
* Specifies the Hypertext Transfer Protocol Secure.
*
*/
HTTPS("HTTPS"),
/**
* Specifies the File Transfer Protocol.
*
*/
FTP("FTP"),
/**
* Specifies the Simple Mail Transfer Protocol.
*
*/
SMTP("SMTP"),
/**
* Specifies the Internet Relay Chat protocol.
*
*/
IRC("IRC"),
/**
* Specifies the Identification Protocol, IDENT.
*
*/
IDENT("IDENT"),
/**
* Specifies the Domain Name System protocol.
*
*/
DNS("DNS"),
/**
* Specifies the Telnet protocol.
*
*/
TELNET("TELNET"),
/**
* Specifies the Post Office Protocol, version 3.
*
*/
@XmlEnumValue("POP3")
POP_3("POP3"),
/**
* Specifies the Internet Message Access Protocol.
*
*/
IMAP("IMAP"),
/**
* Specifies the Secure Shell protocol.
*
*/
SSH("SSH"),
/**
* Specifies the Microsoft Server Message Block protocol.
*
*/
SMB("SMB"),
/**
* Specifies the Advance Direct Connect protocol.
*
*/
ADC("ADC"),
/**
* Specifies the Apple Filing Protocol.
*
*/
AFP("AFP"),
/**
* Specifies the Building Automation and Control Network protocol.
*
*/
@XmlEnumValue("BACNet")
BAC_NET("BACNet"),
/**
* Specifies the BitTorrent protocol.
*
*/
@XmlEnumValue("BitTorrent")
BIT_TORRENT("BitTorrent"),
/**
* Specifies the Bootstrap Protocol.
*
*/
BOOTP("BOOTP"),
/**
* Specifies the Diameter protocol.
*
*/
@XmlEnumValue("Diameter")
DIAMETER("Diameter"),
/**
* Specifies the Digital Imaging and Communications in Medicine protocol.
*
*/
DICOM("DICOM"),
/**
* Specifies the Dictionary protocol.
*
*/
DICT("DICT"),
/**
* Specifies the Digital Storage Media Command and Control protocol.
*
*/
@XmlEnumValue("DSM-CC")
DSM_CC("DSM-CC"),
/**
* Specifies the Distributed Social Networking Protocol.
*
*/
DSNP("DSNP"),
/**
* Specifies the Dynamic Host Configuration Protocol.
*
*/
DHCP("DHCP"),
/**
* Specifies the EDonkey2000 protocol.
*
*/
@XmlEnumValue("ED2K")
ED_2_K("ED2K"),
/**
* Specifies the Finger protocol.
*
*/
@XmlEnumValue("Finger")
FINGER("Finger"),
/**
* Specifies the Gnutella protocol.
*
*/
@XmlEnumValue("Gnutella")
GNUTELLA("Gnutella"),
/**
* Specifies the Gopher protocol.
*
*/
@XmlEnumValue("Gopher")
GOPHER("Gopher"),
/**
* Specifies the ISDN User Part protocol.
*
*/
ISUP("ISUP"),
/**
* Specifies the Lightweight Directory Access Protocol.
*
*/
LDAP("LDAP"),
/**
* Specifies the Multipurpose Internet Mail Extensions protocol.
*
*/
MIME("MIME"),
/**
* Specifies the Microsoft Notification Protocol.
*
*/
MSNP("MSNP"),
/**
* Specifies the Mobile Application Part protocol.
*
*/
MAP("MAP"),
/**
* Specifies the Network Basic Input/Output System protocol.
*
*/
@XmlEnumValue("NetBIOS")
NET_BIOS("NetBIOS"),
/**
* Specifies the Network News Transfer Protocol.
*
*/
NNTP("NNTP"),
/**
* Specifies the Network Time Protocol.
*
*/
NTP("NTP"),
/**
* Specifies the National Transportation Communications for Intelligent Transportation System Protocol.
*
*/
NTCIP("NTCIP"),
/**
* Specifies the Remote Authentication Dial In User Service protocol.
*
*/
RADIUS("RADIUS"),
/**
* Specifies the Remote Desktop Protocol.
*
*/
RDP("RDP"),
/**
* Specifies the rlogin protocol.
*
*/
@XmlEnumValue("rlogin")
RLOGIN("rlogin"),
/**
* Specifies the rsync potocol.
*
*/
@XmlEnumValue("rsync")
RSYNC("rsync"),
/**
* Specifies the Real-time Transport Protocol.
*
*/
RTP("RTP"),
/**
* Specifies the Real-time Transport Streaming Protocol.
*
*/
RTSP("RTSP"),
/**
* Specifies the Siebel Internet Session Network API protocol.
*
*/
SISNAPI("SISNAPI"),
/**
* Specifies the Session Initiation Protocol.
*
*/
SIP("SIP"),
/**
* Specifies the Simple Network Management Protocol.
*
*/
SNMP("SNMP"),
/**
* Specifies the Session Traversal Utilities for NAT protocol.
*
*/
STUN("STUN"),
/**
* Specifies the Telephone User Part protocol.
*
*/
TUP("TUP"),
/**
* Specifies the Transaction Capabilities Application Part protocol.
*
*/
TCAP("TCAP"),
/**
* Specifies the Trivial File Transfer Protocol.
*
*/
TFTP("TFTP"),
/**
* Specifies the Web Distributed Authoring and Versioning protocol.
*
*/
@XmlEnumValue("WebDAV")
WEB_DAV("WebDAV"),
/**
* Specifies the Extensible Messaging and Presence Protocol.
*
*/
XMPP("XMPP"),
/**
* Specifies the Modbus Protocol.
*
*/
@XmlEnumValue("Modbus")
MODBUS("Modbus");
private final String value;
Layer7ProtocolEnum(String v) {
value = v;
}
public String value() {
return value;
}
public static Layer7ProtocolEnum fromValue(String v) {
for (Layer7ProtocolEnum c : Layer7ProtocolEnum.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}