Stay organized with collections
Save and categorize content based on your preferences.
GroupCipher
open class GroupCipher
Recognized group ciphers.
CCMP = AES in Counter mode with CBC-MAC [RFC 3610, IEEE 802.11i/D7.0]
TKIP = Temporal Key Integrity Protocol [IEEE 802.11i/D7.0]
WEP104 = WEP (Wired Equivalent Privacy) with 104-bit key
WEP40 = WEP (Wired Equivalent Privacy) with 40-bit key (original 802.11)
GCMP_256 = AES in Galois/Counter Mode
Summary
Constants |
static Int |
AES in Counter mode with CBC-MAC [RFC 3610, IEEE 802.
|
static Int |
AES in Galois/Counter Mode with a 128-bit integrity key
|
static Int |
AES in Galois/Counter Mode
|
static Int |
SMS4 cipher for WAPI
|
static Int |
Temporal Key Integrity Protocol [IEEE 802.
|
static Int |
WEP104 = WEP (Wired Equivalent Privacy) with 104-bit key
|
static Int |
WEP40 = WEP (Wired Equivalent Privacy) with 40-bit key (original 802.11)
|
static String |
|
Constants
CCMP
static val CCMP: Int
AES in Counter mode with CBC-MAC [RFC 3610, IEEE 802.11i/D7.0]
Value: 3
GCMP_128
static val GCMP_128: Int
AES in Galois/Counter Mode with a 128-bit integrity key
Value: 7
GCMP_256
static val GCMP_256: Int
AES in Galois/Counter Mode
Value: 5
SMS4
static val SMS4: Int
SMS4 cipher for WAPI
Value: 6
TKIP
static val TKIP: Int
Temporal Key Integrity Protocol [IEEE 802.11i/D7.0]
Value: 2
WEP104
static val WEP104: Int
Deprecated: Due to security and performance limitations, use of WEP networks is discouraged.
WEP104 = WEP (Wired Equivalent Privacy) with 104-bit key
Value: 1
WEP40
static val WEP40: Int
Deprecated: Due to security and performance limitations, use of WEP networks is discouraged.
WEP40 = WEP (Wired Equivalent Privacy) with 40-bit key (original 802.11)
Value: 0
varName
static val varName: String
Value: "group"
Properties
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-08-20 UTC.
[null,null,["Last updated 2025-08-20 UTC."],[],[],null,["# WifiConfiguration.GroupCipher\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nGroupCipher\n===========\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/net/wifi/WifiConfiguration.GroupCipher \"View this page in Java\") \n\n```\nopen class GroupCipher\n```\n\n|---|-----------------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.net.wifi.WifiConfiguration.GroupCipher](#) |\n\nRecognized group ciphers. \n\n```kotlin\nCCMP = AES in Counter mode with CBC-MAC [RFC 3610, IEEE 802.11i/D7.0]\n TKIP = Temporal Key Integrity Protocol [IEEE 802.11i/D7.0]\n WEP104 = WEP (Wired Equivalent Privacy) with 104-bit key\n WEP40 = WEP (Wired Equivalent Privacy) with 40-bit key (original 802.11)\n GCMP_256 = AES in Galois/Counter Mode\n \n```\n\n\u003cbr /\u003e\n\nSummary\n-------\n\n| Constants ||\n|-----------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------|\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [CCMP](#CCMP:kotlin.Int) AES in Counter mode with CBC-MAC \\[RFC 3610, IEEE 802. |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [GCMP_128](#GCMP_128:kotlin.Int) AES in Galois/Counter Mode with a 128-bit integrity key |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [GCMP_256](#GCMP_256:kotlin.Int) AES in Galois/Counter Mode |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [SMS4](#SMS4:kotlin.Int) SMS4 cipher for WAPI |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [TKIP](#TKIP:kotlin.Int) Temporal Key Integrity Protocol \\[IEEE 802. |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [WEP104](#WEP104:kotlin.Int) WEP104 = WEP (Wired Equivalent Privacy) with 104-bit key |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [WEP40](#WEP40:kotlin.Int) WEP40 = WEP (Wired Equivalent Privacy) with 40-bit key (original 802.11) |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [varName](#varName:kotlin.String) \u003cbr /\u003e |\n\n| Properties ||\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------|\n| static [Array](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html)\\\u003c[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!\\\u003e! | [strings](#strings:kotlin.Array) \u003cbr /\u003e |\n\nConstants\n---------\n\n### CCMP\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val CCMP: Int\n```\n\nAES in Counter mode with CBC-MAC \\[RFC 3610, IEEE 802.11i/D7.0\\] \n\n Value: 3\n\n### GCMP_128\n\nAdded in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val GCMP_128: Int\n```\n\nAES in Galois/Counter Mode with a 128-bit integrity key \n\n Value: 7\n\n### GCMP_256\n\nAdded in [API level 29](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val GCMP_256: Int\n```\n\nAES in Galois/Counter Mode \n\n Value: 5\n\n### SMS4\n\nAdded in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val SMS4: Int\n```\n\nSMS4 cipher for WAPI \n\n Value: 6\n\n### TKIP\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val TKIP: Int\n```\n\nTemporal Key Integrity Protocol \\[IEEE 802.11i/D7.0\\] \n\n Value: 2\n\n### WEP104\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \nDeprecated in [API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val WEP104: Int\n```\n\n**Deprecated:** *Due to security and performance limitations, use of WEP networks is discouraged.*\n\nWEP104 = WEP (Wired Equivalent Privacy) with 104-bit key \n\n Value: 1\n\n### WEP40\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \nDeprecated in [API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val WEP40: Int\n```\n\n**Deprecated:** *Due to security and performance limitations, use of WEP networks is discouraged.*\n\nWEP40 = WEP (Wired Equivalent Privacy) with 40-bit key (original 802.11) \n\n Value: 0\n\n### varName\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val varName: String\n``` \n\n Value: \"group\"\n\nProperties\n----------\n\n### strings\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val strings: Array\u003cString!\u003e!\n```"]]