| Package | Description |
|---|---|
| com.google.crypto.tink | |
| com.google.crypto.tink.internal | |
| com.google.crypto.tink.keyderivation.internal |
| Modifier and Type | Interface and Description |
|---|---|
interface |
PrivateKeyManager<P>
A
KeyManager that understands asymmetric private key types. |
| Modifier and Type | Method and Description |
|---|---|
static <P> KeyManager<P> |
Registry.getKeyManager(String typeUrl,
Class<P> primitiveClass)
Deprecated.
KeyManagers should not be used directly. Use
newKeyData or getPrimitive instead. |
KeyManager<P> |
Catalogue.getKeyManager(String typeUrl,
String primitiveName,
int minVersion)
Deprecated.
|
static KeyManager<?> |
Registry.getUntypedKeyManager(String typeUrl)
Deprecated.
KeyManagers should not be used directly. Use
newKeyData or getPrimitive instead. |
| Modifier and Type | Method and Description |
|---|---|
static <P> void |
Registry.registerKeyManager(KeyManager<P> manager)
Tries to register
manager for manager.getKeyType(). |
static <P> void |
Registry.registerKeyManager(KeyManager<P> manager,
boolean newKeyAllowed)
Tries to register
manager for manager.getKeyType(). |
static <P> void |
Registry.registerKeyManager(String typeUrl,
KeyManager<P> manager)
Deprecated.
|
static <P> void |
Registry.registerKeyManager(String typeUrl,
KeyManager<P> manager,
boolean newKeyAllowed)
Deprecated.
|
| Modifier and Type | Class and Description |
|---|---|
class |
LegacyKeyManagerImpl<P>
A composed KeyManager implements a KeyManager by accessing the internal specific registries.
|
| Modifier and Type | Method and Description |
|---|---|
static <P> KeyManager<P> |
LegacyKeyManagerImpl.create(String typeUrl,
Class<P> primitiveClass,
KeyData.KeyMaterialType keyMaterialType,
com.google.protobuf.Parser<? extends com.google.protobuf.MessageLite> protobufKeyParser) |
<P> KeyManager<P> |
KeyManagerRegistry.getKeyManager(String typeUrl,
Class<P> primitiveClass) |
KeyManager<?> |
KeyManagerRegistry.getUntypedKeyManager(String typeUrl) |
| Modifier and Type | Method and Description |
|---|---|
<P> void |
KeyManagerRegistry.registerKeyManager(KeyManager<P> manager,
boolean newKeyAllowed)
Attempts to insert the given KeyManager into the object.
|
<P> void |
KeyManagerRegistry.registerKeyManagerWithFipsCompatibility(KeyManager<P> manager,
TinkFipsUtil.AlgorithmFipsCompatibility compatibility,
boolean newKeyAllowed)
Attempts to insert the given KeyManager into the object; the caller guarantees that the given
key manager satisfies the given FIPS compatibility.
|
| Modifier and Type | Class and Description |
|---|---|
class |
PrfBasedDeriverKeyManager
com.google.crypto.tink.internal.KeyTypeManager for PrfBasedDeriverKey. |