| Package | Description |
|---|---|
| com.google.crypto.tink | |
| com.google.crypto.tink.jwt | |
| com.google.crypto.tink.tinkkey |
| Modifier and Type | Method and Description |
|---|---|
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 String |
JwkSetConverter.fromKeysetHandle(KeysetHandle handle,
KeyAccess keyAccess)
Deprecated.
Use JwkSetConverter.fromPublicKeysetHandle(handle) instead.
|
static KeysetHandle |
JwkSetConverter.toKeysetHandle(String jwkSet,
KeyAccess keyAccess)
Deprecated.
Use JwkSetConverter.toPublicKeysetHandle(jwkSet) instead.
|
| Modifier and Type | Method and Description |
|---|---|
static KeyAccess |
SecretKeyAccess.insecureSecretAccess()
Deprecated.
Returns a
KeyAccess instance where canAccessSecret() returns true. |
static KeyAccess |
KeyAccess.publicAccess()
Deprecated.
Returns a
KeyAccess instance where canAccessSecret() returns false. |
| Modifier and Type | Method and Description |
|---|---|
static KeyHandle |
KeyHandle.createFromKey(TinkKey key,
KeyAccess access)
Deprecated.
|
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. |