| Package | Description |
|---|---|
| com.google.crypto.tink.tinkkey |
| Modifier and Type | Class and Description |
|---|---|
class |
ProtoKey
Wraps the proto
KeyData as an implementation of a TinkKey. |
| Modifier and Type | Method and Description |
|---|---|
TinkKey |
KeyHandle.getKey(KeyAccess access)
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)
Returns a
KeyHandle instance with key as the underlying TinkKey if the
caller provides the correct KeyAccess instance. |