public final class PredefinedHybridParameters extends Object
Parameter objects for HybridEncrypt and
HybridDecrypt keys.
Note: if you want to keep dependencies small, consider inlining the constants here.
| Modifier and Type | Field and Description |
|---|---|
static EciesParameters |
ECIES_P256_HKDF_HMAC_SHA256_AES128_CTR_HMAC_SHA256
A
KeyTemplate that generates new instances of EciesAeadHkdfPrivateKey with the following parameters:
KEM: ECDH over NIST P-256
DEM: AES128-CTR-HMAC-SHA256 with the following parameters
AES key size: 16 bytes
AES CTR IV size: 16 bytes
HMAC key size: 32 bytes
HMAC tag size: 16 bytes
KDF: HKDF-HMAC-SHA256 with an empty salt
|
static EciesParameters |
ECIES_P256_HKDF_HMAC_SHA256_AES128_GCM
A
KeyTemplate that generates new instances of EciesAeadHkdfPrivateKey with the following parameters:
KEM: ECDH over NIST P-256
DEM: AES128-GCM
KDF: HKDF-HMAC-SHA256 with an empty salt
|
static EciesParameters |
ECIES_P256_HKDF_HMAC_SHA256_AES128_GCM_COMPRESSED_WITHOUT_PREFIX
A
KeyTemplate that generates new instances of EciesAeadHkdfPrivateKey with the following parameters:
KEM: ECDH over NIST P-256
DEM: AES128-GCM
KDF: HKDF-HMAC-SHA256 with an empty salt
EC Point Format: Compressed
OutputPrefixType: RAW
|
public static final EciesParameters ECIES_P256_HKDF_HMAC_SHA256_AES128_GCM
KeyTemplate that generates new instances of EciesAeadHkdfPrivateKey with the following parameters:
Unlike other key templates that use AES-GCM, the instances of HybridDecrypt
generated by this key template has no limitation on Android KitKat (API level 19). They might
not work in older versions though.
public static final EciesParameters ECIES_P256_HKDF_HMAC_SHA256_AES128_GCM_COMPRESSED_WITHOUT_PREFIX
KeyTemplate that generates new instances of EciesAeadHkdfPrivateKey with the following parameters:
Unlike other key templates that use AES-GCM, the instances of HybridDecrypt
generated by this key template has no limitation on Android KitKat (API level 19). They might
not work in older versions though.
public static final EciesParameters ECIES_P256_HKDF_HMAC_SHA256_AES128_CTR_HMAC_SHA256
KeyTemplate that generates new instances of EciesAeadHkdfPrivateKey with the following parameters: