SaProposalKeyLength Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies encryption key lengths for security association proposals.
public enum SaProposalKeyLength
type SaProposalKeyLength =
- Inheritance
-
SaProposalKeyLength
Fields
| Name | Value | Description |
|---|---|---|
| Unused | 0 | Key length unused. This value should only be used with the Encryption/Ciphering Algorithm that accepts a fixed key size such as ENCRYPTION_ALGORITHM_3DES. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Aes128 | 128 | AES Encryption/Ciphering Algorithm key length 128 bits. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Aes192 | 192 | AES Encryption/Ciphering Algorithm key length 192 bits. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Aes256 | 256 | AES Encryption/Ciphering Algorithm key length 256 bits. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
Remarks
This .NET enumeration represents the Android SaProposal.KEY_LEN_* constants. The AES values specify lengths in bits, not bytes. The values are not bit flags.
Unused means that no key-length attribute is supplied for an algorithm with a fixed key length; it does not request a zero-bit key. The selected algorithm determines which lengths are valid.