| Package | Description |
|---|---|
| com.google.crypto.tink.tinkkey | |
| com.google.crypto.tink.tinkkey.internal |
| Modifier and Type | Method and Description |
|---|---|
TinkKey |
KeyHandle.getKey(KeyAccess access)
Deprecated.
Returns the underlying
TinkKey key if access is a SecretKeyAccess and
the key has a secret, or if the key does not have a secret, otherwise throws a GeneralSecurityException. |
| Modifier and Type | Method and Description |
|---|---|
static KeyHandle |
KeyHandle.createFromKey(TinkKey key,
KeyAccess access)
Deprecated.
|
| Constructor and Description |
|---|
KeyHandle(TinkKey key,
KeyHandle.KeyStatusType status,
int keyId)
Deprecated.
Constructor intended for Tink internal purposes; allows one to set all the member variables of
a
KeyHandle. |
| Modifier and Type | Class and Description |
|---|---|
class |
ProtoKey
Wraps the proto
KeyData as an implementation of a TinkKey. |
| Constructor and Description |
|---|
InternalKeyHandle(TinkKey key,
KeyStatusType status,
int keyId) |