| 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()
Deprecated.
Use
KeysetHandle.getPrimary() instead. |
| Modifier and Type | Method and Description |
|---|---|
List<KeyHandle> |
KeysetHandle.getKeys()
Deprecated.
Use
KeysetHandle.size() and KeysetHandle.getAt(int) instead. |
| 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)
Adds the input
KeyHandle to the existing keyset with OutputPrefixType.TINK. |
static KeysetHandle |
KeysetHandle.createFromKey(KeyHandle keyHandle,
KeyAccess access)
Deprecated.
Use
KeysetHandle.Builder.addEntry 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)
Deprecated.
|
static KeyHandle |
KeyHandle.generateNew(KeyTemplate keyTemplate)
Deprecated.
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.
|