| Package | Description |
|---|---|
| com.google.crypto.tink | |
| com.google.crypto.tink.tinkkey | |
| com.google.crypto.tink.tinkkey.internal |
| Modifier and Type | Method and Description |
|---|---|
KeyHandle |
KeysetHandle.primaryKey()
Searches the keyset to find the primary key of this
KeysetHandle, and returns the key
wrapped in a KeyHandle. |
| Modifier and Type | Method and Description |
|---|---|
List<KeyHandle> |
KeysetHandle.getKeys()
Returns the keyset data as a list of
KeyHandles. |
| Modifier and Type | Method and Description |
|---|---|
KeysetManager |
KeysetManager.add(KeyHandle keyHandle)
Adds the input
KeyHandle to the existing keyset. |
KeysetManager |
KeysetManager.add(KeyHandle keyHandle,
KeyAccess access)
Deprecated.
Use KeysetManager.add(KeyHandle) instead.
|
static KeysetHandle |
KeysetHandle.createFromKey(KeyHandle keyHandle,
KeyAccess access)
Deprecated.
Use
KeysetManager.withEmptyKeyset().add(keyHandle)
.setPrimary(keyHandle.getId()).getKeysetHandle() instead. |
| Modifier and Type | Method and Description |
|---|---|
static KeyHandle |
KeyHandle.createFromKey(KeyData keyData,
KeyTemplate.OutputPrefixType opt)
Deprecated.
Use the KeyHandle(TinkKey, KeyAccess) constructor instead.
|
static KeyHandle |
KeyHandle.createFromKey(TinkKey key,
KeyAccess access)
|
static KeyHandle |
KeyHandle.generateNew(KeyTemplate keyTemplate)
Generates a new
KeyHandle that contains a fresh key generated according to keyTemplate. |
| Modifier and Type | Class and Description |
|---|---|
class |
InternalKeyHandle
Class used to expose the protected KeyHandle constructor to the rest of Tink.
|