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

com.craxiom.messaging.wifi.AkmSuite Maven / Gradle / Ivy

There is a newer version: 1.6.0
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: com/craxiom/messaging/wifi/akmsuite/akm_suite.proto
// Protobuf Java Version: 4.27.3

package com.craxiom.messaging.wifi;

/**
 * 
 *
 * This enum defines the AKM Suites field of the 802.11 messages.
 *
 * Note that a single Beacon, Probe Response, Association Request, or Reassociation Request Frame can contain
 * multiple Cipher Suites, and multiple AKM suites.  It is necessary to list all of the supported suites so that a
 * proper security assessment can be performed on the Access Point.
 *
 * Following are how the enum values map to IEEE Std 802.11-2012
 * 00-0F-AC:1 - IEEE_8021X
 * 00-0F-AC:2 - PSK
 * 00-0F-AC:3 - FT_IEEE_8021X
 * 00-0F-AC:4 - FT_PSK
 * 00-0F-AC:5 - IEEE_8021X_SHA256
 * 00-0F-AC:6 - PSK_SHA256
 * 00-0F-AC:7 - TDLS
 * 00-0F-AC:8 - SAE
 * 00-0F-AC:9 - FT_SAE
 * <p>
 * And OPEN is no AKM.
 * 
* * Protobuf enum {@code com.craxiom.messaging.wifi.akmsuite.AkmSuite} */ public enum AkmSuite implements com.google.protobuf.ProtocolMessageEnum { /** * UNKNOWN = 0; */ UNKNOWN(0), /** *
   * EAP AKM Methods
   * 
* * IEEE_8021X = 1; */ IEEE_8021X(1), /** * FT_IEEE_8021X = 3; */ FT_IEEE_8021X(3), /** * IEEE_8021X_SHA256 = 5; */ IEEE_8021X_SHA256(5), /** *
   * PSK AKM Methods
   * 
* * PSK = 2; */ PSK(2), /** * FT_PSK = 4; */ FT_PSK(4), /** * PSK_SHA256 = 6; */ PSK_SHA256(6), /** * SAE = 8; */ SAE(8), /** * FT_SAE = 9; */ FT_SAE(9), /** *
   * TDLS
   * 
* * TDLS = 7; */ TDLS(7), /** * OPEN = 13; */ OPEN(13), UNRECOGNIZED(-1), ; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 27, /* patch= */ 3, /* suffix= */ "", AkmSuite.class.getName()); } /** * UNKNOWN = 0; */ public static final int UNKNOWN_VALUE = 0; /** *
   * EAP AKM Methods
   * 
* * IEEE_8021X = 1; */ public static final int IEEE_8021X_VALUE = 1; /** * FT_IEEE_8021X = 3; */ public static final int FT_IEEE_8021X_VALUE = 3; /** * IEEE_8021X_SHA256 = 5; */ public static final int IEEE_8021X_SHA256_VALUE = 5; /** *
   * PSK AKM Methods
   * 
* * PSK = 2; */ public static final int PSK_VALUE = 2; /** * FT_PSK = 4; */ public static final int FT_PSK_VALUE = 4; /** * PSK_SHA256 = 6; */ public static final int PSK_SHA256_VALUE = 6; /** * SAE = 8; */ public static final int SAE_VALUE = 8; /** * FT_SAE = 9; */ public static final int FT_SAE_VALUE = 9; /** *
   * TDLS
   * 
* * TDLS = 7; */ public static final int TDLS_VALUE = 7; /** * OPEN = 13; */ public static final int OPEN_VALUE = 13; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static AkmSuite valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static AkmSuite forNumber(int value) { switch (value) { case 0: return UNKNOWN; case 1: return IEEE_8021X; case 3: return FT_IEEE_8021X; case 5: return IEEE_8021X_SHA256; case 2: return PSK; case 4: return FT_PSK; case 6: return PSK_SHA256; case 8: return SAE; case 9: return FT_SAE; case 7: return TDLS; case 13: return OPEN; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< AkmSuite> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public AkmSuite findValueByNumber(int number) { return AkmSuite.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.craxiom.messaging.wifi.AkmSuiteOuterClass.getDescriptor().getEnumTypes().get(0); } private static final AkmSuite[] VALUES = values(); public static AkmSuite valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private AkmSuite(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:com.craxiom.messaging.wifi.akmsuite.AkmSuite) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy