| Package | Description |
|---|---|
| com.google.crypto.tink.hybrid | |
| com.google.crypto.tink.hybrid.internal |
| Modifier and Type | Field and Description |
|---|---|
static EciesParameters |
PredefinedHybridParameters.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 |
PredefinedHybridParameters.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 |
PredefinedHybridParameters.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
|
| Modifier and Type | Method and Description |
|---|---|
EciesParameters |
EciesParameters.Builder.build() |
EciesParameters |
EciesPublicKey.getParameters() |
EciesParameters |
EciesPrivateKey.getParameters() |
| Modifier and Type | Method and Description |
|---|---|
static EciesPublicKey |
EciesPublicKey.createForCurveX25519(EciesParameters parameters,
Bytes publicPointBytes,
Integer idRequirement)
Creates a new ECIES public key using Curve25519.
|
static EciesPublicKey |
EciesPublicKey.createForNistCurve(EciesParameters parameters,
ECPoint publicPoint,
Integer idRequirement)
Creates a new ECIES public key using a NIST Curve.
|
| Modifier and Type | Method and Description |
|---|---|
static EciesDemHelper.Dem |
EciesDemHelper.getDem(EciesParameters parameters)
Returns a DEM based on the given parameters.
|