SaProposalEncryptionAlgorithm 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 algorithm identifiers for security association proposals.
public enum SaProposalEncryptionAlgorithm
type SaProposalEncryptionAlgorithm =
- Inheritance
-
SaProposalEncryptionAlgorithm
Fields
| Name | Value | Description |
|---|---|---|
| ThreeDes | 3 | 3DES Encryption/Ciphering Algorithm. 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. |
| AesCbc | 12 | AES-CBC Encryption/Ciphering Algorithm. 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. |
| AesCtr | 13 | AES-CTR Encryption/Ciphering Algorithm. 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. |
| AesGcm8 | 18 | AES-GCM Authentication/Integrity + Encryption/Ciphering Algorithm with 8-octet ICV (truncation). 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. |
| AesGcm12 | 19 | AES-GCM Authentication/Integrity + Encryption/Ciphering Algorithm with 12-octet ICV (truncation). 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. |
| AesGcm16 | 20 | AES-GCM Authentication/Integrity + Encryption/Ciphering Algorithm with 16-octet ICV (truncation). 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. |
| Chacha20Poly1305 | 28 | ChaCha20-Poly1305 Authentication/Integrity + Encryption/Ciphering Algorithm with 16-octet ICV (truncation). 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.ENCRYPTION_ALGORITHM_* constants. Each value identifies one algorithm; the values are not bit flags.
Check SupportedEncryptionAlgorithms or SupportedEncryptionAlgorithms for the applicable proposal type. An algorithm defined here is not necessarily supported for Child security associations on a device. Supply the key length separately when adding an algorithm to a proposal.
See the Android encryption constants.