| Package | Description |
|---|---|
| com.google.crypto.tink.hybrid | |
| com.google.crypto.tink.hybrid.internal |
| Modifier and Type | Method and Description |
|---|---|
static HpkePublicKey |
HpkePublicKey.create(HpkeParameters parameters,
Bytes publicKeyBytes,
Integer idRequirement)
Creates a new HPKE public key.
|
HpkePublicKey |
HpkePrivateKey.getPublicKey() |
| Modifier and Type | Method and Description |
|---|---|
static HpkePrivateKey |
HpkePrivateKey.create(HpkePublicKey publicKey,
SecretBytes privateKeyBytes)
Creates a new HPKE private key.
|
| Modifier and Type | Method and Description |
|---|---|
static HybridEncrypt |
HpkeEncrypt.create(HpkePublicKey key) |
static HpkeContext |
HpkeContext.createAuthRecipientContext(byte[] encapsulatedKey,
HpkeKemPrivateKey recipientPrivateKey,
HpkeKem kem,
HpkeKdf kdf,
HpkeAead aead,
byte[] info,
HpkePublicKey senderPublicKey)
Creates HPKE recipient context with authentication according to KeySchedule() defined in
https://www.rfc-editor.org/rfc/rfc9180.html#section-5.1.3.
|
static HpkeContext |
HpkeContext.createAuthSenderContext(HpkePublicKey recipientPublicKey,
HpkeKem kem,
HpkeKdf kdf,
HpkeAead aead,
byte[] info,
HpkeKemPrivateKey senderPrivateKey)
Creates HPKE sender context with authentication according to KeySchedule() defined in
https://www.rfc-editor.org/rfc/rfc9180.html#section-5.1.3.
|