Share via


IpSecAlgorithm.CryptAesCtr Field

Definition

AES-CTR Encryption/Ciphering Algorithm.

[Android.Runtime.Register("CRYPT_AES_CTR", ApiSince=31)]
public const string CryptAesCtr;
[<Android.Runtime.Register("CRYPT_AES_CTR", ApiSince=31)>]
val mutable CryptAesCtr : string

Field Value

Implements

Attributes

Remarks

AES-CTR Encryption/Ciphering Algorithm.

Valid lengths for keying material are {160, 224, 288}.

As per RFC3686 (Section 5.1), keying material consists of a 128, 192, or 256 bit AES key followed by a 32-bit nonce. RFC compliance requires that the nonce must be unique per security association.

This algorithm may be available on the device. Caller MUST check if it is supported before using it by calling #getSupportedAlgorithms() and checking if this algorithm is included in the returned algorithm set. The returned algorithm set will not change unless the device is rebooted. IllegalArgumentException will be thrown if this algorithm is requested on an unsupported device.

Java documentation for android.net.IpSecAlgorithm.CRYPT_AES_CTR.

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.

Applies to