| Package | Description |
|---|---|
| com.google.crypto.tink.hybrid.internal |
| Modifier and Type | Method and Description |
|---|---|
static HpkeKem |
HpkePrimitiveFactory.createKem(byte[] kemId)
Returns an
HpkeKem primitive corresponding to kemId. |
static HpkeKem |
HpkePrimitiveFactory.createKem(HpkeParameters.KemId kemId)
Returns an
HpkeKem primitive corresponding to kemId. |
| Modifier and Type | Method and Description |
|---|---|
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.
|
static HpkeContext |
HpkeContext.createRecipientContext(byte[] encapsulatedKey,
HpkeKemPrivateKey recipientPrivateKey,
HpkeKem kem,
HpkeKdf kdf,
HpkeAead aead,
byte[] info)
Creates HPKE sender recipient context according to KeySchedule() defined in
https://www.rfc-editor.org/rfc/rfc9180.html#section-5.1-9.
|