| Package | Description |
|---|---|
| com.google.crypto.tink.hybrid | |
| com.google.crypto.tink.subtle |
| 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.
|
EciesPublicKey |
EciesPrivateKey.getPublicKey() |
| Modifier and Type | Method and Description |
|---|---|
static EciesPrivateKey |
EciesPrivateKey.createForCurveX25519(EciesPublicKey publicKey,
SecretBytes x25519PrivateKeyBytes)
Creates a new ECIES private key using Curve25519.
|
static EciesPrivateKey |
EciesPrivateKey.createForNistCurve(EciesPublicKey publicKey,
SecretBigInteger nistPrivateKeyValue)
Creates a new ECIES private key using NIST Curves.
|
| Modifier and Type | Method and Description |
|---|---|
static HybridEncrypt |
EciesAeadHkdfHybridEncrypt.create(EciesPublicKey key) |