| Package | Description |
|---|---|
| com.google.crypto.tink.aead | |
| com.google.crypto.tink.mac | |
| com.google.crypto.tink.prf | |
| com.google.crypto.tink.util |
| Modifier and Type | Method and Description |
|---|---|
SecretBytes |
XChaCha20Poly1305Key.getKeyBytes() |
SecretBytes |
ChaCha20Poly1305Key.getKeyBytes() |
SecretBytes |
AesGcmSivKey.getKeyBytes()
Returns the underlying key bytes.
|
SecretBytes |
AesGcmKey.getKeyBytes()
Returns the underlying key bytes.
|
SecretBytes |
AesEaxKey.getKeyBytes()
Returns the underlying key bytes.
|
| Modifier and Type | Method and Description |
|---|---|
static ChaCha20Poly1305Key |
ChaCha20Poly1305Key.create(ChaCha20Poly1305Parameters.Variant variant,
SecretBytes secretBytes,
Integer idRequirement) |
static XChaCha20Poly1305Key |
XChaCha20Poly1305Key.create(SecretBytes secretBytes) |
static ChaCha20Poly1305Key |
ChaCha20Poly1305Key.create(SecretBytes secretBytes) |
static XChaCha20Poly1305Key |
XChaCha20Poly1305Key.create(XChaCha20Poly1305Parameters.Variant variant,
SecretBytes secretBytes,
Integer idRequirement) |
AesGcmSivKey.Builder |
AesGcmSivKey.Builder.setKeyBytes(SecretBytes keyBytes) |
AesGcmKey.Builder |
AesGcmKey.Builder.setKeyBytes(SecretBytes keyBytes) |
AesEaxKey.Builder |
AesEaxKey.Builder.setKeyBytes(SecretBytes keyBytes) |
| Modifier and Type | Method and Description |
|---|---|
SecretBytes |
AesCmacKey.getAesKey()
Returns the underlying AES key.
|
SecretBytes |
HmacKey.getKeyBytes()
Returns the underlying key bytes.
|
| Modifier and Type | Method and Description |
|---|---|
AesCmacKey.Builder |
AesCmacKey.Builder.setAesKeyBytes(SecretBytes aesKeyBytes) |
HmacKey.Builder |
HmacKey.Builder.setKeyBytes(SecretBytes keyBytes) |
| Modifier and Type | Method and Description |
|---|---|
SecretBytes |
HkdfPrfKey.getKeyBytes() |
| Modifier and Type | Method and Description |
|---|---|
HkdfPrfKey.Builder |
HkdfPrfKey.Builder.setKeyBytes(SecretBytes keyBytes) |
| Modifier and Type | Method and Description |
|---|---|
static SecretBytes |
SecretBytes.copyFrom(byte[] value,
SecretKeyAccess access)
Creates a new SecretBytes with the contents given in
value. |
static SecretBytes |
SecretBytes.randomBytes(int length)
Creates a new SecretBytes with bytes chosen uniformly at random of length
length. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
SecretBytes.equalsSecretBytes(SecretBytes other)
Returns true if the
other byte array has the same bytes, in time depending only on the
length of both SecretBytes objects. |