# WifiConfiguration.GroupCipher

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

# GroupCipher

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/android/net/wifi/WifiConfiguration.GroupCipher "View this page in Java")  

```
open class GroupCipher
```

|---|--------------------------------------------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                                                                   ||
| ↳ | [android.net.wifi.WifiConfiguration.GroupCipher](https://developer.android.com/reference/kotlin/android/net/wifi/WifiConfiguration.GroupCipher#) |

Recognized group ciphers.  

```kotlin
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
  
```

<br />

## Summary

|                                                                                                                                        Constants                                                                                                                                         ||
|----------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)       | [CCMP](https://developer.android.com/reference/kotlin/android/net/wifi/WifiConfiguration.GroupCipher#CCMP:kotlin.Int) AES in Counter mode with CBC-MAC \[RFC 3610, IEEE 802.                     |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)       | [GCMP_128](https://developer.android.com/reference/kotlin/android/net/wifi/WifiConfiguration.GroupCipher#GCMP_128:kotlin.Int) AES in Galois/Counter Mode with a 128-bit integrity key            |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)       | [GCMP_256](https://developer.android.com/reference/kotlin/android/net/wifi/WifiConfiguration.GroupCipher#GCMP_256:kotlin.Int) AES in Galois/Counter Mode                                         |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)       | [SMS4](https://developer.android.com/reference/kotlin/android/net/wifi/WifiConfiguration.GroupCipher#SMS4:kotlin.Int) SMS4 cipher for WAPI                                                       |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)       | [TKIP](https://developer.android.com/reference/kotlin/android/net/wifi/WifiConfiguration.GroupCipher#TKIP:kotlin.Int) Temporal Key Integrity Protocol \[IEEE 802.                                |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)       | [WEP104](https://developer.android.com/reference/kotlin/android/net/wifi/WifiConfiguration.GroupCipher#WEP104:kotlin.Int) WEP104 = WEP (Wired Equivalent Privacy) with 104-bit key               |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)       | [WEP40](https://developer.android.com/reference/kotlin/android/net/wifi/WifiConfiguration.GroupCipher#WEP40:kotlin.Int) WEP40 = WEP (Wired Equivalent Privacy) with 40-bit key (original 802.11) |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [varName](https://developer.android.com/reference/kotlin/android/net/wifi/WifiConfiguration.GroupCipher#varName:kotlin.String) <br />                                                            |

|                                                                                                                                                    Properties                                                                                                                                                    ||
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------|
| static[Array](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html)\<[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!\>! | [strings](https://developer.android.com/reference/kotlin/android/net/wifi/WifiConfiguration.GroupCipher#strings:kotlin.Array) <br /> |

## Constants

### CCMP

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val CCMP: Int
```

AES in Counter mode with CBC-MAC \[RFC 3610, IEEE 802.11i/D7.0\]  

    Value: 3

### GCMP_128

Added in[API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val GCMP_128: Int
```

AES in Galois/Counter Mode with a 128-bit integrity key  

    Value: 7

### GCMP_256

Added in[API level 29](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val GCMP_256: Int
```

AES in Galois/Counter Mode  

    Value: 5

### SMS4

Added in[API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val SMS4: Int
```

SMS4 cipher for WAPI  

    Value: 6

### TKIP

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val TKIP: Int
```

Temporal Key Integrity Protocol \[IEEE 802.11i/D7.0\]  

    Value: 2

### WEP104

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in[API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
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

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in[API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
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

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val varName: String
```  

    Value: "group"

## Properties

### strings

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val strings: Array<String!>!
```