Uses of Class
com.google.crypto.tink.KeysetHandle
-
-
Uses of KeysetHandle in com.google.crypto.tink
Methods in com.google.crypto.tink that return KeysetHandle Modifier and Type Method Description KeysetHandleKeysetHandle.Builder. build()Creates a newKeysetHandle.static KeysetHandleKeysetHandle. createFromKey(KeyHandle keyHandle, KeyAccess access)Deprecated.UseKeysetHandle.Builder.addEntryinstead.static KeysetHandleCleartextKeysetHandle. fromKeyset(com.google.crypto.tink.proto.Keyset keyset)Deprecated.Instead, use aKeysetHandle.Builder.static KeysetHandleKeysetHandle. generateNew(KeyTemplate keyTemplate)Generates a newKeysetHandlethat contains a single fresh key generated according tokeyTemplate.static KeysetHandleKeysetHandle. generateNew(Parameters parameters)Generates a newKeysetHandlethat contains a single fresh key generated key with the givenParametersobject.static KeysetHandleKeysetHandle. generateNew(com.google.crypto.tink.proto.KeyTemplate keyTemplate)Deprecated.Use the overload taking a Parameters object instead.KeysetHandleKeysetManager. getKeysetHandle()KeysetHandleKeysetHandle. getPublicKeysetHandle()If the managed keyset contains private keys, returns aKeysetHandleof the public keys.static KeysetHandleLegacyKeysetSerialization. parseEncryptedKeyset(KeysetReader reader, Aead aead, byte[] associatedData)Parse an encrypted keyset from the reader.static KeysetHandleTinkJsonProtoKeysetFormat. parseEncryptedKeyset(java.lang.String serializedEncryptedKeyset, Aead keysetEncryptionAead, byte[] associatedData)static KeysetHandleTinkProtoKeysetFormat. parseEncryptedKeyset(byte[] serializedEncryptedKeyset, Aead keysetEncryptionAead, byte[] associatedData)static KeysetHandleCleartextKeysetHandle. parseFrom(byte[] serialized)Deprecated.CallTinkProtoKeysetFormat.parseKeyset(serialized, InsecureSecretKeyAccess.get())which has the same semantics.static KeysetHandleNoSecretKeysetHandle. parseFrom(byte[] serialized)Deprecated.static KeysetHandleLegacyKeysetSerialization. parseKeyset(KeysetReader reader, SecretKeyAccess access)Parse a keyset from the reader.static KeysetHandleTinkJsonProtoKeysetFormat. parseKeyset(java.lang.String serializedKeyset, SecretKeyAccess access)static KeysetHandleTinkProtoKeysetFormat. parseKeyset(byte[] serializedKeyset, SecretKeyAccess access)static KeysetHandleLegacyKeysetSerialization. parseKeysetWithoutSecret(KeysetReader reader)Parse a KeysetHandle from the reader.static KeysetHandleTinkJsonProtoKeysetFormat. parseKeysetWithoutSecret(java.lang.String serializedKeyset)static KeysetHandleTinkProtoKeysetFormat. parseKeysetWithoutSecret(byte[] serializedKeyset)static KeysetHandleCleartextKeysetHandle. read(KeysetReader reader)static KeysetHandleCleartextKeysetHandle. read(KeysetReader reader, java.util.Map<java.lang.String,java.lang.String> monitoringAnnotations)Deprecated.Instead, use aKeysetHandle.Builder.static KeysetHandleKeysetHandle. read(KeysetReader reader, Aead masterKey)Deprecated.New users should prefer TinkProtoKeysetFormat.static KeysetHandleNoSecretKeysetHandle. read(KeysetReader reader)Deprecated.static KeysetHandleKeysetHandle. readNoSecret(byte[] serialized)Deprecated.Call {TinkProtoKeysetFormat.parseKeysetWithoutSecret} instead.static KeysetHandleKeysetHandle. readNoSecret(KeysetReader reader)Deprecated.New users should prefer TinkProtoKeysetFormat.static KeysetHandleKeysetHandle. readWithAssociatedData(KeysetReader reader, Aead masterKey, byte[] associatedData)Deprecated.New users should prefer TinkProtoKeysetFormat.Methods in com.google.crypto.tink with parameters of type KeysetHandle Modifier and Type Method Description booleanKeysetHandle. equalsKeyset(KeysetHandle other)Returns true if this keyset is equal toother, ignoring monitoring annotations.static com.google.crypto.tink.proto.KeysetCleartextKeysetHandle. getKeyset(KeysetHandle keysetHandle)Deprecated.Instead, call "KeysetHandle.getAt()" to get information about individual keys or TinkProtoKeysetFormat if you need a serialized keyset.static com.google.crypto.tink.proto.KeysetInfoLegacyKeysetSerialization. getKeysetInfo(KeysetHandle handle)Returns theKeysetInfoproto of the givenKeysetHandle.static KeysetHandle.BuilderKeysetHandle. newBuilder(KeysetHandle handle)Creates a new builder, initially containing all entries fromhandle.static voidLegacyKeysetSerialization. serializeEncryptedKeyset(KeysetHandle keysetHandle, KeysetWriter writer, Aead aead, byte[] associatedData)Serialize a keyset in an encrypted format to the writer.static java.lang.StringTinkJsonProtoKeysetFormat. serializeEncryptedKeyset(KeysetHandle keysetHandle, Aead keysetEncryptionAead, byte[] associatedData)static byte[]TinkProtoKeysetFormat. serializeEncryptedKeyset(KeysetHandle keysetHandle, Aead keysetEncryptionAead, byte[] associatedData)static voidLegacyKeysetSerialization. serializeKeyset(KeysetHandle keysetHandle, KeysetWriter writer, SecretKeyAccess access)Serialize a keyset to the writer.static java.lang.StringTinkJsonProtoKeysetFormat. serializeKeyset(KeysetHandle keysetHandle, SecretKeyAccess access)static byte[]TinkProtoKeysetFormat. serializeKeyset(KeysetHandle keysetHandle, SecretKeyAccess access)static voidLegacyKeysetSerialization. serializeKeysetWithoutSecret(KeysetHandle keysetHandle, KeysetWriter writer)Serialize a keyset to the writer.static java.lang.StringTinkJsonProtoKeysetFormat. serializeKeysetWithoutSecret(KeysetHandle keysetHandle)static byte[]TinkProtoKeysetFormat. serializeKeysetWithoutSecret(KeysetHandle keysetHandle)static KeysetManagerKeysetManager. withKeysetHandle(KeysetHandle val)static voidCleartextKeysetHandle. write(KeysetHandle handle, KeysetWriter keysetWriter)Serializes and writes theKeysetmanaged byhandletokeysetWriter. -
Uses of KeysetHandle in com.google.crypto.tink.aead
Methods in com.google.crypto.tink.aead with parameters of type KeysetHandle Modifier and Type Method Description static AeadAeadFactory. getPrimitive(KeysetHandle keysetHandle)Deprecated.UsekeysetHandle.getPrimitive(RegistryConfiguration.get(), Aead.class)after registering theAeadWrapperinstead. -
Uses of KeysetHandle in com.google.crypto.tink.daead
Methods in com.google.crypto.tink.daead with parameters of type KeysetHandle Modifier and Type Method Description static DeterministicAeadDeterministicAeadFactory. getPrimitive(KeysetHandle keysetHandle)Deprecated.UsekeysetHandle.getPrimitive(RegistryConfiguration.get(), DeterministicAead.class)after registering theDeterministicAeadWrapperinstead. -
Uses of KeysetHandle in com.google.crypto.tink.hybrid
Methods in com.google.crypto.tink.hybrid with parameters of type KeysetHandle Modifier and Type Method Description static HybridDecryptHybridDecryptFactory. getPrimitive(KeysetHandle keysetHandle)Deprecated.UsekeysetHandle.getPrimitive(RegistryConfiguration.get(), HybridDecrypt.class)after registering theHybridDecryptWrapperinstead.static HybridEncryptHybridEncryptFactory. getPrimitive(KeysetHandle keysetHandle)Deprecated.UsekeysetHandle.getPrimitive(RegistryConfiguration.get(), HybridEncrypt.class)after registering theHybridEncryptWrapperinstead. -
Uses of KeysetHandle in com.google.crypto.tink.integration.android
Methods in com.google.crypto.tink.integration.android that return KeysetHandle Modifier and Type Method Description KeysetHandleAndroidKeysetManager. getKeysetHandle()Returns aKeysetHandleof the managed keyset. -
Uses of KeysetHandle in com.google.crypto.tink.jwt
Methods in com.google.crypto.tink.jwt that return KeysetHandle Modifier and Type Method Description static KeysetHandleJwkSetConverter. toKeysetHandle(java.lang.String jwkSet, KeyAccess keyAccess)Deprecated.Use JwkSetConverter.toPublicKeysetHandle(jwkSet) instead.static KeysetHandleJwkSetConverter. toPublicKeysetHandle(java.lang.String jwkSet)Converts a Json Web Key (JWK) set with public keys into a Tink KeysetHandle.Methods in com.google.crypto.tink.jwt with parameters of type KeysetHandle Modifier and Type Method Description static java.lang.StringJwkSetConverter. fromKeysetHandle(KeysetHandle handle, KeyAccess keyAccess)Deprecated.Use JwkSetConverter.fromPublicKeysetHandle(handle) instead.static java.lang.StringJwkSetConverter. fromPublicKeysetHandle(KeysetHandle handle)Converts a Tink KeysetHandle with JWT public keys into a Json Web Key (JWK) set. -
Uses of KeysetHandle in com.google.crypto.tink.keyderivation
Methods in com.google.crypto.tink.keyderivation that return KeysetHandle Modifier and Type Method Description KeysetHandleKeysetDeriver. deriveKeyset(byte[] salt) -
Uses of KeysetHandle in com.google.crypto.tink.mac
Methods in com.google.crypto.tink.mac with parameters of type KeysetHandle Modifier and Type Method Description static MacMacFactory. getPrimitive(KeysetHandle keysetHandle)Deprecated.UsekeysetHandle.getPrimitive(RegistryConfiguration.get(), Mac.class)after registering theMacWrapperinstead. -
Uses of KeysetHandle in com.google.crypto.tink.signature
Methods in com.google.crypto.tink.signature with parameters of type KeysetHandle Modifier and Type Method Description static PublicKeySignPublicKeySignFactory. getPrimitive(KeysetHandle keysetHandle)Deprecated.UsekeysetHandle.getPrimitive(RegistryConfiguration.get(), PublicKeySign.class)after registering thePublicKeySignWrapperinstead.static PublicKeyVerifyPublicKeyVerifyFactory. getPrimitive(KeysetHandle keysetHandle)Deprecated.UsekeysetHandle.getPrimitive(RegistryConfiguration.get(), PublicKeyVerify.class)after registering thePublicKeyVerifyWrapperinstead. -
Uses of KeysetHandle in com.google.crypto.tink.streamingaead
Methods in com.google.crypto.tink.streamingaead with parameters of type KeysetHandle Modifier and Type Method Description static StreamingAeadStreamingAeadFactory. getPrimitive(KeysetHandle keysetHandle)Deprecated.
-