Package com.google.crypto.tink
-
Interface Summary Interface Description Aead Interface for Authenticated Encryption with Associated Data (AEAD).Catalogue<P> Deprecated. Catalogues are no longer supported.DeterministicAead Interface for Deterministic Authenticated Encryption with Associated Data (Deterministic AEAD).HybridDecrypt Interface for hybrid decryption.HybridEncrypt Interface for hybrid encryption.KeyManager<P> A KeyManager "understands" keys of a specific key type: it can generate keys of the supported type and create primitives for supported keys.KeysetReader A KeysetReader knows how to read aKeysetor anEncryptedKeysetfrom some source.KeysetWriter A KeysetWriter knows how to write aKeysetor anEncryptedKeysetto some storage system.KeyWrap Interface for symmetric Key wrapping.KmsClient A KmsClient knows how to produce primitives backed by keys stored in remote KMS services.Mac Interface for Message Authentication Codes (MAC).PrivateKey Interface to be implemented by all private keys, that gives access to the public key.PrivateKeyManager<P> AKeyManagerthat understands asymmetric private key types.PublicKeySign Interface for public key signing.PublicKeyVerify Interface for public key signing.StreamingAead An interface for streaming authenticated encryption with associated data. -
Class Summary Class Description BinaryKeysetReader AKeysetReaderthat can read from some source cleartext or encrypted keysets in proto binary wire format.BinaryKeysetWriter AKeysetWriterthat can write to some source cleartext or encrypted keysets in proto binary wire format.CleartextKeysetHandle Static methods for reading or writing cleartext keysets.Config Static methods for handling of Tink configurations.Configuration An object of this class represents a collection of algorithms that a user wants Tink to understand.ConfigurationFips140v2 ConfigurationFips140v2 contains Tink primitives that are compliant with FIPS 140-2.ConfigurationV0 ConfigurationV0 contains the following primitives and algorithms:CryptoFormat Constants and convenience methods that deal with crypto format.InsecureSecretKeyAccess A helper class to createSecretKeyAccesstokens.JsonKeysetReader AKeysetReaderthat can read from source source cleartext or encrypted keysets in proto JSON format.JsonKeysetWriter Deprecated. Serialize the Keyset usingTinkJsonProtoKeysetFormat.serializeKeyset()instead.Key Represents a cryptographic object.KeyGenConfiguration An object of this class represents a collection of key types that a user wants Tink to understand.KeysetHandle A KeysetHandle provides abstracted access toKeyset, to limit the exposure of actual protocol buffers that hold sensitive key material.KeysetHandle.Builder Used to create newKeysetHandleobjects.KeysetHandle.Builder.Entry One entry, representing a single key, in a Keyset.Builder.KeysetHandle.Entry Represents a single entry in a keyset.KeysetManager Manages aKeysetproto, with convenience methods that rotate, disable, enable or destroy keys.KeyStatus Represents the status of a key in a keyset.KeyTemplate A KeyTemplate specifies how to generate keys of a particular type.KeyTemplates This class consists exclusively of static methods that loadKeyTemplateobjects.KmsClients A container forKmsClient-objects that are needed byKeyManager-objects for primitives that use KMS-managed keys.LegacyKeysetSerialization Parsing and Serialization methods for use withKeysetReaderandKeysetWriterclasses.NoSecretKeysetHandle Deprecated. Parameters Represents a cryptographic function without the actual key material.Registry A global container of key managers and catalogues.RegistryConfiguration RegistryConfiguration is a proxy Configuration that forwards all calls to the global Registry.SecretKeyAccess Represents access to secret key material.TinkJsonProtoKeysetFormat Functions to parse and serialize Keyset in Tink's JSON format based on Protobufs.TinkProtoKeysetFormat Functions to parse and serialize Keyset in Tink's binary format based on Protobufs.TinkProtoParametersFormat Functions to parse and serialize Parameters in Tink's binary format based on Protobufs.Version Version of the Tink library. -
Enum Summary Enum Description KeyTemplate.OutputPrefixType Tink produces and accepts ciphertexts or signatures that consist of a prefix and a payload.PemKeyType PEM key types that Tink supports -
Annotation Types Summary Annotation Type Description AccessesPartialKey Annotates methods and classes which access parts of keys.LowLevelCryptoCaller Required to call methods and classes that create primitives from single keys and without configurations instead of from keysets and with configurations.