A B C D E F G H I J K L M N O P R S T U V W X 
All Classes All Packages

A

AccessesPartialKey - Annotation Type in com.google.crypto.tink
Annotates methods and classes which access parts of keys.
add(KeyCreator<ParametersT>, Class<ParametersT>) - Method in class com.google.crypto.tink.internal.MutableKeyCreationRegistry
Adds a new "InsecureKeyCreator" to the instance.
add(MutableKeyDerivationRegistry.InsecureKeyCreator<ParametersT>, Class<ParametersT>) - Method in class com.google.crypto.tink.internal.MutableKeyDerivationRegistry
Adds a new "InsecureKeyCreator" to the instance.
add(KeyTemplate) - Method in class com.google.crypto.tink.integration.android.AndroidKeysetManager
Generates and adds a fresh key generated using keyTemplate.
add(KeyTemplate) - Method in class com.google.crypto.tink.KeysetManager
Generates and adds a fresh key generated using keyTemplate.
add(KmsClient) - Static method in class com.google.crypto.tink.KmsClients
Adds a client to the list of known KmsClient-objects.
add(KeyTemplate) - Method in class com.google.crypto.tink.integration.android.AndroidKeysetManager
Generates and adds a fresh key generated using keyTemplate.
add(KeyTemplate) - Method in class com.google.crypto.tink.KeysetManager
Generates and adds a fresh key generated using keyTemplate.
add(KeyHandle) - Method in class com.google.crypto.tink.KeysetManager
Deprecated.
We recommend to use the KeysetHandle.Builder API.
add(KeyHandle, KeyAccess) - Method in class com.google.crypto.tink.KeysetManager
Deprecated.
We recommend to use the KeysetHandle.Builder API.
add(E, O) - Method in class com.google.crypto.tink.internal.EnumTypeProtoConverter.Builder
Adds bidirectional conversion mapping between protoEnum and objectEnum.
add(String, String) - Method in class com.google.crypto.tink.internal.MonitoringAnnotations.Builder
 
addAll(Map<String, String>) - Method in class com.google.crypto.tink.internal.MonitoringAnnotations.Builder
 
addAudience(String) - Method in class com.google.crypto.tink.jwt.RawJwt.Builder
Adds an audience that the JWT is intended for.
addBooleanClaim(String, boolean) - Method in class com.google.crypto.tink.jwt.RawJwt.Builder
Adds a custom claim of type boolean to the JWT.
addCatalogue(String, Catalogue<?>) - Static method in class com.google.crypto.tink.Registry
Deprecated.
Catalogues are no longer supported.
addEntry(KeysetHandle.Builder.Entry) - Method in class com.google.crypto.tink.KeysetHandle.Builder
Adds an entry to a keyset
addJsonArrayClaim(String, String) - Method in class com.google.crypto.tink.jwt.RawJwt.Builder
Adds a custom claim encoded in a JSON String to the JWT.
addJsonObjectClaim(String, String) - Method in class com.google.crypto.tink.jwt.RawJwt.Builder
Adds a custom claim encoded in a JSON String to the JWT.
addNewKey(KeyTemplate, boolean) - Method in class com.google.crypto.tink.KeysetManager
Generates a fresh key using keyTemplate and returns the keyId of it.
addNullClaim(String) - Method in class com.google.crypto.tink.jwt.RawJwt.Builder
Adds a custom claim with value null.
addNumberClaim(String, double) - Method in class com.google.crypto.tink.jwt.RawJwt.Builder
Adds a custom claim of type double to the JWT.
addNumberClaim(String, long) - Method in class com.google.crypto.tink.jwt.RawJwt.Builder
Adds a custom claim of type long to the JWT.
addPem(String, PemKeyType) - Method in class com.google.crypto.tink.signature.SignaturePemKeysetReader.Builder
Adds a PEM.
addStringClaim(String, String) - Method in class com.google.crypto.tink.jwt.RawJwt.Builder
Adds a custom claim of type String to the JWT.
Aead - Interface in com.google.crypto.tink
Interface for Authenticated Encryption with Associated Data (AEAD).
AeadConfig - Class in com.google.crypto.tink.aead
Static methods and constants for registering with the Registry all instances of Aead key types supported in a particular release of Tink.
AeadFactory - Class in com.google.crypto.tink.aead
Deprecated.
Use keysetHandle.getPrimitive(RegistryConfiguration.get(), Aead.class) after registering the AeadWrapper instead.
AeadFactory - Interface in com.google.crypto.tink.aead.subtle
Provides AEAD instances with a specific raw key.
AeadKey - Class in com.google.crypto.tink.aead
Represents functions to encrypt and decrypt data using AEAD.
AeadKey() - Constructor for class com.google.crypto.tink.aead.AeadKey
 
AeadKeyTemplates - Class in com.google.crypto.tink.aead
Pre-generated KeyTemplate for Aead keys.
AeadParameters - Class in com.google.crypto.tink.aead
Represents a description of a AeadKey
AeadParameters() - Constructor for class com.google.crypto.tink.aead.AeadParameters
 
AeadWrapper - Class in com.google.crypto.tink.aead
AeadWrapper is the implementation of SetWrapper for the Aead primitive.
AES_128_GCM - Static variable in class com.google.crypto.tink.hybrid.HpkeParameters.AeadId
 
AES_128_GCM_AEAD_ID - Static variable in class com.google.crypto.tink.hybrid.internal.HpkeUtil
 
AES_256_GCM - Static variable in class com.google.crypto.tink.hybrid.HpkeParameters.AeadId
 
AES_256_GCM_AEAD_ID - Static variable in class com.google.crypto.tink.hybrid.internal.HpkeUtil
 
AES_CMAC - Static variable in class com.google.crypto.tink.mac.MacKeyTemplates
Deprecated.
A KeyTemplate that generates new instances of com.google.crypto.tink.proto.CmacKey with the following parameters: Key size: 32 bytes Tag size: 16 bytes OutputPrefixType: TINK
AES_CMAC - Static variable in class com.google.crypto.tink.mac.PredefinedMacParameters
A Parameters object for generating new instances of CmacKey with the following parameters: Key size: 32 bytes Tag size: 16 bytes OutputPrefixType: TINK
AES_CMAC_PRF - Static variable in class com.google.crypto.tink.prf.PredefinedPrfParameters
A Parameters object for generating new instances of AesCmacKey with the following parameters: HMAC key size: 32 bytes
AES_CMAC_PRF - Static variable in class com.google.crypto.tink.prf.PrfKeyTemplates
Deprecated.
 
AES_CTR_HMAC_AEAD_TYPE_URL - Static variable in class com.google.crypto.tink.aead.AeadConfig
 
AES_CTR_HMAC_STREAMINGAEAD_TYPE_URL - Static variable in class com.google.crypto.tink.streamingaead.StreamingAeadConfig
 
AES_EAX_TYPE_URL - Static variable in class com.google.crypto.tink.aead.AeadConfig
 
AES_GCM_HKDF_STREAMINGAEAD_TYPE_URL - Static variable in class com.google.crypto.tink.streamingaead.StreamingAeadConfig
 
AES_GCM_SIV_TYPE_URL - Static variable in class com.google.crypto.tink.aead.AeadConfig
 
AES_GCM_TYPE_URL - Static variable in class com.google.crypto.tink.aead.AeadConfig
 
AES_SIV_TYPE_URL - Static variable in class com.google.crypto.tink.daead.DeterministicAeadConfig
 
AES128_CTR_HMAC_SHA256 - Static variable in class com.google.crypto.tink.aead.AeadKeyTemplates
A KeyTemplate that generates new instances of AesCtrHmacAeadKey with the following parameters: AES key size: 16 bytes AES CTR IV size: 16 byte HMAC key size: 32 bytes HMAC tag size: 16 bytes HMAC hash function: SHA256
AES128_CTR_HMAC_SHA256 - Static variable in class com.google.crypto.tink.aead.PredefinedAeadParameters
A Parameters object for generating new instances of AesCtrHmacAeadKey with the following parameters: AES key size: 16 bytes AES CTR IV size: 16 byte HMAC key size: 32 bytes HMAC tag size: 16 bytes HMAC hash function: SHA256
AES128_CTR_HMAC_SHA256_1MB - Static variable in class com.google.crypto.tink.streamingaead.PredefinedStreamingAeadParameters
A Parameters object for generating new instances of AesCtrHmacStreamingKey with the following parameters: Size of the main key: 16 bytes HKDF algo: HMAC-SHA256 Size of AES-CTR derived keys: 16 bytes Tag algo: HMAC-SHA256 Tag size: 32 bytes Ciphertext segment size: 1048576 bytes (1 MB)
AES128_CTR_HMAC_SHA256_1MB - Static variable in class com.google.crypto.tink.streamingaead.StreamingAeadKeyTemplates
Deprecated.
A KeyTemplate that generates new instances of AesCtrHmacStreamingKey with the following parameters: Size of the main key: 16 bytes HKDF algo: HMAC-SHA256 Size of AES-CTR derived keys: 16 bytes Tag algo: HMAC-SHA256 Tag size: 32 bytes Ciphertext segment size: 1048576 bytes (1 MB)
AES128_CTR_HMAC_SHA256_4KB - Static variable in class com.google.crypto.tink.streamingaead.PredefinedStreamingAeadParameters
A Parameters object for generating new instances of AesCtrHmacStreamingKey with the following parameters: Size of the main key: 16 bytes HKDF algo: HMAC-SHA256 Size of AES-CTR derived keys: 16 bytes Tag algo: HMAC-SHA256 Tag size: 32 bytes Ciphertext segment size: 4096
AES128_CTR_HMAC_SHA256_4KB - Static variable in class com.google.crypto.tink.streamingaead.StreamingAeadKeyTemplates
Deprecated.
A KeyTemplate that generates new instances of AesCtrHmacStreamingKey with the following parameters: Size of the main key: 16 bytes HKDF algo: HMAC-SHA256 Size of AES-CTR derived keys: 16 bytes Tag algo: HMAC-SHA256 Tag size: 32 bytes Ciphertext segment size: 4096
AES128_EAX - Static variable in class com.google.crypto.tink.aead.AeadKeyTemplates
A KeyTemplate that generates new instances of com.google.crypto.tink.proto.AesEaxKey with the following parameters: Key size: 16 bytes IV size: 16 bytes
AES128_EAX - Static variable in class com.google.crypto.tink.aead.PredefinedAeadParameters
A Parameters object for generating new instances of AesEaxKey with the following parameters: Key size: 16 bytes IV size: 16 bytes
AES128_GCM - Static variable in class com.google.crypto.tink.aead.AeadKeyTemplates
A KeyTemplate that generates new instances of AesGcmKey with the following parameters: Key size: 16 bytes
AES128_GCM - Static variable in class com.google.crypto.tink.aead.PredefinedAeadParameters
A Parameters object for generating new instances of AesGcmKey with the following parameters: Key size: 16 bytes
AES128_GCM_HKDF_1MB - Static variable in class com.google.crypto.tink.streamingaead.PredefinedStreamingAeadParameters
A Parameters object for generating new instances of AesGcmHkdfStreamingKey with the following parameters: Size of the main key: 16 bytes HKDF algo: HMAC-SHA256 Size of AES-GCM derived keys: 16 bytes Ciphertext segment size: 1048576 bytes (1 MB)
AES128_GCM_HKDF_1MB - Static variable in class com.google.crypto.tink.streamingaead.StreamingAeadKeyTemplates
Deprecated.
A KeyTemplate that generates new instances of AesGcmHkdfStreamingKey with the following parameters: Size of the main key: 16 bytes HKDF algo: HMAC-SHA256 Size of AES-GCM derived keys: 16 bytes Ciphertext segment size: 1048576 bytes (1 MB)
AES128_GCM_HKDF_4KB - Static variable in class com.google.crypto.tink.streamingaead.PredefinedStreamingAeadParameters
A Parameters object for generating new instances of AesGcmHkdfStreamingKey with the following parameters: Size of the main key: 16 bytes HKDF algo: HMAC-SHA256 Size of AES-GCM derived keys: 16 bytes Ciphertext segment size: 4096 bytes
AES128_GCM_HKDF_4KB - Static variable in class com.google.crypto.tink.streamingaead.StreamingAeadKeyTemplates
Deprecated.
A KeyTemplate that generates new instances of AesGcmHkdfStreamingKey with the following parameters: Size of the main key: 16 bytes HKDF algo: HMAC-SHA256 Size of AES-GCM derived keys: 16 bytes Ciphertext segment size: 4096 bytes
aes128CtrHmacSha2561MBTemplate() - Static method in class com.google.crypto.tink.streamingaead.AesCtrHmacStreamingKeyManager
 
aes128CtrHmacSha2564KBTemplate() - Static method in class com.google.crypto.tink.streamingaead.AesCtrHmacStreamingKeyManager
 
aes128CtrHmacSha256Template() - Static method in class com.google.crypto.tink.aead.AesCtrHmacAeadKeyManager
 
aes128EaxTemplate() - Static method in class com.google.crypto.tink.aead.AesEaxKeyManager
 
aes128GcmHkdf1MBTemplate() - Static method in class com.google.crypto.tink.streamingaead.AesGcmHkdfStreamingKeyManager
 
aes128GcmHkdf4KBTemplate() - Static method in class com.google.crypto.tink.streamingaead.AesGcmHkdfStreamingKeyManager
 
aes128GcmSivTemplate() - Static method in class com.google.crypto.tink.aead.AesGcmSivKeyManager
Creates and returns a KeyTemplate that generates new instances of AES-GCM-SIV with the following parameters: Key size: 16 bytes Prefix type: KeyTemplate.OutputPrefixType.TINK
aes128GcmTemplate() - Static method in class com.google.crypto.tink.aead.AesGcmKeyManager
 
AES256_CTR_HMAC_SHA256 - Static variable in class com.google.crypto.tink.aead.AeadKeyTemplates
A KeyTemplate that generates new instances of AesCtrHmacAeadKey with the following parameters: AES key size: 32 bytes AES CTR IV size: 16 byte HMAC key size: 32 bytes HMAC tag size: 32 bytes HMAC hash function: SHA256
AES256_CTR_HMAC_SHA256 - Static variable in class com.google.crypto.tink.aead.PredefinedAeadParameters
A Parameters object for generating new instances of AesCtrHmacAeadKey with the following parameters: AES key size: 32 bytes AES CTR IV size: 16 byte HMAC key size: 32 bytes HMAC tag size: 32 bytes HMAC hash function: SHA256
AES256_CTR_HMAC_SHA256_1MB - Static variable in class com.google.crypto.tink.streamingaead.PredefinedStreamingAeadParameters
A Parameters object for generating new instances of AesCtrHmacStreamingKey with the following parameters: Size of the main key: 32 bytes HKDF algo: HMAC-SHA256 Size of AES-CTR derived keys: 32 bytes Tag algo: HMAC-SHA256 Tag size: 32 bytes Ciphertext segment size: 1048576 bytes (1 MB)
AES256_CTR_HMAC_SHA256_1MB - Static variable in class com.google.crypto.tink.streamingaead.StreamingAeadKeyTemplates
Deprecated.
A KeyTemplate that generates new instances of AesCtrHmacStreamingKey with the following parameters: Size of the main key: 32 bytes HKDF algo: HMAC-SHA256 Size of AES-CTR derived keys: 32 bytes Tag algo: HMAC-SHA256 Tag size: 32 bytes Ciphertext segment size: 1048576 bytes (1 MB)
AES256_CTR_HMAC_SHA256_4KB - Static variable in class com.google.crypto.tink.streamingaead.PredefinedStreamingAeadParameters
A Parameters object for generating new instances of AesCtrHmacStreamingKey with the following parameters: Size of the main key: 32 bytes HKDF algo: HMAC-SHA256 Size of AES-CTR derived keys: 32 bytes Tag algo: HMAC-SHA256 Tag size: 32 bytes Ciphertext segment size: 4096
AES256_CTR_HMAC_SHA256_4KB - Static variable in class com.google.crypto.tink.streamingaead.StreamingAeadKeyTemplates
Deprecated.
A KeyTemplate that generates new instances of AesCtrHmacStreamingKey with the following parameters: Size of the main key: 32 bytes HKDF algo: HMAC-SHA256 Size of AES-CTR derived keys: 32 bytes Tag algo: HMAC-SHA256 Tag size: 32 bytes Ciphertext segment size: 4096
AES256_EAX - Static variable in class com.google.crypto.tink.aead.AeadKeyTemplates
A KeyTemplate that generates new instances of AesEaxKey with the following parameters: Key size: 32 bytes IV size: 16 bytes
AES256_EAX - Static variable in class com.google.crypto.tink.aead.PredefinedAeadParameters
A Parameters object for generating new instances of AesEaxKey with the following parameters: Key size: 32 bytes IV size: 16 bytes
AES256_GCM - Static variable in class com.google.crypto.tink.aead.AeadKeyTemplates
A KeyTemplate that generates new instances of AesGcmKey with the following parameters: Key size: 32 bytes
AES256_GCM - Static variable in class com.google.crypto.tink.aead.PredefinedAeadParameters
A Parameters object for generating new instances of AesGcmKey with the following parameters: Key size: 32 bytes
AES256_GCM_HKDF_1MB - Static variable in class com.google.crypto.tink.streamingaead.PredefinedStreamingAeadParameters
A Parameters object for generating new instances of AesGcmHkdfStreamingKey with the following parameters: Size of the main key: 32 bytes HKDF algo: HMAC-SHA256 Size of AES-GCM derived keys: 32 bytes Ciphertext segment size: 1048576 bytes (1 MB)
AES256_GCM_HKDF_1MB - Static variable in class com.google.crypto.tink.streamingaead.StreamingAeadKeyTemplates
Deprecated.
A KeyTemplate that generates new instances of AesGcmHkdfStreamingKey with the following parameters: Size of the main key: 32 bytes HKDF algo: HMAC-SHA256 Size of AES-GCM derived keys: 32 bytes Ciphertext segment size: 1048576 bytes (1 MB)
AES256_GCM_HKDF_4KB - Static variable in class com.google.crypto.tink.streamingaead.PredefinedStreamingAeadParameters
A Parameters object for generating new instances of AesGcmHkdfStreamingKey with the following parameters: Size of the main key: 32 bytes HKDF algo: HMAC-SHA256 Size of AES-GCM derived keys: 32 bytes Ciphertext segment size: 4096 bytes (4 KB)
AES256_GCM_HKDF_4KB - Static variable in class com.google.crypto.tink.streamingaead.StreamingAeadKeyTemplates
Deprecated.
A KeyTemplate that generates new instances of AesGcmHkdfStreamingKey with the following parameters: Size of the main key: 32 bytes HKDF algo: HMAC-SHA256 Size of AES-GCM derived keys: 32 bytes Ciphertext segment size: 4096 bytes
AES256_SIV - Static variable in class com.google.crypto.tink.daead.DeterministicAeadKeyTemplates
Deprecated.
A KeyTemplate that generates new instances of AesSivKey with a 64-byte key.
AES256_SIV - Static variable in class com.google.crypto.tink.daead.PredefinedDeterministicAeadParameters
A KeyTemplate that generates new instances of AesSivKey with a 64-byte key.
aes256CmacTemplate() - Static method in class com.google.crypto.tink.mac.AesCmacKeyManager
 
aes256CmacTemplate() - Static method in class com.google.crypto.tink.prf.AesCmacPrfKeyManager
Returns a KeyTemplate that generates new instances of AES-CMAC keys with the following parameters: Key size: 32 bytes Prefix type: KeyTemplate.OutputPrefixType.RAW
aes256CtrHmacSha2561MBTemplate() - Static method in class com.google.crypto.tink.streamingaead.AesCtrHmacStreamingKeyManager
 
aes256CtrHmacSha2564KBTemplate() - Static method in class com.google.crypto.tink.streamingaead.AesCtrHmacStreamingKeyManager
 
aes256CtrHmacSha256Template() - Static method in class com.google.crypto.tink.aead.AesCtrHmacAeadKeyManager
 
aes256EaxTemplate() - Static method in class com.google.crypto.tink.aead.AesEaxKeyManager
 
aes256GcmHkdf1MBTemplate() - Static method in class com.google.crypto.tink.streamingaead.AesGcmHkdfStreamingKeyManager
 
aes256GcmHkdf4KBTemplate() - Static method in class com.google.crypto.tink.streamingaead.AesGcmHkdfStreamingKeyManager
 
aes256GcmSivTemplate() - Static method in class com.google.crypto.tink.aead.AesGcmSivKeyManager
Creates and returns a KeyTemplate that generates new instances of AES-GCM-SIV with the following parameters: Key size: 32 bytes Prefix type: KeyTemplate.OutputPrefixType.TINK
aes256GcmTemplate() - Static method in class com.google.crypto.tink.aead.AesGcmKeyManager
 
aes256SivTemplate() - Static method in class com.google.crypto.tink.daead.AesSivKeyManager
 
AesCmacKey - Class in com.google.crypto.tink.mac
Represents a key computing AES-CMAC.
AesCmacKey.Builder - Class in com.google.crypto.tink.mac
Builder for AesCmacKey.
AesCmacKeyManager - Class in com.google.crypto.tink.mac
This key manager generates new AesCmacKey keys and produces new instances of AesCmac.
AesCmacParameters - Class in com.google.crypto.tink.mac
Describes the parameters of an AesCmacKey.
AesCmacParameters.Builder - Class in com.google.crypto.tink.mac
Builds a new AesCmacParameters instance.
AesCmacParameters.Variant - Class in com.google.crypto.tink.mac
Describes details of the mac computation.
AesCmacPrfKey - Class in com.google.crypto.tink.prf
Represents a key computing AES CMAC PRF.
AesCmacPrfKeyManager - Class in com.google.crypto.tink.prf
This key manager generates new AesCmacKeyPrf keys and produces new instances of AesCmacPrf.
AesCmacPrfParameters - Class in com.google.crypto.tink.prf
Describes the parameters of an AesCmacPrfKey.
AesCmacPrfProtoSerialization - Class in com.google.crypto.tink.prf.internal
Methods to serialize and parse AesCmacPrfKey objects and AesCmacPrfParameters objects.
AesCmacProtoSerialization - Class in com.google.crypto.tink.mac.internal
Methods to serialize and parse AesCmacKey objects and AesCmacParameters objects.
AesCtrHmacAeadKey - Class in com.google.crypto.tink.aead
Represents an AES-CTR-HMAC key used for computing AEAD.
AesCtrHmacAeadKey.Builder - Class in com.google.crypto.tink.aead
Builder for AesCtrHmacAeadKey.
AesCtrHmacAeadKeyManager - Class in com.google.crypto.tink.aead
This key manager generates new AesCtrHmacAeadKey keys and produces new instances of EncryptThenAuthenticate.
AesCtrHmacAeadParameters - Class in com.google.crypto.tink.aead
Describes the parameters of an AesCtrHmacAeadKey.
AesCtrHmacAeadParameters.Builder - Class in com.google.crypto.tink.aead
Builds a new AesCtrHmacAeadParameters instance.
AesCtrHmacAeadParameters.HashType - Class in com.google.crypto.tink.aead
The Hash algorithm used for the HMAC.
AesCtrHmacAeadParameters.Variant - Class in com.google.crypto.tink.aead
Describes how the prefix is computed.
AesCtrHmacAeadProtoSerialization - Class in com.google.crypto.tink.aead.internal
Methods to serialize and parse AesCtrHmacAeadKey objects and AesCtrHmacAeadParameters objects.
AesCtrHmacStreaming - Class in com.google.crypto.tink.subtle
Streaming encryption using AES-CTR and HMAC.
AesCtrHmacStreaming(byte[], String, int, String, int, int, int) - Constructor for class com.google.crypto.tink.subtle.AesCtrHmacStreaming
Initializes a streaming primitive with a key derivation key and encryption parameters.
AesCtrHmacStreamingKey - Class in com.google.crypto.tink.streamingaead
Represents a StreamingAead functions.
AesCtrHmacStreamingKeyManager - Class in com.google.crypto.tink.streamingaead
This key manager generates new AesCtrHmacStreamingKey keys and produces new instances of AesCtrHmacStreaming.
AesCtrHmacStreamingParameters - Class in com.google.crypto.tink.streamingaead
Represents the parameters of a AesCtrHmacStreamingKey.
AesCtrHmacStreamingParameters.Builder - Class in com.google.crypto.tink.streamingaead
Helps creating new AesCtrHmacStreamingParameters objects..
AesCtrHmacStreamingParameters.HashType - Class in com.google.crypto.tink.streamingaead
Represents the hash type used.
AesCtrHmacStreamingProtoSerialization - Class in com.google.crypto.tink.streamingaead.internal
Methods to serialize and parse AesCtrHmacStreamingKey objects and AesCtrHmacStreamingParameters objects
AesCtrJceCipher - Class in com.google.crypto.tink.subtle
The primitive implements AES counter mode with random IVs, using JCE.
AesCtrJceCipher(byte[], int) - Constructor for class com.google.crypto.tink.subtle.AesCtrJceCipher
 
AesEaxJce - Class in com.google.crypto.tink.subtle
This class implements the EAX mode using AES.
AesEaxJce(byte[], int) - Constructor for class com.google.crypto.tink.subtle.AesEaxJce
 
AesEaxKey - Class in com.google.crypto.tink.aead
Represents an AES-EAX key used for computing AEAD.
AesEaxKey.Builder - Class in com.google.crypto.tink.aead
Builder for AesEaxKey.
AesEaxKeyManager - Class in com.google.crypto.tink.aead
This key manager generates new AesEaxKey keys and produces new instances of AesEaxJce.
AesEaxParameters - Class in com.google.crypto.tink.aead
Describes the parameters of an AesEaxKey.
AesEaxParameters.Builder - Class in com.google.crypto.tink.aead
Builds a new AesEaxParameters instance.
AesEaxParameters.Variant - Class in com.google.crypto.tink.aead
Describes how the prefix is computed.
AesEaxProtoSerialization - Class in com.google.crypto.tink.aead.internal
Methods to serialize and parse AesEaxKey objects and AesEaxParameters objects
AesGcmFactory - Class in com.google.crypto.tink.aead.subtle
An AeadFactory that creates new instances of AES-GCM from raw keys
AesGcmFactory(int) - Constructor for class com.google.crypto.tink.aead.subtle.AesGcmFactory
 
AesGcmHkdfStreaming - Class in com.google.crypto.tink.subtle
Streaming encryption using AES-GCM with HKDF as key derivation function.
AesGcmHkdfStreaming(byte[], String, int, int, int) - Constructor for class com.google.crypto.tink.subtle.AesGcmHkdfStreaming
Initializes a streaming primitive with a key derivation key and encryption parameters.
AesGcmHkdfStreamingKey - Class in com.google.crypto.tink.streamingaead
Represents a StreamingAead functions.
AesGcmHkdfStreamingKeyManager - Class in com.google.crypto.tink.streamingaead
This key manager generates new AesGcmHkdfStreamingKey keys and produces new instances of AesGcmHkdfStreaming.
AesGcmHkdfStreamingParameters - Class in com.google.crypto.tink.streamingaead
Represents the parameters of a AesGcmHkdfStreamingKey.
AesGcmHkdfStreamingParameters.Builder - Class in com.google.crypto.tink.streamingaead
Helps creating new AesGcmHkdfStreamingParameters objects.
AesGcmHkdfStreamingParameters.HashType - Class in com.google.crypto.tink.streamingaead
Represents the hash type used.
AesGcmHkdfStreamingProtoSerialization - Class in com.google.crypto.tink.streamingaead.internal
Methods to serialize and parse AesGcmHkdfStreamingKey objects and AesGcmHkdfStreamingParameters objects
AesGcmJce - Class in com.google.crypto.tink.subtle
This primitive implements AesGcm using JCE.
AesGcmJce(byte[]) - Constructor for class com.google.crypto.tink.subtle.AesGcmJce
 
AesGcmJceUtil - Class in com.google.crypto.tink.aead.internal
Helper functions for AES-GCM using JCE.
AesGcmKey - Class in com.google.crypto.tink.aead
Represents an AES-GCM key used for computing AEAD.
AesGcmKey.Builder - Class in com.google.crypto.tink.aead
Builder for AesGcmKey.
AesGcmKeyManager - Class in com.google.crypto.tink.aead
This key manager generates new AesGcmKey keys and produces new instances of AesGcmJce.
AesGcmParameters - Class in com.google.crypto.tink.aead
Describes the parameters of an AesGcmKey
AesGcmParameters.Builder - Class in com.google.crypto.tink.aead
Builds a new AesGcmParameters instance.
AesGcmParameters.Variant - Class in com.google.crypto.tink.aead
Describes how the prefix is computed.
AesGcmProtoSerialization - Class in com.google.crypto.tink.aead.internal
Methods to serialize and parse AesGcmKey objects and AesGcmParameters objects
AesGcmSiv - Class in com.google.crypto.tink.aead.internal
This primitive implements AES-GCM-SIV (as defined in RFC 8452) using JCE.
AesGcmSiv - Class in com.google.crypto.tink.aead.subtle
This primitive implements AES-GCM-SIV (as defined in RFC 8452) using JCE.
AesGcmSiv(byte[]) - Constructor for class com.google.crypto.tink.aead.subtle.AesGcmSiv
 
AesGcmSiv.ThrowingSupplier<T> - Interface in com.google.crypto.tink.aead.internal
A supplier that can throw a GeneralSecurityException.
AesGcmSivKey - Class in com.google.crypto.tink.aead
Represents an AES-GCM-SIV key used for computing AEAD.
AesGcmSivKey.Builder - Class in com.google.crypto.tink.aead
Builder for AesGcmSivKey.
AesGcmSivKeyManager - Class in com.google.crypto.tink.aead
This key manager generates new AesGcmSivKey keys and produces new instances of AesGcmSiv.
AesGcmSivParameters - Class in com.google.crypto.tink.aead
Describes the parameters of an AesGcmSivSivKey
AesGcmSivParameters.Builder - Class in com.google.crypto.tink.aead
Builds a new AesGcmSivParameters instance.
AesGcmSivParameters.Variant - Class in com.google.crypto.tink.aead
Describes how the prefix is computed.
AesGcmSivProtoSerialization - Class in com.google.crypto.tink.aead.internal
Methods to serialize and parse AesGcmSivKey objects and AesGcmSivParameters objects
AesSiv - Class in com.google.crypto.tink.subtle
AES-SIV, as described in RFC 5297.
AesSiv(byte[]) - Constructor for class com.google.crypto.tink.subtle.AesSiv
 
AesSivKey - Class in com.google.crypto.tink.daead
Represents an AES--SIV key used for computing deterministic AEAD, as described in https://www.rfc-editor.org/rfc/rfc5297.
AesSivKey.Builder - Class in com.google.crypto.tink.daead
Builder for AesSivKey.
AesSivKeyManager - Class in com.google.crypto.tink.daead
This key manager generates new AesSivKey keys and produces new instances of AesSiv.
AesSivParameters - Class in com.google.crypto.tink.daead
Describes the parameters of an AesSivSivKey
AesSivParameters.Builder - Class in com.google.crypto.tink.daead
Builds a new AesSivParameters instance.
AesSivParameters.Variant - Class in com.google.crypto.tink.daead
Enum-like class which describes how the prefix is computed.
AesSivProtoSerialization - Class in com.google.crypto.tink.daead.internal
Methods to serialize and parse AesSivKey objects and AesSivParameters objects
AesUtil - Class in com.google.crypto.tink.mac.internal
A collection of byte-manipulation functions, and some more specific functions for AES-CMAC / AES-SIV.
algorithm - Variable in enum com.google.crypto.tink.PemKeyType
 
algorithm - Variable in enum com.google.crypto.tink.subtle.PemKeyType
Deprecated.
 
ALGORITHM_NOT_FIPS - com.google.crypto.tink.config.internal.TinkFipsUtil.AlgorithmFipsCompatibility
The algorithm is not FIPS compatible
ALGORITHM_REQUIRES_BORINGCRYPTO - com.google.crypto.tink.config.internal.TinkFipsUtil.AlgorithmFipsCompatibility
The algorithm has a FIPS validated implementation if BoringCrypto is available.
allowKidAbsent() - Method in class com.google.crypto.tink.jwt.JwtEcdsaParameters
 
allowKidAbsent() - Method in class com.google.crypto.tink.jwt.JwtHmacParameters
 
allowKidAbsent() - Method in class com.google.crypto.tink.jwt.JwtMacParameters
If true, tokens without "kid" header are allowed when verifying a token.
allowKidAbsent() - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1Parameters
 
allowKidAbsent() - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPssParameters
 
allowKidAbsent() - Method in class com.google.crypto.tink.jwt.JwtSignatureParameters
If true, tokens without "kid" header are allowed when verifying a token.
allowMissingExpiration() - Method in class com.google.crypto.tink.jwt.JwtValidator.Builder
When set, the validator accepts tokens that do not have an expiration set.
Alpha - Annotation Type in com.google.crypto.tink.annotations
Signifies that a public API (public class, method or field) is subject to incompatible changes, or even removal, in a future release.
androidApiLevel() - Static method in class com.google.crypto.tink.subtle.SubtleUtil
Deprecated.
Please reimplement this method in your code instead. From within Tink, use Util.getAndroidApiLevel directly.
AndroidKeysetManager - Class in com.google.crypto.tink.integration.android
A wrapper of KeysetManager that supports reading/writing Keyset to/from private shared preferences on Android.
AndroidKeysetManager.Builder - Class in com.google.crypto.tink.integration.android
A builder for AndroidKeysetManager.
AndroidKeystore - Class in com.google.crypto.tink.integration.android
API to store and use AEAD keys in the Android Keystore.
AndroidKeystoreAesGcm - Class in com.google.crypto.tink.integration.android
An Aead that does AES-GCM encryption with a key stored in Android Keystore.
AndroidKeystoreAesGcm(String) - Constructor for class com.google.crypto.tink.integration.android.AndroidKeystoreAesGcm
 
AndroidKeystoreKmsClient - Class in com.google.crypto.tink.integration.android
An implementation of KmsClient for Android Keystore.
AndroidKeystoreKmsClient() - Constructor for class com.google.crypto.tink.integration.android.AndroidKeystoreKmsClient
 
AndroidKeystoreKmsClient(String) - Constructor for class com.google.crypto.tink.integration.android.AndroidKeystoreKmsClient
AndroidKeystoreKmsClient.Builder - Class in com.google.crypto.tink.integration.android
Builder for AndroidKeystoreKmsClient
ASSUME_AES_CTR_HMAC - Static variable in class com.google.crypto.tink.aead.LegacyKmsEnvelopeAeadParameters.DekParsingStrategy
When parsing, assume that the ciphertext was encrypted with AES CTR HMAC.
ASSUME_AES_EAX - Static variable in class com.google.crypto.tink.aead.LegacyKmsEnvelopeAeadParameters.DekParsingStrategy
When parsing, assume that the ciphertext was encrypted with AES EAX.
ASSUME_AES_GCM - Static variable in class com.google.crypto.tink.aead.LegacyKmsEnvelopeAeadParameters.DekParsingStrategy
When parsing, assume that the ciphertext was encrypted with AES GCM.
ASSUME_AES_GCM_SIV - Static variable in class com.google.crypto.tink.aead.LegacyKmsEnvelopeAeadParameters.DekParsingStrategy
When parsing, assume that the ciphertext was encrypted with AES GCM SIV.
ASSUME_CHACHA20POLY1305 - Static variable in class com.google.crypto.tink.aead.LegacyKmsEnvelopeAeadParameters.DekParsingStrategy
When parsing, assume that the ciphertext was encrypted with ChaCha20-Poly1305.
ASSUME_XCHACHA20POLY1305 - Static variable in class com.google.crypto.tink.aead.LegacyKmsEnvelopeAeadParameters.DekParsingStrategy
When parsing, assume that the ciphertext was encrypted with XChaCha20-Poly1305.
AUTH_MODE - Static variable in class com.google.crypto.tink.hybrid.internal.HpkeUtil
 
authDecapsulate(byte[], HpkeKemPrivateKey, byte[]) - Method in interface com.google.crypto.tink.hybrid.internal.HpkeKem
Extracts the shared secret from encapsulatedKey using recipientPrivateKey.
authEncapsulate(byte[], HpkeKemPrivateKey) - Method in interface com.google.crypto.tink.hybrid.internal.HpkeKem
Similar to HpkeKem.encapsulate(byte[]), but the output additionally encodes an assurance that the KEM shared secret was generated by the holder of senderPrivateKey.
AuthHpkeHelperForAndroidKeystore - Class in com.google.crypto.tink.hybrid.internal
A class with functions helping for HPKE implementations based on Android Keystore.

B

BASE_MODE - Static variable in class com.google.crypto.tink.hybrid.internal.HpkeUtil
 
Base64 - Class in com.google.crypto.tink.subtle
Utilities for encoding and decoding the Base64 representation of binary data.
BASE64_ENCODED_KEY_ID - Static variable in class com.google.crypto.tink.jwt.JwtEcdsaParameters.KidStrategy
The "kid" is the URL safe (RFC 4648 Section 5) base64-encoded big-endian key_id in the keyset.
BASE64_ENCODED_KEY_ID - Static variable in class com.google.crypto.tink.jwt.JwtHmacParameters.KidStrategy
The "kid" is the URL safe (RFC 4648 Section 5) base64-encoded big-endian key_id in the keyset.
BASE64_ENCODED_KEY_ID - Static variable in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1Parameters.KidStrategy
The "kid" is the URL safe (RFC 4648 Section 5) base64-encoded big-endian key_id in the keyset.
BASE64_ENCODED_KEY_ID - Static variable in class com.google.crypto.tink.jwt.JwtRsaSsaPssParameters.KidStrategy
The "kid" is the URL safe (RFC 4648 Section 5) base64-encoded big-endian key_id in the keyset.
BigIntegerEncoding - Class in com.google.crypto.tink.internal
Helper class with functions that encode and decode non-negative BigInteger to and from byte[].
BinaryKeysetReader - Class in com.google.crypto.tink
A KeysetReader that can read from some source cleartext or encrypted keysets in proto binary wire format.
BinaryKeysetWriter - Class in com.google.crypto.tink
A KeysetWriter that can write to some source cleartext or encrypted keysets in proto binary wire format.
BLOCK_SIZE - Static variable in class com.google.crypto.tink.mac.internal.AesUtil
 
build() - Method in class com.google.crypto.tink.aead.AesCtrHmacAeadKey.Builder
 
build() - Method in class com.google.crypto.tink.aead.AesCtrHmacAeadParameters.Builder
 
build() - Method in class com.google.crypto.tink.aead.AesEaxKey.Builder
 
build() - Method in class com.google.crypto.tink.aead.AesEaxParameters.Builder
 
build() - Method in class com.google.crypto.tink.aead.AesGcmKey.Builder
 
build() - Method in class com.google.crypto.tink.aead.AesGcmParameters.Builder
 
build() - Method in class com.google.crypto.tink.aead.AesGcmSivKey.Builder
 
build() - Method in class com.google.crypto.tink.aead.AesGcmSivParameters.Builder
 
build() - Method in class com.google.crypto.tink.aead.LegacyKmsEnvelopeAeadParameters.Builder
Builds the LegacyKmsEnvelopeAeadParameters.
build() - Method in class com.google.crypto.tink.daead.AesSivKey.Builder
 
build() - Method in class com.google.crypto.tink.daead.AesSivParameters.Builder
 
build() - Method in class com.google.crypto.tink.hybrid.EciesParameters.Builder
 
build() - Method in class com.google.crypto.tink.hybrid.HpkeParameters.Builder
 
build() - Method in class com.google.crypto.tink.integration.android.AndroidKeysetManager.Builder
Builds and returns a new AndroidKeysetManager with the specified options.
build() - Method in class com.google.crypto.tink.integration.android.AndroidKeystoreKmsClient.Builder
 
build() - Method in class com.google.crypto.tink.internal.EnumTypeProtoConverter.Builder
 
build() - Method in class com.google.crypto.tink.internal.MonitoringAnnotations.Builder
Builds the MonitoringAnnotations object.
build() - Method in class com.google.crypto.tink.internal.PrefixMap.Builder
 
build() - Method in class com.google.crypto.tink.internal.PrimitiveRegistry.Builder
 
build() - Method in class com.google.crypto.tink.internal.SerializationRegistry.Builder
 
build() - Method in class com.google.crypto.tink.jwt.JwtEcdsaParameters.Builder
 
build() - Method in class com.google.crypto.tink.jwt.JwtEcdsaPublicKey.Builder
 
build() - Method in class com.google.crypto.tink.jwt.JwtHmacKey.Builder
 
build() - Method in class com.google.crypto.tink.jwt.JwtHmacParameters.Builder
 
build() - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1Parameters.Builder
 
build() - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1PrivateKey.Builder
 
build() - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1PublicKey.Builder
 
build() - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPssParameters.Builder
 
build() - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPssPrivateKey.Builder
 
build() - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPssPublicKey.Builder
 
build() - Method in class com.google.crypto.tink.jwt.JwtValidator.Builder
 
build() - Method in class com.google.crypto.tink.jwt.RawJwt.Builder
 
build() - Method in class com.google.crypto.tink.keyderivation.PrfBasedKeyDerivationParameters.Builder
 
build() - Method in class com.google.crypto.tink.KeysetHandle.Builder
Creates a new KeysetHandle.
build() - Method in class com.google.crypto.tink.mac.AesCmacKey.Builder
 
build() - Method in class com.google.crypto.tink.mac.AesCmacParameters.Builder
 
build() - Method in class com.google.crypto.tink.mac.HmacKey.Builder
 
build() - Method in class com.google.crypto.tink.mac.HmacParameters.Builder
 
build() - Method in class com.google.crypto.tink.prf.HkdfPrfKey.Builder
 
build() - Method in class com.google.crypto.tink.prf.HkdfPrfParameters.Builder
 
build() - Method in class com.google.crypto.tink.prf.HmacPrfKey.Builder
 
build() - Method in class com.google.crypto.tink.prf.HmacPrfParameters.Builder
 
build() - Method in class com.google.crypto.tink.signature.EcdsaParameters.Builder
 
build() - Method in class com.google.crypto.tink.signature.EcdsaPrivateKey.Builder
 
build() - Method in class com.google.crypto.tink.signature.EcdsaPublicKey.Builder
 
build() - Method in class com.google.crypto.tink.signature.RsaSsaPkcs1Parameters.Builder
 
build() - Method in class com.google.crypto.tink.signature.RsaSsaPkcs1PrivateKey.Builder
 
build() - Method in class com.google.crypto.tink.signature.RsaSsaPkcs1PublicKey.Builder
 
build() - Method in class com.google.crypto.tink.signature.RsaSsaPssParameters.Builder
 
build() - Method in class com.google.crypto.tink.signature.RsaSsaPssPrivateKey.Builder
 
build() - Method in class com.google.crypto.tink.signature.RsaSsaPssPublicKey.Builder
 
build() - Method in class com.google.crypto.tink.signature.SignaturePemKeysetReader.Builder
 
build() - Method in class com.google.crypto.tink.streamingaead.AesCtrHmacStreamingParameters.Builder
Checks restrictions as on the devsite
build() - Method in class com.google.crypto.tink.streamingaead.AesGcmHkdfStreamingParameters.Builder
Checks restrictions as on the devsite
builder() - Static method in class com.google.crypto.tink.aead.AesCtrHmacAeadKey
 
builder() - Static method in class com.google.crypto.tink.aead.AesCtrHmacAeadParameters
 
builder() - Static method in class com.google.crypto.tink.aead.AesEaxKey
 
builder() - Static method in class com.google.crypto.tink.aead.AesEaxParameters
 
builder() - Static method in class com.google.crypto.tink.aead.AesGcmKey
 
builder() - Static method in class com.google.crypto.tink.aead.AesGcmParameters
 
builder() - Static method in class com.google.crypto.tink.aead.AesGcmSivKey
 
builder() - Static method in class com.google.crypto.tink.aead.AesGcmSivParameters
 
builder() - Static method in class com.google.crypto.tink.aead.LegacyKmsEnvelopeAeadParameters
 
builder() - Static method in class com.google.crypto.tink.daead.AesSivKey
 
builder() - Static method in class com.google.crypto.tink.daead.AesSivParameters
 
builder() - Static method in class com.google.crypto.tink.hybrid.EciesParameters
 
builder() - Static method in class com.google.crypto.tink.hybrid.HpkeParameters
 
builder() - Static method in class com.google.crypto.tink.internal.EnumTypeProtoConverter
 
builder() - Static method in class com.google.crypto.tink.internal.PrimitiveRegistry
 
builder() - Static method in class com.google.crypto.tink.jwt.JwtEcdsaParameters
 
builder() - Static method in class com.google.crypto.tink.jwt.JwtEcdsaPublicKey
 
builder() - Static method in class com.google.crypto.tink.jwt.JwtHmacKey
 
builder() - Static method in class com.google.crypto.tink.jwt.JwtHmacParameters
 
builder() - Static method in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1Parameters
 
builder() - Static method in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1PrivateKey
 
builder() - Static method in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1PublicKey
 
builder() - Static method in class com.google.crypto.tink.jwt.JwtRsaSsaPssParameters
 
builder() - Static method in class com.google.crypto.tink.jwt.JwtRsaSsaPssPrivateKey
 
builder() - Static method in class com.google.crypto.tink.jwt.JwtRsaSsaPssPublicKey
 
builder() - Static method in class com.google.crypto.tink.keyderivation.PrfBasedKeyDerivationParameters
 
builder() - Static method in class com.google.crypto.tink.mac.AesCmacKey
 
builder() - Static method in class com.google.crypto.tink.mac.AesCmacParameters
 
builder() - Static method in class com.google.crypto.tink.mac.HmacKey
 
builder() - Static method in class com.google.crypto.tink.mac.HmacParameters
 
builder() - Static method in class com.google.crypto.tink.prf.HkdfPrfKey
 
builder() - Static method in class com.google.crypto.tink.prf.HkdfPrfParameters
 
builder() - Static method in class com.google.crypto.tink.prf.HmacPrfKey
 
builder() - Static method in class com.google.crypto.tink.prf.HmacPrfParameters
 
builder() - Static method in class com.google.crypto.tink.signature.EcdsaParameters
 
builder() - Static method in class com.google.crypto.tink.signature.EcdsaPrivateKey
 
builder() - Static method in class com.google.crypto.tink.signature.EcdsaPublicKey
 
builder() - Static method in class com.google.crypto.tink.signature.RsaSsaPkcs1Parameters
 
builder() - Static method in class com.google.crypto.tink.signature.RsaSsaPkcs1PrivateKey
 
builder() - Static method in class com.google.crypto.tink.signature.RsaSsaPkcs1PublicKey
 
builder() - Static method in class com.google.crypto.tink.signature.RsaSsaPssParameters
 
builder() - Static method in class com.google.crypto.tink.signature.RsaSsaPssPrivateKey
 
builder() - Static method in class com.google.crypto.tink.signature.RsaSsaPssPublicKey
 
builder() - Static method in class com.google.crypto.tink.streamingaead.AesCtrHmacStreamingParameters
 
builder() - Static method in class com.google.crypto.tink.streamingaead.AesGcmHkdfStreamingParameters
 
builder(PrimitiveRegistry) - Static method in class com.google.crypto.tink.internal.PrimitiveRegistry
 
Builder() - Constructor for class com.google.crypto.tink.integration.android.AndroidKeysetManager.Builder
 
Builder() - Constructor for class com.google.crypto.tink.integration.android.AndroidKeystoreKmsClient.Builder
 
Builder() - Constructor for class com.google.crypto.tink.internal.MonitoringAnnotations.Builder
 
Builder() - Constructor for class com.google.crypto.tink.internal.PrefixMap.Builder
 
Builder() - Constructor for class com.google.crypto.tink.internal.SerializationRegistry.Builder
 
Builder() - Constructor for class com.google.crypto.tink.keyderivation.PrfBasedKeyDerivationParameters.Builder
 
Builder() - Constructor for class com.google.crypto.tink.KeysetHandle.Builder
 
Builder() - Constructor for class com.google.crypto.tink.streamingaead.AesCtrHmacStreamingParameters.Builder
 
Builder() - Constructor for class com.google.crypto.tink.streamingaead.AesGcmHkdfStreamingParameters.Builder
 
Builder(SerializationRegistry) - Constructor for class com.google.crypto.tink.internal.SerializationRegistry.Builder
 
byteArrayToInt(byte[]) - Static method in class com.google.crypto.tink.subtle.Bytes
Transforms a passed LSB first byte array to an int
byteArrayToInt(byte[], int) - Static method in class com.google.crypto.tink.subtle.Bytes
Transforms a passed LSB first byte array to an int
byteArrayToInt(byte[], int, int) - Static method in class com.google.crypto.tink.subtle.Bytes
Transforms a passed LSB first byte array to an int
Bytes - Class in com.google.crypto.tink.subtle
Helper methods that deal with byte arrays.
Bytes - Class in com.google.crypto.tink.util
Immutable Wrapper around a byte array.
bytes2Integer(byte[]) - Static method in class com.google.crypto.tink.subtle.SubtleUtil
Converts an unsigned, big-endian encoded byte array to a non-negative integer (https://tools.ietf.org/html/rfc8017#section-4.1).

C

canAccessSecret() - Method in class com.google.crypto.tink.tinkkey.KeyAccess
Returns true if the KeyAccess instance grants access to a key's secret
Catalogue<P> - Interface in com.google.crypto.tink
Deprecated.
Catalogues are no longer supported.
CHACHA20_POLY1305 - Static variable in class com.google.crypto.tink.aead.AeadKeyTemplates
A KeyTemplate that generates new instances of ChaCha20Poly1305Key.
CHACHA20_POLY1305 - Static variable in class com.google.crypto.tink.aead.PredefinedAeadParameters
A Parameters object that generates new instances of ChaCha20Poly1305Key.
CHACHA20_POLY1305 - Static variable in class com.google.crypto.tink.hybrid.HpkeParameters.AeadId
 
CHACHA20_POLY1305_AEAD_ID - Static variable in class com.google.crypto.tink.hybrid.internal.HpkeUtil
 
CHACHA20_POLY1305_TYPE_URL - Static variable in class com.google.crypto.tink.aead.AeadConfig
 
ChaCha20Poly1305 - Class in com.google.crypto.tink.subtle
ChaCha20Poly1305 AEAD construction, as described in RFC 8439, section 2.8.
ChaCha20Poly1305(byte[]) - Constructor for class com.google.crypto.tink.subtle.ChaCha20Poly1305
 
ChaCha20Poly1305Jce - Class in com.google.crypto.tink.aead.internal
ChaCha20Poly1305Jce implements an AEAD for ChaCha20Poly1305, as described in RFC 8439, section 2.8.
ChaCha20Poly1305Key - Class in com.google.crypto.tink.aead
Represents the Aead ChaCha20-Poly1305 specified in RFC 8439.
ChaCha20Poly1305KeyManager - Class in com.google.crypto.tink.aead
This instance of KeyManager generates new ChaCha20Poly1305 keys and produces new instances of ChaCha20Poly1305.
ChaCha20Poly1305Parameters - Class in com.google.crypto.tink.aead
Describes the parameters of an ChaChaPoly1305Key.
ChaCha20Poly1305Parameters.Variant - Class in com.google.crypto.tink.aead
Describes how the prefix is computed.
ChaCha20Poly1305ProtoSerialization - Class in com.google.crypto.tink.aead.internal
Methods to serialize and parse ChaCha20Poly1305Key objects and ChaCha20Poly1305Parameters objects
chaCha20Poly1305Template() - Static method in class com.google.crypto.tink.aead.ChaCha20Poly1305KeyManager
 
checkedCreate(KeyTemplate) - Static method in class com.google.crypto.tink.internal.ProtoParametersSerialization
Creates a new ProtoParametersSerialization object.
checkedToBytesFromPrintableAscii(String) - Static method in class com.google.crypto.tink.internal.Util
Converts a string s to a corresponding Bytes object.
checkPointOnCurve(ECPoint, EllipticCurve) - Static method in class com.google.crypto.tink.internal.EllipticCurvesUtil
Checks that a point is on a given elliptic curve.
ChunkedAesCmacConscrypt - Class in com.google.crypto.tink.mac.internal
AES-CMAC implementation of ChunkedMac, using Conscrypt's native implementation.
ChunkedAesCmacImpl - Class in com.google.crypto.tink.mac.internal
AES-CMAC implementation of the ChunkedMac interface.
ChunkedAesCmacImpl(AesCmacKey) - Constructor for class com.google.crypto.tink.mac.internal.ChunkedAesCmacImpl
 
ChunkedHmacImpl - Class in com.google.crypto.tink.mac.internal
Class that provides the functionality expressed by the ChunkedMac interface with HMAC.
ChunkedHmacImpl(HmacKey) - Constructor for class com.google.crypto.tink.mac.internal.ChunkedHmacImpl
 
ChunkedMac - Interface in com.google.crypto.tink.mac
An interface representing Streaming MAC.
ChunkedMacComputation - Interface in com.google.crypto.tink.mac
An interface representing a computation of the Streaming MAC.
ChunkedMacVerification - Interface in com.google.crypto.tink.mac
An interface representing a verification of the Streaming MAC.
ChunkedMacWrapper - Class in com.google.crypto.tink.mac
ChunkedMacWrapper is the implementation of PrimitiveWrapper for the ChunkedMac primitive.
CIPHER - Static variable in class com.google.crypto.tink.subtle.EngineFactory
 
clear() - Method in class com.google.crypto.tink.internal.MutableMonitoringRegistry
 
CleartextKeysetHandle - Class in com.google.crypto.tink
Static methods for reading or writing cleartext keysets.
close() - Method in class com.google.crypto.tink.subtle.RewindableReadableByteChannel
 
cmacPad(byte[]) - Static method in class com.google.crypto.tink.mac.internal.AesUtil
Pad by adding a 1 bit, then pad with 0 bits to the next block limit.
com.google.crypto.tink - package com.google.crypto.tink
 
com.google.crypto.tink.aead - package com.google.crypto.tink.aead
 
com.google.crypto.tink.aead.internal - package com.google.crypto.tink.aead.internal
 
com.google.crypto.tink.aead.subtle - package com.google.crypto.tink.aead.subtle
 
com.google.crypto.tink.annotations - package com.google.crypto.tink.annotations
 
com.google.crypto.tink.config - package com.google.crypto.tink.config
 
com.google.crypto.tink.config.internal - package com.google.crypto.tink.config.internal
 
com.google.crypto.tink.daead - package com.google.crypto.tink.daead
 
com.google.crypto.tink.daead.internal - package com.google.crypto.tink.daead.internal
 
com.google.crypto.tink.hybrid - package com.google.crypto.tink.hybrid
 
com.google.crypto.tink.hybrid.internal - package com.google.crypto.tink.hybrid.internal
 
com.google.crypto.tink.hybrid.subtle - package com.google.crypto.tink.hybrid.subtle
 
com.google.crypto.tink.integration.android - package com.google.crypto.tink.integration.android
 
com.google.crypto.tink.internal - package com.google.crypto.tink.internal
 
com.google.crypto.tink.jwt - package com.google.crypto.tink.jwt
 
com.google.crypto.tink.keyderivation - package com.google.crypto.tink.keyderivation
 
com.google.crypto.tink.keyderivation.internal - package com.google.crypto.tink.keyderivation.internal
 
com.google.crypto.tink.mac - package com.google.crypto.tink.mac
 
com.google.crypto.tink.mac.internal - package com.google.crypto.tink.mac.internal
 
com.google.crypto.tink.prf - package com.google.crypto.tink.prf
 
com.google.crypto.tink.prf.internal - package com.google.crypto.tink.prf.internal
 
com.google.crypto.tink.signature - package com.google.crypto.tink.signature
 
com.google.crypto.tink.signature.internal - package com.google.crypto.tink.signature.internal
 
com.google.crypto.tink.streamingaead - package com.google.crypto.tink.streamingaead
 
com.google.crypto.tink.streamingaead.internal - package com.google.crypto.tink.streamingaead.internal
 
com.google.crypto.tink.subtle - package com.google.crypto.tink.subtle
 
com.google.crypto.tink.subtle.prf - package com.google.crypto.tink.subtle.prf
 
com.google.crypto.tink.tinkkey - package com.google.crypto.tink.tinkkey
 
com.google.crypto.tink.tinkkey.internal - package com.google.crypto.tink.tinkkey.internal
 
com.google.crypto.tink.util - package com.google.crypto.tink.util
 
COMPRESSED - com.google.crypto.tink.subtle.EllipticCurves.PointFormatType
 
COMPRESSED - Static variable in class com.google.crypto.tink.hybrid.EciesParameters.PointFormat
 
compute(byte[], int) - Method in class com.google.crypto.tink.prf.internal.LegacyFullPrf
 
compute(byte[], int) - Method in class com.google.crypto.tink.prf.internal.PrfAesCmac
 
compute(byte[], int) - Method in class com.google.crypto.tink.prf.internal.PrfAesCmacConscrypt
 
compute(byte[], int) - Method in interface com.google.crypto.tink.prf.Prf
Computes the PRF selected by the underlying key on input and returns the first outputLength bytes.
compute(byte[], int) - Method in class com.google.crypto.tink.subtle.prf.PrfImpl
 
compute(byte[], int) - Method in class com.google.crypto.tink.subtle.PrfAesCmac
 
compute(byte[], int) - Method in class com.google.crypto.tink.subtle.PrfHmacJce
 
computeEciesHkdfSymmetricKey(byte[], byte[], String, byte[], byte[], int) - Static method in class com.google.crypto.tink.subtle.Hkdf
Computes symmetric key for ECIES with HKDF from the provided parameters.
computeHkdf(String, byte[], byte[], byte[], int) - Static method in class com.google.crypto.tink.subtle.Hkdf
Computes an HKDF.
computeMac() - Method in interface com.google.crypto.tink.mac.ChunkedMacComputation
Computes a tag for the provided data.
computeMac(byte[]) - Method in interface com.google.crypto.tink.Mac
Computes message authentication code (MAC) for data.
computeMac(byte[]) - Method in class com.google.crypto.tink.mac.internal.LegacyFullMac
 
computeMac(byte[]) - Method in class com.google.crypto.tink.subtle.PrfMac
 
computeMac(byte[], byte[]) - Static method in class com.google.crypto.tink.aead.internal.Poly1305
Computes Poly1305 MAC over data using key.
computeMacAndEncode(RawJwt) - Method in interface com.google.crypto.tink.jwt.JwtMac
Computes a MAC, and encodes the JWT and the MAC in the JWS compact serialization format.
computePrf(byte[]) - Method in class com.google.crypto.tink.subtle.prf.HkdfStreamingPrf
 
computePrf(byte[]) - Method in interface com.google.crypto.tink.subtle.prf.StreamingPrf
Returns an InputStream which is indistinguishable from a stream returning random bytes in the above sense.
computePrimary(byte[], int) - Method in class com.google.crypto.tink.prf.PrfSet
Convenience method to compute the primary PRF on a given input.
computeSharedSecret(byte[], byte[]) - Method in interface com.google.crypto.tink.hybrid.internal.X25519
computeSharedSecret.
computeSharedSecret(byte[], byte[]) - Method in class com.google.crypto.tink.hybrid.internal.X25519Conscrypt
 
computeSharedSecret(byte[], byte[]) - Static method in class com.google.crypto.tink.subtle.X25519
Returns the 32-byte shared key (i.e., privateKey·peersPublicValue on the curve).
computeSharedSecret(ECPrivateKey, ECPublicKey) - Static method in class com.google.crypto.tink.subtle.EllipticCurves
Generates the DH shared secret using myPrivateKey and peerPublicKey
computeSharedSecret(ECPrivateKey, ECPoint) - Static method in class com.google.crypto.tink.subtle.EllipticCurves
Generates the DH shared secret using myPrivateKey and publicPoint
concat(byte[]...) - Static method in class com.google.crypto.tink.subtle.Bytes
Returns the concatenation of the input arrays in a single array.
Config - Class in com.google.crypto.tink
Static methods for handling of Tink configurations.
Configuration - Class in com.google.crypto.tink
An object of this class represents a collection of algorithms that a user wants Tink to understand.
Configuration() - Constructor for class com.google.crypto.tink.Configuration
 
ConfigurationFips140v2 - Class in com.google.crypto.tink
ConfigurationFips140v2 contains Tink primitives that are compliant with FIPS 140-2.
ConfigurationV0 - Class in com.google.crypto.tink
ConfigurationV0 contains the following primitives and algorithms:
ConscryptUtil - Class in com.google.crypto.tink.internal
Utility functions for Conscrypt.
constructPrimitive(KeyT) - Method in class com.google.crypto.tink.internal.PrimitiveConstructor
 
constructPrimitive(KeyT) - Method in interface com.google.crypto.tink.internal.PrimitiveConstructor.PrimitiveConstructionFunction
 
contract(long[]) - Static method in class com.google.crypto.tink.internal.Field25519
Takes a fully reduced mixed radix form number and contract it into a little-endian, 32-byte array.
copyFrom(byte[]) - Static method in class com.google.crypto.tink.util.Bytes
 
copyFrom(byte[], int, int) - Static method in class com.google.crypto.tink.util.Bytes
Wrap an immutable byte array over a slice of a Bytes
copyFrom(byte[], SecretKeyAccess) - Static method in class com.google.crypto.tink.util.SecretBytes
Creates a new SecretBytes with the contents given in value.
create() - Static method in class com.google.crypto.tink.aead.ChaCha20Poly1305Parameters
 
create() - Static method in class com.google.crypto.tink.aead.XChaCha20Poly1305Parameters
 
create() - Static method in class com.google.crypto.tink.hybrid.internal.X25519Conscrypt
 
create() - Static method in class com.google.crypto.tink.signature.Ed25519Parameters
Creates an instance with NO_PREFIX variant.
create(byte[]) - Static method in class com.google.crypto.tink.aead.internal.InsecureNonceChaCha20Poly1305Jce
 
create(int) - Static method in class com.google.crypto.tink.prf.AesCmacPrfParameters
 
create(AeadParameters, Aead) - Static method in class com.google.crypto.tink.aead.KmsEnvelopeAead
Creates a new instance of Tink's KMS Envelope AEAD.
create(AesCtrHmacAeadKey) - Static method in class com.google.crypto.tink.subtle.EncryptThenAuthenticate
Create an AES CTR HMAC instance.
create(AesEaxKey) - Static method in class com.google.crypto.tink.subtle.AesEaxJce
 
create(AesGcmKey) - Static method in class com.google.crypto.tink.subtle.AesGcmJce
 
create(AesGcmSivKey) - Static method in class com.google.crypto.tink.aead.subtle.AesGcmSiv
 
create(AesGcmSivKey, AesGcmSiv.ThrowingSupplier<Cipher>) - Static method in class com.google.crypto.tink.aead.internal.AesGcmSiv
Creates an Aead for AES GCM SIV.
create(ChaCha20Poly1305Key) - Static method in class com.google.crypto.tink.aead.internal.ChaCha20Poly1305Jce
 
create(ChaCha20Poly1305Key) - Static method in class com.google.crypto.tink.subtle.ChaCha20Poly1305
 
create(ChaCha20Poly1305Parameters.Variant) - Static method in class com.google.crypto.tink.aead.ChaCha20Poly1305Parameters
 
create(ChaCha20Poly1305Parameters.Variant, SecretBytes, Integer) - Static method in class com.google.crypto.tink.aead.ChaCha20Poly1305Key
 
create(LegacyKmsAeadParameters) - Static method in class com.google.crypto.tink.aead.LegacyKmsAeadKey
 
create(LegacyKmsAeadParameters, Integer) - Static method in class com.google.crypto.tink.aead.LegacyKmsAeadKey
 
create(LegacyKmsEnvelopeAeadParameters) - Static method in class com.google.crypto.tink.aead.LegacyKmsEnvelopeAeadKey
 
create(LegacyKmsEnvelopeAeadParameters, Integer) - Static method in class com.google.crypto.tink.aead.LegacyKmsEnvelopeAeadKey
 
create(XAesGcmKey) - Static method in class com.google.crypto.tink.aead.internal.XAesGcm
 
create(XAesGcmParameters.Variant, int) - Static method in class com.google.crypto.tink.aead.XAesGcmParameters
Creates a new XAesGcmParameters object for generating new instances of XAesGcmKey.
create(XAesGcmParameters, SecretBytes, Integer) - Static method in class com.google.crypto.tink.aead.XAesGcmKey
 
create(XChaCha20Poly1305Key) - Static method in class com.google.crypto.tink.aead.internal.XChaCha20Poly1305Jce
 
create(XChaCha20Poly1305Key) - Static method in class com.google.crypto.tink.subtle.XChaCha20Poly1305
 
create(XChaCha20Poly1305Parameters.Variant) - Static method in class com.google.crypto.tink.aead.XChaCha20Poly1305Parameters
 
create(XChaCha20Poly1305Parameters.Variant, SecretBytes, Integer) - Static method in class com.google.crypto.tink.aead.XChaCha20Poly1305Key
 
create(Aead, Bytes) - Static method in class com.google.crypto.tink.aead.internal.LegacyFullAead
 
create(AesSivKey) - Static method in class com.google.crypto.tink.subtle.AesSiv
 
create(EciesPrivateKey) - Static method in class com.google.crypto.tink.subtle.EciesAeadHkdfHybridDecrypt
 
create(EciesPublicKey) - Static method in class com.google.crypto.tink.subtle.EciesAeadHkdfHybridEncrypt
 
create(HpkeParameters, Bytes, Integer) - Static method in class com.google.crypto.tink.hybrid.HpkePublicKey
Creates a new HPKE public key.
create(HpkePrivateKey) - Static method in class com.google.crypto.tink.hybrid.internal.HpkeDecrypt
 
create(HpkePublicKey) - Static method in class com.google.crypto.tink.hybrid.internal.HpkeEncrypt
 
create(HpkePublicKey) - Static method in class com.google.crypto.tink.hybrid.internal.HpkeHelperForAndroidKeystore
Creates a new HpkeHelperForAndroidKeystore object.
create(HpkePublicKey, HpkePublicKey) - Static method in class com.google.crypto.tink.hybrid.internal.AuthHpkeHelperForAndroidKeystore
Creates a new AuthHpkeHelperForAndroidKeystore object.
create(HpkePublicKey, SecretBytes) - Static method in class com.google.crypto.tink.hybrid.HpkePrivateKey
Creates a new HPKE private key.
create(KeyParser.KeyParsingFunction<SerializationT>, Bytes, Class<SerializationT>) - Static method in class com.google.crypto.tink.internal.KeyParser
Creates a KeyParser object.
create(KeySerializer.KeySerializationFunction<KeyT, SerializationT>, Class<KeyT>, Class<SerializationT>) - Static method in class com.google.crypto.tink.internal.KeySerializer
Creates a KeySerializer object.
create(KeysetHandleInterface.Entry) - Method in interface com.google.crypto.tink.internal.PrimitiveWrapper.PrimitiveFactory
 
create(LegacyProtoKey) - Static method in class com.google.crypto.tink.aead.internal.LegacyFullAead
This method covers the cases where users created their own aead/key classes.
create(LegacyProtoKey) - Static method in class com.google.crypto.tink.daead.internal.LegacyFullDeterministicAead
Creates a DeterministicAead full primitive from user-defined deterministic aead / key classes.
create(LegacyProtoKey) - Static method in class com.google.crypto.tink.hybrid.internal.LegacyFullHybridDecrypt
 
create(LegacyProtoKey) - Static method in class com.google.crypto.tink.hybrid.internal.LegacyFullHybridEncrypt
This method covers the cases where users created their own aead/key classes.
create(LegacyProtoKey) - Static method in class com.google.crypto.tink.mac.internal.LegacyFullMac
This method covers the cases where users created their own mac/key classes.
create(LegacyProtoKey) - Static method in class com.google.crypto.tink.prf.internal.LegacyFullPrf
This method covers the cases where users created their own prf/key classes.
create(LegacyProtoKey) - Static method in class com.google.crypto.tink.signature.internal.LegacyFullSign
Creates the full primitive corresponding to the key.
create(LegacyProtoKey) - Static method in class com.google.crypto.tink.signature.internal.LegacyFullVerify
Creates the full primitive corresponding to the key.
create(LegacyProtoKey) - Static method in class com.google.crypto.tink.streamingaead.internal.LegacyFullStreamingAead
Covers the cases where users created their own streaming AEAD / key classes.
create(ParametersParser.ParametersParsingFunction<SerializationT>, Bytes, Class<SerializationT>) - Static method in class com.google.crypto.tink.internal.ParametersParser
Creates a ParametersParser object.
create(ParametersSerializer.ParametersSerializationFunction<ParametersT, SerializationT>, Class<ParametersT>, Class<SerializationT>) - Static method in class com.google.crypto.tink.internal.ParametersSerializer
Creates a ParametersSerializer object.
create(PrimitiveConstructor.PrimitiveConstructionFunction<KeyT, PrimitiveT>, Class<KeyT>, Class<PrimitiveT>) - Static method in class com.google.crypto.tink.internal.PrimitiveConstructor
Creates a PrimitiveConstructor object.
create(JwtEcdsaPublicKey, SecretBigInteger) - Static method in class com.google.crypto.tink.jwt.JwtEcdsaPrivateKey
 
create(PrfBasedKeyDerivationKey) - Static method in class com.google.crypto.tink.keyderivation.internal.PrfBasedKeyDeriver
 
create(PrfBasedKeyDerivationParameters, PrfKey, Integer) - Static method in class com.google.crypto.tink.keyderivation.PrfBasedKeyDerivationKey
 
create(AesCmacKey) - Static method in class com.google.crypto.tink.mac.internal.ChunkedAesCmacImpl
Creates a ChunkedMac implementation for AES-CMAC.
create(AesCmacKey) - Static method in class com.google.crypto.tink.subtle.PrfMac
Creates an object implementing the Mac interface using an AesCmac underneath.
create(AesCmacKey, Provider) - Static method in class com.google.crypto.tink.mac.internal.ChunkedAesCmacConscrypt
 
create(HmacKey) - Static method in class com.google.crypto.tink.subtle.PrfMac
Creates an object implementing the Mac interface using an Hmac underneath.
create(AesCmacPrfKey) - Static method in class com.google.crypto.tink.prf.internal.PrfAesCmac
 
create(AesCmacPrfKey) - Static method in class com.google.crypto.tink.prf.internal.PrfAesCmacConscrypt
Returns a Prf primitive from an AesCmacPrfKey.
create(AesCmacPrfKey) - Static method in class com.google.crypto.tink.subtle.PrfAesCmac
 
create(AesCmacPrfParameters, SecretBytes) - Static method in class com.google.crypto.tink.prf.AesCmacPrfKey
 
create(HkdfPrfKey) - Static method in class com.google.crypto.tink.subtle.prf.HkdfStreamingPrf
 
create(HmacPrfKey) - Static method in class com.google.crypto.tink.subtle.PrfHmacJce
Given an HmacPrfKey, returns an instance of the Prf interface.
create(KeyTemplate) - Static method in class com.google.crypto.tink.internal.ProtoParametersSerialization
Creates a new ProtoParametersSerialization object.
create(EcdsaPrivateKey) - Static method in class com.google.crypto.tink.signature.internal.EcdsaSignJce
 
create(EcdsaPrivateKey) - Static method in class com.google.crypto.tink.subtle.EcdsaSignJce
 
create(EcdsaPublicKey) - Static method in class com.google.crypto.tink.signature.internal.EcdsaVerifyJce
 
create(EcdsaPublicKey) - Static method in class com.google.crypto.tink.subtle.EcdsaVerifyJce
 
create(Ed25519Parameters.Variant) - Static method in class com.google.crypto.tink.signature.Ed25519Parameters
Creates an instance with given variant.
create(Ed25519Parameters.Variant, Bytes, Integer) - Static method in class com.google.crypto.tink.signature.Ed25519PublicKey
 
create(Ed25519PrivateKey) - Static method in class com.google.crypto.tink.signature.internal.Ed25519SignJce
 
create(Ed25519PrivateKey) - Static method in class com.google.crypto.tink.subtle.Ed25519Sign
 
create(Ed25519PublicKey) - Static method in class com.google.crypto.tink.signature.internal.Ed25519VerifyJce
 
create(Ed25519PublicKey) - Static method in class com.google.crypto.tink.subtle.Ed25519Verify
 
create(Ed25519PublicKey, SecretBytes) - Static method in class com.google.crypto.tink.signature.Ed25519PrivateKey
 
create(MlDsaParameters.MlDsaInstance, MlDsaParameters.Variant) - Static method in class com.google.crypto.tink.signature.MlDsaParameters
Create an instance with a given parameters set and variant.
create(RsaSsaPkcs1PrivateKey) - Static method in class com.google.crypto.tink.signature.internal.RsaSsaPkcs1SignJce
 
create(RsaSsaPkcs1PrivateKey) - Static method in class com.google.crypto.tink.subtle.RsaSsaPkcs1SignJce
 
create(RsaSsaPkcs1PublicKey) - Static method in class com.google.crypto.tink.signature.internal.RsaSsaPkcs1VerifyConscrypt
Returns a new instance of PublicKeyVerify for RsaSsaPkcs1 that uses Conscrypt.
create(RsaSsaPkcs1PublicKey) - Static method in class com.google.crypto.tink.subtle.RsaSsaPkcs1VerifyJce
 
create(RsaSsaPssPrivateKey) - Static method in class com.google.crypto.tink.signature.internal.RsaSsaPssSignConscrypt
 
create(RsaSsaPssPrivateKey) - Static method in class com.google.crypto.tink.subtle.RsaSsaPssSignJce
 
create(RsaSsaPssPublicKey) - Static method in class com.google.crypto.tink.signature.internal.RsaSsaPssVerifyConscrypt
 
create(RsaSsaPssPublicKey) - Static method in class com.google.crypto.tink.subtle.RsaSsaPssVerifyJce
 
create(AesCtrHmacStreamingKey) - Static method in class com.google.crypto.tink.subtle.AesCtrHmacStreaming
 
create(AesCtrHmacStreamingParameters, SecretBytes) - Static method in class com.google.crypto.tink.streamingaead.AesCtrHmacStreamingKey
 
create(AesGcmHkdfStreamingKey) - Static method in class com.google.crypto.tink.subtle.AesGcmHkdfStreaming
 
create(AesGcmHkdfStreamingParameters, SecretBytes) - Static method in class com.google.crypto.tink.streamingaead.AesGcmHkdfStreamingKey
 
create(Bytes) - Static method in class com.google.crypto.tink.signature.Ed25519PublicKey
 
create(SecretBytes) - Static method in class com.google.crypto.tink.aead.ChaCha20Poly1305Key
 
create(SecretBytes) - Static method in class com.google.crypto.tink.aead.XChaCha20Poly1305Key
 
create(String) - Static method in class com.google.crypto.tink.aead.LegacyKmsAeadParameters
 
create(String, byte[], KeyTemplate.OutputPrefixType) - Static method in class com.google.crypto.tink.KeyTemplate
Deprecated.
Use createFrom
create(String, LegacyKmsAeadParameters.Variant) - Static method in class com.google.crypto.tink.aead.LegacyKmsAeadParameters
 
create(String, OutputPrefixType, MessageLite) - Static method in class com.google.crypto.tink.internal.ProtoParametersSerialization
Creates a new ProtoParametersSerialization object from the individual parts.
create(String, ByteString, KeyData.KeyMaterialType, OutputPrefixType, Integer) - Static method in class com.google.crypto.tink.internal.ProtoKeySerialization
 
create(String, Class<P>, KeyData.KeyMaterialType, Parser<? extends MessageLite>) - Static method in class com.google.crypto.tink.internal.LegacyKeyManagerImpl
 
createAead(byte[]) - Method in interface com.google.crypto.tink.aead.subtle.AeadFactory
Creates a new Aead-primitive that uses the key material given in symmetricKey, which must be of length AeadFactory.getKeySizeInBytes().
createAead(byte[]) - Method in class com.google.crypto.tink.aead.subtle.AesGcmFactory
 
createAead(byte[]) - Static method in class com.google.crypto.tink.hybrid.internal.HpkePrimitiveFactory
Returns an HpkeAead primitive corresponding to aeadId.
createAead(HpkeParameters.AeadId) - Static method in class com.google.crypto.tink.hybrid.internal.HpkePrimitiveFactory
Returns an HpkeAead primitive corresponding to aeadId.
createAesCtrHmacAeadKeyTemplate(int, int, int, int, HashType) - Static method in class com.google.crypto.tink.aead.AeadKeyTemplates
 
createAesCtrHmacStreamingKeyTemplate(int, HashType, int, HashType, int, int) - Static method in class com.google.crypto.tink.streamingaead.StreamingAeadKeyTemplates
Deprecated.
 
createAesEaxKeyTemplate(int, int) - Static method in class com.google.crypto.tink.aead.AeadKeyTemplates
 
createAesGcmHkdfStreamingKeyTemplate(int, HashType, int, int) - Static method in class com.google.crypto.tink.streamingaead.StreamingAeadKeyTemplates
Deprecated.
 
createAesGcmKeyTemplate(int) - Static method in class com.google.crypto.tink.aead.AeadKeyTemplates
 
createAesSivKeyTemplate(int) - Static method in class com.google.crypto.tink.daead.DeterministicAeadKeyTemplates
Deprecated.
 
createAuthRecipientContext(byte[], HpkeKemPrivateKey, HpkeKem, HpkeKdf, HpkeAead, byte[], HpkePublicKey) - Static method in class com.google.crypto.tink.hybrid.internal.HpkeContext
Creates HPKE recipient context with authentication according to KeySchedule() defined in https://www.rfc-editor.org/rfc/rfc9180.html#section-5.1.3.
createAuthSenderContext(HpkePublicKey, HpkeKem, HpkeKdf, HpkeAead, byte[], HpkeKemPrivateKey) - Static method in class com.google.crypto.tink.hybrid.internal.HpkeContext
Creates HPKE sender context with authentication according to KeySchedule() defined in https://www.rfc-editor.org/rfc/rfc9180.html#section-5.1.3.
createComputation() - Method in interface com.google.crypto.tink.mac.ChunkedMac
Creates an instance of a single Chunked MAC computation.
createComputation() - Method in class com.google.crypto.tink.mac.internal.ChunkedAesCmacConscrypt
 
createComputation() - Method in class com.google.crypto.tink.mac.internal.ChunkedAesCmacImpl
 
createComputation() - Method in class com.google.crypto.tink.mac.internal.ChunkedHmacImpl
 
createEcdsaKeyTemplate(HashType, EllipticCurveType, EcdsaSignatureEncoding, OutputPrefixType) - Static method in class com.google.crypto.tink.signature.SignatureKeyTemplates
Deprecated.
Use a corresponding EcdsaParameters object instead.
createEciesAeadHkdfKeyTemplate(EllipticCurveType, HashType, EcPointFormat, KeyTemplate, OutputPrefixType, byte[]) - Static method in class com.google.crypto.tink.hybrid.HybridKeyTemplates
Deprecated.
Use EciesParameters instead.
createEciesAeadHkdfParams(EllipticCurveType, HashType, EcPointFormat, KeyTemplate, byte[]) - Static method in class com.google.crypto.tink.hybrid.HybridKeyTemplates
Deprecated.
Use EciesParameters instead.
createForCurveX25519(EciesParameters, Bytes, Integer) - Static method in class com.google.crypto.tink.hybrid.EciesPublicKey
Creates a new ECIES public key using Curve25519.
createForCurveX25519(EciesPublicKey, SecretBytes) - Static method in class com.google.crypto.tink.hybrid.EciesPrivateKey
Creates a new ECIES private key using Curve25519.
createForNistCurve(EciesParameters, ECPoint, Integer) - Static method in class com.google.crypto.tink.hybrid.EciesPublicKey
Creates a new ECIES public key using a NIST Curve.
createForNistCurve(EciesPublicKey, SecretBigInteger) - Static method in class com.google.crypto.tink.hybrid.EciesPrivateKey
Creates a new ECIES private key using NIST Curves.
createFrom(Parameters) - Static method in class com.google.crypto.tink.KeyTemplate
 
createFromKey(KeyData, KeyTemplate.OutputPrefixType) - Static method in class com.google.crypto.tink.tinkkey.KeyHandle
Returns a KeyHandle instance where the underlying TinkKey wraps the input keyData.
createFromKey(KeyHandle, KeyAccess) - Static method in class com.google.crypto.tink.KeysetHandle
Deprecated.
Use KeysetHandle.Builder.addEntry instead.
createFromKey(TinkKey, KeyAccess) - Static method in class com.google.crypto.tink.tinkkey.KeyHandle
Returns a KeyHandle instance with key as the underlying TinkKey if the caller provides the correct KeyAccess instance.
createFromPrimitiveRegistry(PrimitiveRegistry) - Static method in class com.google.crypto.tink.internal.InternalConfiguration
 
createFromPrimitiveRegistry(PrimitiveRegistry) - Static method in class com.google.crypto.tink.internal.RegistryConfiguration
Do not call.
createHmacKeyTemplate(int, int, HashType) - Static method in class com.google.crypto.tink.mac.MacKeyTemplates
Deprecated.
 
createInitialState(int[], int) - Method in class com.google.crypto.tink.aead.internal.InsecureNonceChaCha20
 
createKdf(byte[]) - Static method in class com.google.crypto.tink.hybrid.internal.HpkePrimitiveFactory
Returns an HpkeKdf primitive corresponding to kdfId.
createKdf(HpkeParameters.KdfId) - Static method in class com.google.crypto.tink.hybrid.internal.HpkePrimitiveFactory
Returns an HpkeKdf primitive corresponding to kdfId.
createKem(byte[]) - Static method in class com.google.crypto.tink.hybrid.internal.HpkePrimitiveFactory
Returns an HpkeKem primitive corresponding to kemId.
createKem(HpkeParameters.KemId) - Static method in class com.google.crypto.tink.hybrid.internal.HpkePrimitiveFactory
Returns an HpkeKem primitive corresponding to kemId.
createKey(Parameters, Integer) - Method in class com.google.crypto.tink.internal.MutableKeyCreationRegistry
Creates a Key from a given Parameters object.
createKey(ParametersT, Integer) - Method in interface com.google.crypto.tink.internal.KeyCreator
 
createKeyFromRandomness(Parameters, InputStream, Integer, SecretKeyAccess) - Method in class com.google.crypto.tink.internal.MutableKeyDerivationRegistry
Creates a Key from a given Parameters object and additional data.
createKeyFromRandomness(ParametersT, InputStream, Integer, SecretKeyAccess) - Method in interface com.google.crypto.tink.internal.MutableKeyDerivationRegistry.InsecureKeyCreator
 
createKeyTemplate(String) - Static method in class com.google.crypto.tink.aead.KmsAeadKeyManager
Returns a new KeyTemplate that can generate a KmsAeadKey whose key is pointing to keyUri.
createKeyTemplate(String, KeyTemplate) - Static method in class com.google.crypto.tink.aead.KmsEnvelopeAeadKeyManager
Returns a new KeyTemplate that can generate a LegacyKmsEnvelopeAeadKey whose key encrypting key (KEK) is pointing to kekUri and DEK template is dekTemplate (or a derived version of it).
createKmsEnvelopeAeadKeyTemplate(String, KeyTemplate) - Static method in class com.google.crypto.tink.aead.AeadKeyTemplates
Returns a new KeyTemplate that can generate a KmsEnvelopeAeadKey whose key encrypting key (KEK) is pointing to kekUri and DEK template is dekTemplate.
createLogger(KeysetHandleInterface, MonitoringAnnotations, String, String) - Method in interface com.google.crypto.tink.internal.MonitoringClient
Function that creates Logger objects.
createPrivate(HpkePrivateKey) - Static method in class com.google.crypto.tink.hybrid.internal.HpkeKemKeyFactory
 
createPrivateKeyManager(String, Class<P>, Parser<? extends MessageLite>) - Static method in class com.google.crypto.tink.internal.LegacyKeyManagerImpl
 
createRecipientContext(byte[], HpkeKemPrivateKey, HpkeKem, HpkeKdf, HpkeAead, byte[]) - Static method in class com.google.crypto.tink.hybrid.internal.HpkeContext
Creates HPKE sender recipient context according to KeySchedule() defined in https://www.rfc-editor.org/rfc/rfc9180.html#section-5.1-9.
createRsaSsaPkcs1KeyTemplate(HashType, int, BigInteger, OutputPrefixType) - Static method in class com.google.crypto.tink.signature.SignatureKeyTemplates
Deprecated.
Use a corresponding RsaSsaPkcs1Parameters object instead
createRsaSsaPssKeyTemplate(HashType, HashType, int, int, BigInteger) - Static method in class com.google.crypto.tink.signature.SignatureKeyTemplates
Deprecated.
Use a corresponding RsaSsaPssParameters object instead.
createVerification(byte[]) - Method in interface com.google.crypto.tink.mac.ChunkedMac
Creates an instance of a single Chunked MAC verification.
createVerification(byte[]) - Method in class com.google.crypto.tink.mac.internal.ChunkedAesCmacConscrypt
 
createVerification(byte[]) - Method in class com.google.crypto.tink.mac.internal.ChunkedAesCmacImpl
 
createVerification(byte[]) - Method in class com.google.crypto.tink.mac.internal.ChunkedHmacImpl
 
createWithProvider(EcdsaPrivateKey, Provider) - Static method in class com.google.crypto.tink.signature.internal.EcdsaSignJce
Creates a PublicKeySign using a Provider.
createWithProvider(EcdsaPublicKey, Provider) - Static method in class com.google.crypto.tink.signature.internal.EcdsaVerifyJce
Creates a PublicKeyVerify using a Provider.
createWithProvider(Ed25519PrivateKey, Provider) - Static method in class com.google.crypto.tink.signature.internal.Ed25519SignJce
 
createWithProvider(Ed25519PublicKey, Provider) - Static method in class com.google.crypto.tink.signature.internal.Ed25519VerifyJce
 
createWithProvider(RsaSsaPkcs1PrivateKey, Provider) - Static method in class com.google.crypto.tink.signature.internal.RsaSsaPkcs1SignJce
Creates a PublicKeySign using a Provider.
createWithProvider(RsaSsaPkcs1PublicKey, Provider) - Static method in class com.google.crypto.tink.signature.internal.RsaSsaPkcs1VerifyConscrypt
 
createWithProvider(RsaSsaPssPrivateKey, Provider) - Static method in class com.google.crypto.tink.signature.internal.RsaSsaPssSignConscrypt
 
createWithProvider(RsaSsaPssPublicKey, Provider) - Static method in class com.google.crypto.tink.signature.internal.RsaSsaPssVerifyConscrypt
 
createWithProviderOrNull(EcdsaPublicKey, Provider) - Static method in class com.google.crypto.tink.signature.internal.EcdsaVerifyJce
 
CRLF - Static variable in class com.google.crypto.tink.subtle.Base64
Encoder flag bit to indicate lines should be terminated with a CRLF pair instead of just an LF.
CRUNCHY - com.google.crypto.tink.KeyTemplate.OutputPrefixType
 
CRUNCHY - Static variable in class com.google.crypto.tink.aead.AesCtrHmacAeadParameters.Variant
 
CRUNCHY - Static variable in class com.google.crypto.tink.aead.AesEaxParameters.Variant
 
CRUNCHY - Static variable in class com.google.crypto.tink.aead.AesGcmParameters.Variant
 
CRUNCHY - Static variable in class com.google.crypto.tink.aead.AesGcmSivParameters.Variant
 
CRUNCHY - Static variable in class com.google.crypto.tink.aead.ChaCha20Poly1305Parameters.Variant
 
CRUNCHY - Static variable in class com.google.crypto.tink.aead.XChaCha20Poly1305Parameters.Variant
 
CRUNCHY - Static variable in class com.google.crypto.tink.daead.AesSivParameters.Variant
 
CRUNCHY - Static variable in class com.google.crypto.tink.hybrid.EciesParameters.Variant
Leading 0x00-byte followed by 4-byte key id (big endian format).
CRUNCHY - Static variable in class com.google.crypto.tink.hybrid.HpkeParameters.Variant
CRUNCHY: Leading 0x00-byte followed by 4-byte key id (big endian format).
CRUNCHY - Static variable in class com.google.crypto.tink.mac.AesCmacParameters.Variant
 
CRUNCHY - Static variable in class com.google.crypto.tink.mac.HmacParameters.Variant
 
CRUNCHY - Static variable in class com.google.crypto.tink.signature.EcdsaParameters.Variant
 
CRUNCHY - Static variable in class com.google.crypto.tink.signature.Ed25519Parameters.Variant
 
CRUNCHY - Static variable in class com.google.crypto.tink.signature.RsaSsaPkcs1Parameters.Variant
 
CRUNCHY - Static variable in class com.google.crypto.tink.signature.RsaSsaPssParameters.Variant
 
CryptoFormat - Class in com.google.crypto.tink
Constants and convenience methods that deal with crypto format.
Curve25519 - Class in com.google.crypto.tink.internal
This class implements point arithmetic on the elliptic curve Curve25519.
curveMult(long[], byte[], byte[]) - Static method in class com.google.crypto.tink.internal.Curve25519
Calculates nQ where Q is the x-coordinate of a point on the curve.
CUSTOM - Static variable in class com.google.crypto.tink.jwt.JwtEcdsaParameters.KidStrategy
The "kid" is fixed.
CUSTOM - Static variable in class com.google.crypto.tink.jwt.JwtHmacParameters.KidStrategy
The "kid" is fixed.
CUSTOM - Static variable in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1Parameters.KidStrategy
The "kid" is fixed.
CUSTOM - Static variable in class com.google.crypto.tink.jwt.JwtRsaSsaPssParameters.KidStrategy
The "kid" is fixed.
customClaimNames() - Method in class com.google.crypto.tink.jwt.VerifiedJwt
Returns all non-registered claim names.

D

dbl(byte[]) - Static method in class com.google.crypto.tink.mac.internal.AesUtil
Multiplies value by x in the finite field GF(2^128) represented using the primitive polynomial x^128 + x^7 + x^2 + x + 1.
decapsulate(byte[], HpkeKemPrivateKey) - Method in interface com.google.crypto.tink.hybrid.internal.HpkeKem
Extracts the shared secret from encapsulatedKey using recipientPrivateKey.
decode(byte[], int) - Static method in class com.google.crypto.tink.subtle.Base64
Decode the Base64-encoded data in input and return the data in a new byte array.
decode(byte[], int, int, int) - Static method in class com.google.crypto.tink.subtle.Base64
Decode the Base64-encoded data in input and return the data in a new byte array.
decode(String) - Static method in class com.google.crypto.tink.subtle.Base64
Decodes a base64 string to a byte array.
decode(String) - Static method in class com.google.crypto.tink.subtle.Hex
Decodes a hex string to a byte array.
decode(String, int) - Static method in class com.google.crypto.tink.subtle.Base64
Decode the Base64-encoded data in input and return the data in a new byte array.
decrypt(byte[]) - Method in class com.google.crypto.tink.subtle.AesCtrJceCipher
Decrypts the ciphertext with counter mode decryption.
decrypt(byte[]) - Method in interface com.google.crypto.tink.subtle.IndCpaCipher
Decrypts ciphertext.
decrypt(byte[], byte[]) - Method in interface com.google.crypto.tink.Aead
Decrypts ciphertext with associatedData as associated authenticated data.
decrypt(byte[], byte[]) - Method in class com.google.crypto.tink.aead.internal.AesGcmSiv
On Android KitKat (API level 19) this method does not support non null or non empty associatedData.
decrypt(byte[], byte[]) - Method in class com.google.crypto.tink.aead.internal.ChaCha20Poly1305Jce
 
decrypt(byte[], byte[]) - Method in class com.google.crypto.tink.aead.internal.LegacyFullAead
 
decrypt(byte[], byte[]) - Method in class com.google.crypto.tink.aead.internal.XAesGcm
 
decrypt(byte[], byte[]) - Method in class com.google.crypto.tink.aead.internal.XChaCha20Poly1305Jce
 
decrypt(byte[], byte[]) - Method in class com.google.crypto.tink.aead.KmsEnvelopeAead
 
decrypt(byte[], byte[]) - Method in class com.google.crypto.tink.aead.subtle.AesGcmSiv
On Android KitKat (API level 19) this method does not support non null or non empty associatedData.
decrypt(byte[], byte[]) - Method in class com.google.crypto.tink.hybrid.internal.HpkeDecrypt
 
decrypt(byte[], byte[]) - Method in class com.google.crypto.tink.hybrid.internal.LegacyFullHybridDecrypt
 
decrypt(byte[], byte[]) - Method in class com.google.crypto.tink.hybrid.subtle.RsaKemHybridDecrypt
 
decrypt(byte[], byte[]) - Method in interface com.google.crypto.tink.HybridDecrypt
Decryption operation: decrypts ciphertext verifying the integrity of contextInfo.
decrypt(byte[], byte[]) - Method in class com.google.crypto.tink.integration.android.AndroidKeystoreAesGcm
 
decrypt(byte[], byte[]) - Method in class com.google.crypto.tink.subtle.AesEaxJce
 
decrypt(byte[], byte[]) - Method in class com.google.crypto.tink.subtle.AesGcmJce
 
decrypt(byte[], byte[]) - Method in class com.google.crypto.tink.subtle.ChaCha20Poly1305
 
decrypt(byte[], byte[]) - Method in class com.google.crypto.tink.subtle.EciesAeadHkdfHybridDecrypt
 
decrypt(byte[], byte[]) - Method in class com.google.crypto.tink.subtle.EncryptThenAuthenticate
Decrypts ciphertext with associatedData as associated data.
decrypt(byte[], byte[]) - Method in class com.google.crypto.tink.subtle.XChaCha20Poly1305
 
decrypt(byte[], byte[], byte[]) - Method in class com.google.crypto.tink.aead.internal.InsecureNonceAesGcmJce
Decrypts ciphertext with iv and associatedData.
decrypt(byte[], byte[], byte[]) - Method in class com.google.crypto.tink.aead.internal.InsecureNonceChaCha20Poly1305Jce
Decrypts ciphertext with nonce and associatedData.
decrypt(byte[], byte[], int) - Method in interface com.google.crypto.tink.hybrid.internal.EciesDemHelper.Dem
 
decrypt(byte[], byte[], int, byte[]) - Method in class com.google.crypto.tink.aead.internal.InsecureNonceAesGcmJce
Decrypts ciphertextWithPrefix with iv and associatedData.
decrypt(byte[], byte[], int, byte[]) - Method in class com.google.crypto.tink.aead.internal.InsecureNonceChaCha20Poly1305Jce
Decrypts ciphertextWithPrefix with nonce and associatedData.
decryptAuthenticatedWithEncapsulatedKeyAndP256SharedSecret(byte[], byte[], byte[], byte[], int, byte[]) - Method in class com.google.crypto.tink.hybrid.internal.AuthHpkeHelperForAndroidKeystore
Decrypts a ciphertext.
decryptDeterministically(byte[], byte[]) - Method in class com.google.crypto.tink.daead.internal.LegacyFullDeterministicAead
 
decryptDeterministically(byte[], byte[]) - Method in interface com.google.crypto.tink.DeterministicAead
Deterministically decrypts ciphertext with associatedData as associated authenticated data.
decryptDeterministically(byte[], byte[]) - Method in class com.google.crypto.tink.subtle.AesSiv
 
decryptSegment(ByteBuffer, int, boolean, ByteBuffer) - Method in interface com.google.crypto.tink.subtle.StreamSegmentDecrypter
Decrypts a ciphetext segment.
decryptUnauthenticatedWithEncapsulatedKeyAndP256SharedSecret(byte[], byte[], byte[], int, byte[]) - Method in class com.google.crypto.tink.hybrid.internal.HpkeHelperForAndroidKeystore
Decrypts a ciphertext.
DEFAULT - Static variable in class com.google.crypto.tink.subtle.Base64
Default values for encoder/decoder flags.
delete(int) - Method in class com.google.crypto.tink.integration.android.AndroidKeysetManager
Deletes the key with keyId.
delete(int) - Method in class com.google.crypto.tink.KeysetManager
Deletes the key with keyId.
deleteAt(int) - Method in class com.google.crypto.tink.KeysetHandle.Builder
Deletes the entry at index i.
deleteKey(String) - Static method in class com.google.crypto.tink.integration.android.AndroidKeystore
Deletes a key in Android Keystore if it exists.
deleteKey(String) - Method in class com.google.crypto.tink.integration.android.AndroidKeystoreKmsClient
Deletes a key in Android Keystore.
DER - com.google.crypto.tink.subtle.EllipticCurves.EcdsaEncoding
 
DER - Static variable in class com.google.crypto.tink.signature.EcdsaParameters.SignatureEncoding
 
deriveKey(byte[]) - Method in interface com.google.crypto.tink.keyderivation.internal.KeyDeriver
 
deriveKey(byte[]) - Method in class com.google.crypto.tink.keyderivation.internal.PrfBasedKeyDeriver
 
deriveKeyset(byte[]) - Method in interface com.google.crypto.tink.keyderivation.KeysetDeriver
 
destroy(int) - Method in class com.google.crypto.tink.integration.android.AndroidKeysetManager
Destroys the key material associated with the keyId.
destroy(int) - Method in class com.google.crypto.tink.KeysetManager
Destroys the key material associated with the keyId.
DESTROYED - com.google.crypto.tink.tinkkey.KeyHandle.KeyStatusType
 
DESTROYED - Static variable in class com.google.crypto.tink.KeyStatus
 
DeterministicAead - Interface in com.google.crypto.tink
Interface for Deterministic Authenticated Encryption with Associated Data (Deterministic AEAD).
DeterministicAeadConfig - Class in com.google.crypto.tink.daead
Static methods and constants for registering with the Registry all instances of DeterministicAead key types supported in a particular release of Tink.
DeterministicAeadFactory - Class in com.google.crypto.tink.daead
Deprecated.
Use keysetHandle.getPrimitive(RegistryConfiguration.get(), DeterministicAead.class) after registering the DeterministicAeadWrapper instead.
DeterministicAeadKey - Class in com.google.crypto.tink.daead
Represents functions to encrypt and decrypt data deterministically using AEAD.
DeterministicAeadKey() - Constructor for class com.google.crypto.tink.daead.DeterministicAeadKey
 
DeterministicAeadKeyTemplates - Class in com.google.crypto.tink.daead
Deprecated.
DeterministicAeadParameters - Class in com.google.crypto.tink.daead
Represents a description of a DeterministicAeadKey
DeterministicAeadParameters() - Constructor for class com.google.crypto.tink.daead.DeterministicAeadParameters
 
DeterministicAeadWrapper - Class in com.google.crypto.tink.daead
The implementation of PrimitiveWrapper<DeterministicAead>.
DHKEM_P256_HKDF_SHA256 - Static variable in class com.google.crypto.tink.hybrid.HpkeParameters.KemId
 
DHKEM_P384_HKDF_SHA384 - Static variable in class com.google.crypto.tink.hybrid.HpkeParameters.KemId
 
DHKEM_P521_HKDF_SHA512 - Static variable in class com.google.crypto.tink.hybrid.HpkeParameters.KemId
 
DHKEM_X25519_HKDF_SHA256 - Static variable in class com.google.crypto.tink.hybrid.HpkeParameters.KemId
 
disable(int) - Method in class com.google.crypto.tink.integration.android.AndroidKeysetManager
Disables the key with keyId.
disable(int) - Method in class com.google.crypto.tink.KeysetManager
Disables the key with keyId.
DISABLED - com.google.crypto.tink.tinkkey.KeyHandle.KeyStatusType
 
DISABLED - Static variable in class com.google.crypto.tink.KeyStatus
 
disableRewinding() - Method in class com.google.crypto.tink.subtle.RewindableReadableByteChannel
Disables the rewinding feature.
DO_NOT_USE_CRUNCHY_UNCOMPRESSED - com.google.crypto.tink.subtle.EllipticCurves.PointFormatType
 
DO_NOTHING_LOGGER - Static variable in class com.google.crypto.tink.internal.MonitoringUtil
 
doesSupport(String) - Method in class com.google.crypto.tink.integration.android.AndroidKeystoreKmsClient
 
doesSupport(String) - Method in class com.google.crypto.tink.internal.LegacyKeyManagerImpl
 
doesSupport(String) - Method in class com.google.crypto.tink.keyderivation.internal.PrfBasedDeriverKeyManager
 
doesSupport(String) - Method in interface com.google.crypto.tink.KeyManager
Deprecated.
Use getKeyType() instead.
doesSupport(String) - Method in interface com.google.crypto.tink.KmsClient
 
doNotUseKeystore() - Method in class com.google.crypto.tink.integration.android.AndroidKeysetManager.Builder
Deprecated.
Please do not use this function. Instead, do not call {#code withMasterKeyUri} which has the same effect.

E

ECDSA_P256 - Static variable in class com.google.crypto.tink.signature.PredefinedSignatureParameters
A Parameters object that generates new instances of EcdsaPrivateKey objects with the following parameters: Hash function: SHA256 Curve: NIST P-256 Signature encoding: DER (this is the encoding that Java uses).
ECDSA_P256 - Static variable in class com.google.crypto.tink.signature.SignatureKeyTemplates
A KeyTemplate that generates new instances of EcdsaPrivateKey with the following parameters: Hash function: SHA256 Curve: NIST P-256 Signature encoding: DER (this is the encoding that Java uses).
ECDSA_P256_IEEE_P1363 - Static variable in class com.google.crypto.tink.signature.PredefinedSignatureParameters
A Parameters that generates new instances of EcdsaPrivateKey objects with the following parameters: Hash function: SHA256 Curve: NIST P-256 Signature encoding: IEEE_P1363 (this is the encoding that JWS and WebCrypto use).
ECDSA_P256_IEEE_P1363 - Static variable in class com.google.crypto.tink.signature.SignatureKeyTemplates
A KeyTemplate that generates new instances of EcdsaPrivateKey with the following parameters: Hash function: SHA256 Curve: NIST P-256 Signature encoding: IEEE_P1363 (this is the encoding that JWS and WebCrypto use).
ECDSA_P256_IEEE_P1363_WITHOUT_PREFIX - Static variable in class com.google.crypto.tink.signature.PredefinedSignatureParameters
A Parameters that generates new instances of EcdsaPrivateKey objects with the following parameters: Hash function: SHA256 Curve: NIST P-256 Signature encoding: IEEE_P1363 (this is the encoding that JWS and WebCrypto use).
ECDSA_P256_IEEE_P1363_WITHOUT_PREFIX - Static variable in class com.google.crypto.tink.signature.SignatureKeyTemplates
A KeyTemplate that generates new instances of EcdsaPrivateKey with the following parameters: Hash function: SHA256 Curve: NIST P-256 Signature encoding: DER (this is the encoding that Java uses).
ECDSA_P256_SHA256 - com.google.crypto.tink.PemKeyType
 
ECDSA_P256_SHA256 - com.google.crypto.tink.subtle.PemKeyType
Deprecated.
 
ECDSA_P384 - Static variable in class com.google.crypto.tink.signature.PredefinedSignatureParameters
A Parameters that generates new instances of EcdsaPrivateKey objects with the following parameters: Hash function: SHA512 Curve: NIST P-384 Signature encoding: DER (this is the encoding that Java uses).
ECDSA_P384 - Static variable in class com.google.crypto.tink.signature.SignatureKeyTemplates
A KeyTemplate that generates new instances of EcdsaPrivateKey with the following parameters: Hash function: SHA512 Curve: NIST P-384 Signature encoding: DER (this is the encoding that Java uses).
ECDSA_P384_IEEE_P1363 - Static variable in class com.google.crypto.tink.signature.PredefinedSignatureParameters
A Parameters that generates new instances of EcdsaPrivateKey objects with the following parameters: Hash function: SHA512 Curve: NIST P-384 Signature encoding: IEEE_P1363 (this is the encoding that JWS and WebCrypto use).
ECDSA_P384_IEEE_P1363 - Static variable in class com.google.crypto.tink.signature.SignatureKeyTemplates
A KeyTemplate that generates new instances of EcdsaPrivateKey with the following parameters: Hash function: SHA512 Curve: NIST P-384 Signature encoding: IEEE_P1363 (this is the encoding that JWS and WebCrypto use).
ECDSA_P384_SHA384 - com.google.crypto.tink.PemKeyType
 
ECDSA_P384_SHA384 - com.google.crypto.tink.subtle.PemKeyType
Deprecated.
 
ECDSA_P521 - Static variable in class com.google.crypto.tink.signature.PredefinedSignatureParameters
A Parameters that generates new instances of EcdsaPrivateKey objects with the following parameters: Hash function: SHA512 Curve: NIST P-521 Signature encoding: DER (this is the encoding that Java uses).
ECDSA_P521 - Static variable in class com.google.crypto.tink.signature.SignatureKeyTemplates
A KeyTemplate that generates new instances of EcdsaPrivateKey with the following parameters: Hash function: SHA512 Curve: NIST P-521 Signature encoding: DER (this is the encoding that Java uses).
ECDSA_P521_IEEE_P1363 - Static variable in class com.google.crypto.tink.signature.PredefinedSignatureParameters
A Parameters that generates new instances of EcdsaPrivateKey objects with the following parameters: Hash function: SHA512 Curve: NIST P-521 Signature encoding: IEEE_P1363 (this is the encoding that JWS and WebCrypto use).
ECDSA_P521_IEEE_P1363 - Static variable in class com.google.crypto.tink.signature.SignatureKeyTemplates
A KeyTemplate that generates new instances of EcdsaPrivateKey with the following parameters: Hash function: SHA512 Curve: NIST P-521 Signature encoding: IEEE_P1363 (this is the encoding that JWS and WebCrypto use).
ECDSA_P521_SHA512 - com.google.crypto.tink.PemKeyType
 
ECDSA_P521_SHA512 - com.google.crypto.tink.subtle.PemKeyType
Deprecated.
 
ECDSA_PRIVATE_KEY_TYPE_URL - Static variable in class com.google.crypto.tink.signature.SignatureConfig
 
ECDSA_PUBLIC_KEY_TYPE_URL - Static variable in class com.google.crypto.tink.signature.SignatureConfig
 
ecdsaDer2Ieee(byte[], int) - Static method in class com.google.crypto.tink.subtle.EllipticCurves
Transforms ECDSA DER signature encoding to IEEE_P1363 encoding.
ecdsaIeee2Der(byte[]) - Static method in class com.google.crypto.tink.subtle.EllipticCurves
Transforms ECDSA IEEE_P1363 signature encoding to DER encoding.
ecdsaP256Template() - Static method in class com.google.crypto.tink.signature.EcdsaSignKeyManager
 
EcdsaParameters - Class in com.google.crypto.tink.signature
Describes the parameters of an ECDSA signature primitive.
EcdsaParameters.Builder - Class in com.google.crypto.tink.signature
Builds a new EcdsaParameters instance.
EcdsaParameters.CurveType - Class in com.google.crypto.tink.signature
The elliptic curve and its parameters.
EcdsaParameters.HashType - Class in com.google.crypto.tink.signature
The Hash algorithm used.
EcdsaParameters.SignatureEncoding - Class in com.google.crypto.tink.signature
The encoding used in the signature.
EcdsaParameters.Variant - Class in com.google.crypto.tink.signature
Describes details of the ECDSA signature computation.
EcdsaPrivateKey - Class in com.google.crypto.tink.signature
Represents a key for computing ECDSA signatures.
EcdsaPrivateKey.Builder - Class in com.google.crypto.tink.signature
Builder for EcdsaPrivateKey.
EcdsaProtoSerialization - Class in com.google.crypto.tink.signature.internal
Methods to serialize and parse EcdsaPrivateKey and EcdsaPublicKey objects and EcdsaParameters objects.
EcdsaPublicKey - Class in com.google.crypto.tink.signature
EcdsaPublicKey represents the public portion of ECDSA signature primitive.
EcdsaPublicKey.Builder - Class in com.google.crypto.tink.signature
Builder for EcdsaPublicKey.
EcdsaSignJce - Class in com.google.crypto.tink.signature.internal
ECDSA signing with JCE.
EcdsaSignJce - Class in com.google.crypto.tink.subtle
ECDSA signing with JCE.
EcdsaSignJce(ECPrivateKey, Enums.HashType, EllipticCurves.EcdsaEncoding) - Constructor for class com.google.crypto.tink.signature.internal.EcdsaSignJce
 
EcdsaSignJce(ECPrivateKey, Enums.HashType, EllipticCurves.EcdsaEncoding) - Constructor for class com.google.crypto.tink.subtle.EcdsaSignJce
 
EcdsaSignKeyManager - Class in com.google.crypto.tink.signature
This key manager generates new EcdsaPrivateKey keys and produces new instances of EcdsaSignJce.
EcdsaVerifyJce - Class in com.google.crypto.tink.signature.internal
ECDSA verifying with JCE.
EcdsaVerifyJce - Class in com.google.crypto.tink.subtle
ECDSA verifying with JCE.
EcdsaVerifyJce(ECPublicKey, Enums.HashType, EllipticCurves.EcdsaEncoding) - Constructor for class com.google.crypto.tink.signature.internal.EcdsaVerifyJce
 
EcdsaVerifyJce(ECPublicKey, Enums.HashType, EllipticCurves.EcdsaEncoding) - Constructor for class com.google.crypto.tink.subtle.EcdsaVerifyJce
 
ECIES_AEAD_HKDF_PRIVATE_KEY_TYPE_URL - Static variable in class com.google.crypto.tink.hybrid.HybridConfig
 
ECIES_AEAD_HKDF_PUBLIC_KEY_TYPE_URL - Static variable in class com.google.crypto.tink.hybrid.HybridConfig
 
ECIES_P256_HKDF_HMAC_SHA256_AES128_CTR_HMAC_SHA256 - Static variable in class com.google.crypto.tink.hybrid.HybridKeyTemplates
A KeyTemplate that generates new instances of EciesAeadHkdfPrivateKey with the following parameters: KEM: ECDH over NIST P-256 DEM: AES128-CTR-HMAC-SHA256 with the following parameters AES key size: 16 bytes AES CTR IV size: 16 bytes HMAC key size: 32 bytes HMAC tag size: 16 bytes KDF: HKDF-HMAC-SHA256 with an empty salt
ECIES_P256_HKDF_HMAC_SHA256_AES128_CTR_HMAC_SHA256 - Static variable in class com.google.crypto.tink.hybrid.PredefinedHybridParameters
A KeyTemplate that generates new instances of EciesAeadHkdfPrivateKey with the following parameters: KEM: ECDH over NIST P-256 DEM: AES128-CTR-HMAC-SHA256 with the following parameters AES key size: 16 bytes AES CTR IV size: 16 bytes HMAC key size: 32 bytes HMAC tag size: 16 bytes KDF: HKDF-HMAC-SHA256 with an empty salt
ECIES_P256_HKDF_HMAC_SHA256_AES128_GCM - Static variable in class com.google.crypto.tink.hybrid.HybridKeyTemplates
A KeyTemplate that generates new instances of EciesAeadHkdfPrivateKey with the following parameters: KEM: ECDH over NIST P-256 DEM: AES128-GCM KDF: HKDF-HMAC-SHA256 with an empty salt
ECIES_P256_HKDF_HMAC_SHA256_AES128_GCM - Static variable in class com.google.crypto.tink.hybrid.PredefinedHybridParameters
A KeyTemplate that generates new instances of EciesAeadHkdfPrivateKey with the following parameters: KEM: ECDH over NIST P-256 DEM: AES128-GCM KDF: HKDF-HMAC-SHA256 with an empty salt
ECIES_P256_HKDF_HMAC_SHA256_AES128_GCM_COMPRESSED_WITHOUT_PREFIX - Static variable in class com.google.crypto.tink.hybrid.HybridKeyTemplates
A KeyTemplate that generates new instances of EciesAeadHkdfPrivateKey with the following parameters: KEM: ECDH over NIST P-256 DEM: AES128-GCM KDF: HKDF-HMAC-SHA256 with an empty salt EC Point Format: Compressed OutputPrefixType: RAW
ECIES_P256_HKDF_HMAC_SHA256_AES128_GCM_COMPRESSED_WITHOUT_PREFIX - Static variable in class com.google.crypto.tink.hybrid.PredefinedHybridParameters
A KeyTemplate that generates new instances of EciesAeadHkdfPrivateKey with the following parameters: KEM: ECDH over NIST P-256 DEM: AES128-GCM KDF: HKDF-HMAC-SHA256 with an empty salt EC Point Format: Compressed OutputPrefixType: RAW
EciesAeadHkdfHybridDecrypt - Class in com.google.crypto.tink.subtle
ECIES encryption with HKDF-KEM (key encapsulation mechanism) and AEAD-DEM (data encapsulation mechanism).
EciesAeadHkdfHybridEncrypt - Class in com.google.crypto.tink.subtle
ECIES encryption with HKDF-KEM (key encapsulation mechanism) and AEAD-DEM (data encapsulation mechanism).
EciesAeadHkdfPrivateKeyManager - Class in com.google.crypto.tink.hybrid
This key manager generates new EciesAeadHkdfPrivateKey keys and produces new instances of EciesAeadHkdfHybridDecrypt.
EciesDemHelper - Class in com.google.crypto.tink.hybrid.internal
Helper functions for ECIES Data Encryption Mechanism (DEM).
EciesDemHelper.Dem - Interface in com.google.crypto.tink.hybrid.internal
Interface for a DEM.
EciesHkdfRecipientKem - Class in com.google.crypto.tink.subtle
HKDF-based KEM (key encapsulation mechanism) for ECIES recipient.
EciesHkdfRecipientKem(ECPrivateKey) - Constructor for class com.google.crypto.tink.subtle.EciesHkdfRecipientKem
 
EciesHkdfSenderKem - Class in com.google.crypto.tink.subtle
HKDF-based ECIES-KEM (key encapsulation mechanism) for ECIES sender.
EciesHkdfSenderKem(ECPublicKey) - Constructor for class com.google.crypto.tink.subtle.EciesHkdfSenderKem
 
EciesHkdfSenderKem.KemKey - Class in com.google.crypto.tink.subtle
A container for key parts generated by the KEM.
eciesP256HkdfHmacSha256Aes128CtrHmacSha256Template() - Static method in class com.google.crypto.tink.hybrid.EciesAeadHkdfPrivateKeyManager
 
eciesP256HkdfHmacSha256Aes128GcmTemplate() - Static method in class com.google.crypto.tink.hybrid.EciesAeadHkdfPrivateKeyManager
 
EciesParameters - Class in com.google.crypto.tink.hybrid
Parameters for an ECIES primitive with HKDF and AEAD encryption.
EciesParameters.Builder - Class in com.google.crypto.tink.hybrid
Builds a new EciesParameters instance.
EciesParameters.CurveType - Class in com.google.crypto.tink.hybrid
The elliptic curve type used for the KEM.
EciesParameters.HashType - Class in com.google.crypto.tink.hybrid
The Hash algorithm used for the KEM.
EciesParameters.PointFormat - Class in com.google.crypto.tink.hybrid
The Elliptic Curve Point Format.
EciesParameters.Variant - Class in com.google.crypto.tink.hybrid
Description of the output prefix prepended to the ciphertext.
EciesPrivateKey - Class in com.google.crypto.tink.hybrid
Representation of the decryption function for an ECIES hybrid encryption primitive.
EciesProtoSerialization - Class in com.google.crypto.tink.hybrid.internal
Methods to serialize and parse EciesParameters objects.
EciesPublicKey - Class in com.google.crypto.tink.hybrid
Represents the encryption function for an ECIES hybrid encryption primitive.
ecPointDecode(EllipticCurve, EllipticCurves.PointFormatType, byte[]) - Static method in class com.google.crypto.tink.subtle.EllipticCurves
Decodes an encoded point on an elliptic curve.
Ed25519 - Class in com.google.crypto.tink.internal
This implementation is based on the ed25519/ref10 implementation in NaCl.
ED25519 - Static variable in class com.google.crypto.tink.signature.PredefinedSignatureParameters
A Parameters that generates new instances of Ed25519PrivateKey objects.
ED25519 - Static variable in class com.google.crypto.tink.signature.SignatureKeyTemplates
A KeyTemplate that generates new instances of Ed25519PrivateKey.
ED25519_PRIVATE_KEY_TYPE_URL - Static variable in class com.google.crypto.tink.signature.SignatureConfig
 
ED25519_PUBLIC_KEY_TYPE_URL - Static variable in class com.google.crypto.tink.signature.SignatureConfig
 
Ed25519Parameters - Class in com.google.crypto.tink.signature
This class describes the parameters of an Ed25519Key.
Ed25519Parameters.Variant - Class in com.google.crypto.tink.signature
An enum-like class with constant instances, which explains how the prefix is computed.
Ed25519PrivateKey - Class in com.google.crypto.tink.signature
The key for computing Ed25519 signatures.
Ed25519PrivateKeyManager - Class in com.google.crypto.tink.signature
This instance of KeyManager generates new Ed25519PrivateKey keys and produces new instances of Ed25519Sign.
Ed25519ProtoSerialization - Class in com.google.crypto.tink.signature.internal
Methods to serialize and parse Ed25519PrivateKey and Ed25519PublicKey objects and Ed25519Parameters objects.
Ed25519PublicKey - Class in com.google.crypto.tink.signature
Ed25519PublicKey represents the public portion of the Ed25519 signature primitive.
Ed25519Sign - Class in com.google.crypto.tink.subtle
Ed25519 signing.
Ed25519Sign(byte[]) - Constructor for class com.google.crypto.tink.subtle.Ed25519Sign
Constructs a Ed25519Sign with the privateKey.
Ed25519Sign.KeyPair - Class in com.google.crypto.tink.subtle
Defines the KeyPair consisting of a private key and its corresponding public key.
Ed25519SignJce - Class in com.google.crypto.tink.signature.internal
Ed25519 signing using the JCE.
Ed25519SignJce(byte[]) - Constructor for class com.google.crypto.tink.signature.internal.Ed25519SignJce
Constructs a Ed25519SignJce with the privateKey.
ed25519Template() - Static method in class com.google.crypto.tink.signature.Ed25519PrivateKeyManager
 
Ed25519Verify - Class in com.google.crypto.tink.subtle
Ed25519 verifying.
Ed25519Verify(byte[]) - Constructor for class com.google.crypto.tink.subtle.Ed25519Verify
 
Ed25519VerifyJce - Class in com.google.crypto.tink.signature.internal
Ed25519 verifying using the JCE.
ED25519WithRawOutput - Static variable in class com.google.crypto.tink.signature.PredefinedSignatureParameters
A Parameters that generates new instances of ED25519PrivateKey.
ED25519WithRawOutput - Static variable in class com.google.crypto.tink.signature.SignatureKeyTemplates
A KeyTemplate that generates new instances of com.google.crypto.tink.proto.ED25519PrivateKey.
EllipticCurves - Class in com.google.crypto.tink.subtle
Utility functions and enums for elliptic curve crypto, used in ECDSA and ECDH.
EllipticCurves.CurveType - Enum in com.google.crypto.tink.subtle
Elliptic curve types.
EllipticCurves.EcdsaEncoding - Enum in com.google.crypto.tink.subtle
Ecdsa signature encoding.
EllipticCurves.PointFormatType - Enum in com.google.crypto.tink.subtle
Point format types UNCOMPRESSED and COMPRESSED are defined in https://www.secg.org/sec1-v2.pdf, Sections 2.3.3 and 2.3.4.
EllipticCurvesUtil - Class in com.google.crypto.tink.internal
Utility functions for elliptic curve crypto, used in ECDSA and ECDH.
EMPTY - Static variable in class com.google.crypto.tink.internal.MonitoringAnnotations
 
EMPTY_PREFIX - Static variable in class com.google.crypto.tink.internal.OutputPrefixUtil
 
EMPTY_SALT - Static variable in class com.google.crypto.tink.hybrid.internal.HpkeUtil
 
enable(int) - Method in class com.google.crypto.tink.integration.android.AndroidKeysetManager
Enables the key with keyId.
enable(int) - Method in class com.google.crypto.tink.KeysetManager
Enables the key with keyId.
ENABLED - com.google.crypto.tink.tinkkey.KeyHandle.KeyStatusType
 
ENABLED - Static variable in class com.google.crypto.tink.KeyStatus
 
encapsulate(byte[]) - Method in interface com.google.crypto.tink.hybrid.internal.HpkeKem
Generates and encapsulates a shared secret using the recipientPublicKey.
encode(byte[]) - Static method in class com.google.crypto.tink.subtle.Base64
Base64 encodes a byte array to a string.
encode(byte[]) - Static method in class com.google.crypto.tink.subtle.Hex
Encodes a byte array to hex.
encode(byte[], int) - Static method in class com.google.crypto.tink.subtle.Base64
Base64-encode the given data and return a newly allocated byte[] with the result.
encode(byte[], int, int, int) - Static method in class com.google.crypto.tink.subtle.Base64
Base64-encode the given data and return a newly allocated byte[] with the result.
encodeToString(byte[], int) - Static method in class com.google.crypto.tink.subtle.Base64
Base64-encode the given data and return a newly allocated String with the result.
encodeToString(byte[], int, int, int) - Static method in class com.google.crypto.tink.subtle.Base64
Base64-encode the given data and return a newly allocated String with the result.
encodingSizeInBytes(HpkeParameters.KemId) - Static method in class com.google.crypto.tink.hybrid.internal.HpkeUtil
Returns the encapsulated key length (in bytes) for the specified kemId.
encodingSizeInBytes(EllipticCurve, EllipticCurves.PointFormatType) - Static method in class com.google.crypto.tink.subtle.EllipticCurves
Returns the encoding size of a point on an elliptic curve.
encrypt(byte[]) - Method in class com.google.crypto.tink.subtle.AesCtrJceCipher
Encrypts the plaintext with counter mode encryption using randomly generated iv.
encrypt(byte[]) - Method in interface com.google.crypto.tink.subtle.IndCpaCipher
Encrypts plaintext.
encrypt(byte[], byte[]) - Method in interface com.google.crypto.tink.Aead
Encrypts plaintext with associatedData as associated authenticated data.
encrypt(byte[], byte[]) - Method in class com.google.crypto.tink.aead.internal.AesGcmSiv
On Android KitKat (API level 19) this method does not support non null or non empty associatedData.
encrypt(byte[], byte[]) - Method in class com.google.crypto.tink.aead.internal.ChaCha20Poly1305Jce
 
encrypt(byte[], byte[]) - Method in class com.google.crypto.tink.aead.internal.LegacyFullAead
 
encrypt(byte[], byte[]) - Method in class com.google.crypto.tink.aead.internal.XAesGcm
 
encrypt(byte[], byte[]) - Method in class com.google.crypto.tink.aead.internal.XChaCha20Poly1305Jce
 
encrypt(byte[], byte[]) - Method in class com.google.crypto.tink.aead.KmsEnvelopeAead
 
encrypt(byte[], byte[]) - Method in class com.google.crypto.tink.aead.subtle.AesGcmSiv
On Android KitKat (API level 19) this method does not support non null or non empty associatedData.
encrypt(byte[], byte[]) - Method in class com.google.crypto.tink.hybrid.internal.HpkeEncrypt
 
encrypt(byte[], byte[]) - Method in class com.google.crypto.tink.hybrid.internal.LegacyFullHybridEncrypt
 
encrypt(byte[], byte[]) - Method in class com.google.crypto.tink.hybrid.subtle.RsaKemHybridEncrypt
 
encrypt(byte[], byte[]) - Method in interface com.google.crypto.tink.HybridEncrypt
Encryption operation: encrypts plaintext binding contextInfo to the resulting ciphertext.
encrypt(byte[], byte[]) - Method in class com.google.crypto.tink.integration.android.AndroidKeystoreAesGcm
 
encrypt(byte[], byte[]) - Method in class com.google.crypto.tink.subtle.AesEaxJce
 
encrypt(byte[], byte[]) - Method in class com.google.crypto.tink.subtle.AesGcmJce
On Android KitKat (API level 19) this method does not support non null or non empty associatedData.
encrypt(byte[], byte[]) - Method in class com.google.crypto.tink.subtle.ChaCha20Poly1305
 
encrypt(byte[], byte[]) - Method in class com.google.crypto.tink.subtle.EciesAeadHkdfHybridEncrypt
Encrypts plaintext using contextInfo as info-parameter of the underlying HKDF.
encrypt(byte[], byte[]) - Method in class com.google.crypto.tink.subtle.EncryptThenAuthenticate
Encrypts plaintext with associatedData.
encrypt(byte[], byte[]) - Method in class com.google.crypto.tink.subtle.XChaCha20Poly1305
 
encrypt(byte[], byte[], byte[]) - Method in class com.google.crypto.tink.aead.internal.InsecureNonceAesGcmJce
Encrypts plaintext with iv and associatedData.
encrypt(byte[], byte[], byte[]) - Method in class com.google.crypto.tink.aead.internal.InsecureNonceChaCha20Poly1305Jce
Encrypts plaintext with nonce and associatedData.
encrypt(byte[], byte[], byte[], byte[]) - Method in interface com.google.crypto.tink.hybrid.internal.EciesDemHelper.Dem
 
encrypt(byte[], byte[], int, byte[]) - Method in class com.google.crypto.tink.aead.internal.InsecureNonceAesGcmJce
Encrypts plaintext with iv and associatedData.
encrypt(byte[], byte[], int, byte[]) - Method in class com.google.crypto.tink.aead.internal.InsecureNonceChaCha20Poly1305Jce
Encrypts plaintext with nonce and associatedData.
encryptAuthenticatedWithEncapsulatedKeyAndP256SharedSecret(ECPoint, byte[], byte[], byte[], byte[]) - Method in class com.google.crypto.tink.hybrid.internal.AuthHpkeHelperForAndroidKeystore
Encrypts a message.
encryptDeterministically(byte[], byte[]) - Method in class com.google.crypto.tink.daead.internal.LegacyFullDeterministicAead
 
encryptDeterministically(byte[], byte[]) - Method in interface com.google.crypto.tink.DeterministicAead
Deterministically encrypts plaintext with associatedData as associated authenticated data.
encryptDeterministically(byte[], byte[]) - Method in class com.google.crypto.tink.subtle.AesSiv
 
encryptSegment(ByteBuffer, boolean, ByteBuffer) - Method in interface com.google.crypto.tink.subtle.StreamSegmentEncrypter
Encrypts the next plaintext segment.
encryptSegment(ByteBuffer, ByteBuffer, boolean, ByteBuffer) - Method in interface com.google.crypto.tink.subtle.StreamSegmentEncrypter
Encrypt a segment consisting of two parts.
EncryptThenAuthenticate - Class in com.google.crypto.tink.subtle
This primitive performs an encrypt-then-Mac operation on plaintext and associated data (ad).
EncryptThenAuthenticate(IndCpaCipher, Mac, int) - Constructor for class com.google.crypto.tink.subtle.EncryptThenAuthenticate
 
EngineFactory<T_WRAPPER extends EngineWrapper<JcePrimitiveT>,​JcePrimitiveT> - Class in com.google.crypto.tink.subtle
A factory that returns JCE engines, using pre-specified j.security.Providers.
EngineFactory(T_WRAPPER) - Constructor for class com.google.crypto.tink.subtle.EngineFactory
 
EngineWrapper<T> - Interface in com.google.crypto.tink.subtle
Interface and its implentations to make JCE Engines have a common parent.
EngineWrapper.TCipher - Class in com.google.crypto.tink.subtle
Cipher wrapper.
EngineWrapper.TKeyAgreement - Class in com.google.crypto.tink.subtle
KeyAgreement wrapper.
EngineWrapper.TKeyFactory - Class in com.google.crypto.tink.subtle
KeyFactory wrapper.
EngineWrapper.TKeyPairGenerator - Class in com.google.crypto.tink.subtle
KeyPairGenerator wrapper.
EngineWrapper.TMac - Class in com.google.crypto.tink.subtle
Mac wrapper.
EngineWrapper.TMessageDigest - Class in com.google.crypto.tink.subtle
MessageDigest wrapper.
EngineWrapper.TSignature - Class in com.google.crypto.tink.subtle
Signature wrapper.
Enums - Class in com.google.crypto.tink.subtle
Enums used by classes in subtle.
Enums.HashType - Enum in com.google.crypto.tink.subtle
Hash type.
EnumTypeProtoConverter<E extends java.lang.Enum<E>,​O> - Class in com.google.crypto.tink.internal
Utility class for bidirectional conversion to and from proto enum types.
EnumTypeProtoConverter.Builder<E extends java.lang.Enum<E>,​O> - Class in com.google.crypto.tink.internal
Builds instances of EnumTypeProtoConverter.
equal(byte[], byte[]) - Static method in class com.google.crypto.tink.subtle.Bytes
Best effort fix-timing array comparison.
equals(Object) - Method in class com.google.crypto.tink.aead.AesCtrHmacAeadParameters
 
equals(Object) - Method in class com.google.crypto.tink.aead.AesEaxParameters
 
equals(Object) - Method in class com.google.crypto.tink.aead.AesGcmParameters
 
equals(Object) - Method in class com.google.crypto.tink.aead.AesGcmSivParameters
 
equals(Object) - Method in class com.google.crypto.tink.aead.ChaCha20Poly1305Parameters
 
equals(Object) - Method in class com.google.crypto.tink.aead.LegacyKmsAeadParameters
 
equals(Object) - Method in class com.google.crypto.tink.aead.LegacyKmsEnvelopeAeadParameters
 
equals(Object) - Method in class com.google.crypto.tink.aead.XAesGcmParameters
 
equals(Object) - Method in class com.google.crypto.tink.aead.XChaCha20Poly1305Parameters
 
equals(Object) - Method in class com.google.crypto.tink.daead.AesSivParameters
 
equals(Object) - Method in class com.google.crypto.tink.hybrid.EciesParameters
 
equals(Object) - Method in class com.google.crypto.tink.hybrid.HpkeParameters
 
equals(Object) - Method in class com.google.crypto.tink.internal.LegacyProtoParameters
 
equals(Object) - Method in class com.google.crypto.tink.internal.MonitoringAnnotations
 
equals(Object) - Method in class com.google.crypto.tink.jwt.JwtEcdsaParameters
 
equals(Object) - Method in class com.google.crypto.tink.jwt.JwtHmacParameters
 
equals(Object) - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1Parameters
 
equals(Object) - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPssParameters
 
equals(Object) - Method in class com.google.crypto.tink.keyderivation.PrfBasedKeyDerivationParameters
 
equals(Object) - Method in class com.google.crypto.tink.mac.AesCmacParameters
 
equals(Object) - Method in class com.google.crypto.tink.mac.HmacParameters
 
equals(Object) - Method in class com.google.crypto.tink.prf.AesCmacPrfParameters
 
equals(Object) - Method in class com.google.crypto.tink.prf.HkdfPrfParameters
 
equals(Object) - Method in class com.google.crypto.tink.prf.HmacPrfParameters
 
equals(Object) - Method in class com.google.crypto.tink.signature.EcdsaParameters
 
equals(Object) - Method in class com.google.crypto.tink.signature.Ed25519Parameters
 
equals(Object) - Method in class com.google.crypto.tink.signature.MlDsaParameters
 
equals(Object) - Method in class com.google.crypto.tink.signature.RsaSsaPkcs1Parameters
 
equals(Object) - Method in class com.google.crypto.tink.signature.RsaSsaPssParameters
 
equals(Object) - Method in class com.google.crypto.tink.streamingaead.AesCtrHmacStreamingParameters
 
equals(Object) - Method in class com.google.crypto.tink.streamingaead.AesGcmHkdfStreamingParameters
 
equals(Object) - Method in class com.google.crypto.tink.util.Bytes
 
equalsKey(Key) - Method in class com.google.crypto.tink.aead.AesCtrHmacAeadKey
 
equalsKey(Key) - Method in class com.google.crypto.tink.aead.AesEaxKey
 
equalsKey(Key) - Method in class com.google.crypto.tink.aead.AesGcmKey
 
equalsKey(Key) - Method in class com.google.crypto.tink.aead.AesGcmSivKey
 
equalsKey(Key) - Method in class com.google.crypto.tink.aead.ChaCha20Poly1305Key
 
equalsKey(Key) - Method in class com.google.crypto.tink.aead.LegacyKmsAeadKey
 
equalsKey(Key) - Method in class com.google.crypto.tink.aead.LegacyKmsEnvelopeAeadKey
 
equalsKey(Key) - Method in class com.google.crypto.tink.aead.XAesGcmKey
 
equalsKey(Key) - Method in class com.google.crypto.tink.aead.XChaCha20Poly1305Key
 
equalsKey(Key) - Method in class com.google.crypto.tink.daead.AesSivKey
 
equalsKey(Key) - Method in class com.google.crypto.tink.hybrid.EciesPrivateKey
 
equalsKey(Key) - Method in class com.google.crypto.tink.hybrid.EciesPublicKey
 
equalsKey(Key) - Method in class com.google.crypto.tink.hybrid.HpkePrivateKey
 
equalsKey(Key) - Method in class com.google.crypto.tink.hybrid.HpkePublicKey
 
equalsKey(Key) - Method in class com.google.crypto.tink.internal.LegacyProtoKey
Returns true if we are sure that the other key is the same.
equalsKey(Key) - Method in class com.google.crypto.tink.jwt.JwtEcdsaPrivateKey
 
equalsKey(Key) - Method in class com.google.crypto.tink.jwt.JwtEcdsaPublicKey
 
equalsKey(Key) - Method in class com.google.crypto.tink.jwt.JwtHmacKey
 
equalsKey(Key) - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1PrivateKey
 
equalsKey(Key) - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1PublicKey
 
equalsKey(Key) - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPssPrivateKey
 
equalsKey(Key) - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPssPublicKey
 
equalsKey(Key) - Method in class com.google.crypto.tink.Key
Returns true if the key is guaranteed to be equal to other.
equalsKey(Key) - Method in class com.google.crypto.tink.keyderivation.PrfBasedKeyDerivationKey
 
equalsKey(Key) - Method in class com.google.crypto.tink.mac.AesCmacKey
 
equalsKey(Key) - Method in class com.google.crypto.tink.mac.HmacKey
 
equalsKey(Key) - Method in class com.google.crypto.tink.prf.AesCmacPrfKey
 
equalsKey(Key) - Method in class com.google.crypto.tink.prf.HkdfPrfKey
 
equalsKey(Key) - Method in class com.google.crypto.tink.prf.HmacPrfKey
 
equalsKey(Key) - Method in class com.google.crypto.tink.signature.EcdsaPrivateKey
 
equalsKey(Key) - Method in class com.google.crypto.tink.signature.EcdsaPublicKey
 
equalsKey(Key) - Method in class com.google.crypto.tink.signature.Ed25519PrivateKey
 
equalsKey(Key) - Method in class com.google.crypto.tink.signature.Ed25519PublicKey
 
equalsKey(Key) - Method in class com.google.crypto.tink.signature.RsaSsaPkcs1PrivateKey
 
equalsKey(Key) - Method in class com.google.crypto.tink.signature.RsaSsaPkcs1PublicKey
 
equalsKey(Key) - Method in class com.google.crypto.tink.signature.RsaSsaPssPrivateKey
 
equalsKey(Key) - Method in class com.google.crypto.tink.signature.RsaSsaPssPublicKey
 
equalsKey(Key) - Method in class com.google.crypto.tink.streamingaead.AesCtrHmacStreamingKey
 
equalsKey(Key) - Method in class com.google.crypto.tink.streamingaead.AesGcmHkdfStreamingKey
 
equalsKeyset(KeysetHandle) - Method in class com.google.crypto.tink.KeysetHandle
Returns true if this keyset is equal to other, ignoring monitoring annotations.
equalsSecretBigInteger(SecretBigInteger) - Method in class com.google.crypto.tink.util.SecretBigInteger
Returns true if other has the same secret value.
equalsSecretBytes(SecretBytes) - Method in class com.google.crypto.tink.util.SecretBytes
Returns true if the other byte array has the same bytes, in time depending only on the length of both SecretBytes objects.
ES256 - Static variable in class com.google.crypto.tink.jwt.JwtEcdsaParameters.Algorithm
ECDSA using P-256 and SHA-256
ES384 - Static variable in class com.google.crypto.tink.jwt.JwtEcdsaParameters.Algorithm
ECDSA using P-384 and SHA-384
ES512 - Static variable in class com.google.crypto.tink.jwt.JwtEcdsaParameters.Algorithm
ECDSA using P-521 and SHA-512
exceptionIsBug(TinkBugException.ThrowingRunnable) - Static method in exception com.google.crypto.tink.internal.TinkBugException
Swallows an exception and translates it into a TinkBugException.
exceptionIsBug(TinkBugException.ThrowingSupplier<T>) - Static method in exception com.google.crypto.tink.internal.TinkBugException
Swallows an exception and translates it into a TinkBugException.
expectAudience(String) - Method in class com.google.crypto.tink.jwt.JwtValidator.Builder
Sets the expected audience.
expectedCiphertextSize(long) - Method in class com.google.crypto.tink.subtle.AesCtrHmacStreaming
Returns the expected size of the ciphertext for a given plaintext.
expectedCiphertextSize(long) - Method in class com.google.crypto.tink.subtle.AesGcmHkdfStreaming
Returns the expected size of the ciphertext for a given plaintext.
expectIssuedInThePast() - Method in class com.google.crypto.tink.jwt.JwtValidator.Builder
Checks that the iat claim is in the past.
expectIssuer(String) - Method in class com.google.crypto.tink.jwt.JwtValidator.Builder
Sets the expected issuer claim of the token.
expectTypeHeader(String) - Method in class com.google.crypto.tink.jwt.JwtValidator.Builder
Sets the expected type header of the token.
extractAndExpand(byte[], byte[], String, byte[], String, byte[], int) - Method in interface com.google.crypto.tink.hybrid.internal.HpkeKdf

F

F4 - Static variable in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1Parameters
 
F4 - Static variable in class com.google.crypto.tink.jwt.JwtRsaSsaPssParameters
 
F4 - Static variable in class com.google.crypto.tink.signature.RsaSsaPkcs1Parameters
 
F4 - Static variable in class com.google.crypto.tink.signature.RsaSsaPssParameters
 
FIELD_LEN - Static variable in class com.google.crypto.tink.internal.Field25519
During Field25519 computation, the mixed radix representation may be in different forms: Reduced-size form: the array has size at most 10.
Field25519 - Class in com.google.crypto.tink.internal
Defines field 25519 function based on curve25519-donna C implementation (mostly identical).
fieldSizeInBits(EllipticCurve) - Static method in class com.google.crypto.tink.subtle.EllipticCurves
Returns the size of an element of the field over which the curve is defined.
fieldSizeInBytes(EllipticCurve) - Static method in class com.google.crypto.tink.subtle.EllipticCurves
Returns the size of an element of the field over which the curve is defined.
FIPS - Static variable in class com.google.crypto.tink.aead.internal.InsecureNonceAesGcmJce
 
FIPS - Static variable in class com.google.crypto.tink.prf.internal.PrfAesCmac
 
FIPS - Static variable in class com.google.crypto.tink.signature.internal.EcdsaSignJce
 
FIPS - Static variable in class com.google.crypto.tink.signature.internal.EcdsaVerifyJce
 
FIPS - Static variable in class com.google.crypto.tink.signature.internal.Ed25519SignJce
 
FIPS - Static variable in class com.google.crypto.tink.signature.internal.Ed25519VerifyJce
 
FIPS - Static variable in class com.google.crypto.tink.signature.internal.RsaSsaPkcs1SignJce
 
FIPS - Static variable in class com.google.crypto.tink.signature.internal.RsaSsaPkcs1VerifyConscrypt
 
FIPS - Static variable in class com.google.crypto.tink.signature.internal.RsaSsaPssSignConscrypt
 
FIPS - Static variable in class com.google.crypto.tink.signature.internal.RsaSsaPssVerifyConscrypt
 
FIPS - Static variable in class com.google.crypto.tink.subtle.AesCtrHmacStreaming
 
FIPS - Static variable in class com.google.crypto.tink.subtle.AesCtrJceCipher
 
FIPS - Static variable in class com.google.crypto.tink.subtle.AesEaxJce
 
FIPS - Static variable in class com.google.crypto.tink.subtle.AesGcmJce
 
FIPS - Static variable in class com.google.crypto.tink.subtle.AesSiv
 
FIPS - Static variable in class com.google.crypto.tink.subtle.EcdsaVerifyJce
 
FIPS - Static variable in class com.google.crypto.tink.subtle.Ed25519Sign
 
FIPS - Static variable in class com.google.crypto.tink.subtle.Ed25519Verify
 
FIPS - Static variable in class com.google.crypto.tink.subtle.PrfHmacJce
 
FIPS - Static variable in class com.google.crypto.tink.subtle.RsaSsaPkcs1SignJce
 
FIPS - Static variable in class com.google.crypto.tink.subtle.RsaSsaPkcs1VerifyJce
 
FIPS - Static variable in class com.google.crypto.tink.subtle.RsaSsaPssSignJce
 
FIPS - Static variable in class com.google.crypto.tink.subtle.RsaSsaPssVerifyJce
 
fipsModuleAvailable() - Static method in class com.google.crypto.tink.config.internal.TinkFipsUtil
 
fipsStatus() - Method in class com.google.crypto.tink.jwt.JwtHmacKeyManager
 
fromBigInteger(BigInteger, SecretKeyAccess) - Static method in class com.google.crypto.tink.util.SecretBigInteger
Creates a new SecretBigInteger with the content given in value.
fromKeyset(Keyset) - Static method in class com.google.crypto.tink.CleartextKeysetHandle
Deprecated.
Instead, use a KeysetHandle.Builder.
fromKeysetHandle(KeysetHandle, KeyAccess) - Static method in class com.google.crypto.tink.jwt.JwkSetConverter
Deprecated.
Use JwkSetConverter.fromPublicKeysetHandle(handle) instead.
fromParameterSpec(ECParameterSpec) - Static method in class com.google.crypto.tink.signature.EcdsaParameters.CurveType
 
fromProto(KeyStatusType) - Static method in class com.google.crypto.tink.internal.KeyStatusTypeProtoConverter
Converts a KeyHandle.KeyStatusType proto enum into a KeyHandle.KeyStatusType enum
fromProtoEnum(E) - Method in class com.google.crypto.tink.internal.EnumTypeProtoConverter
Converts protoEnum to the equivalent object enum.
fromPublicKeysetHandle(KeysetHandle) - Static method in class com.google.crypto.tink.jwt.JwkSetConverter
Converts a Tink KeysetHandle with JWT public keys into a Json Web Key (JWK) set.
fromUnsignedBigEndianBytes(byte[]) - Static method in class com.google.crypto.tink.internal.BigIntegerEncoding
Parses a BigInteger from a byte array using unsigned big-endian encoding.

G

generateEntryFromParameters(Parameters) - Static method in class com.google.crypto.tink.KeysetHandle
Creates a new entry with Status "ENABLED" and a new key created from the parameters.
generateEntryFromParametersName(String) - Static method in class com.google.crypto.tink.KeysetHandle
Creates a new entry with Status "ENABLED" and a new key created from the named parameters.
generateKey(byte[], String, byte[], byte[], int, EllipticCurves.PointFormatType) - Method in class com.google.crypto.tink.subtle.EciesHkdfRecipientKem
 
generateKey(String, byte[], byte[], int, EllipticCurves.PointFormatType) - Method in class com.google.crypto.tink.subtle.EciesHkdfSenderKem
 
generateKeyPair() - Method in interface com.google.crypto.tink.hybrid.internal.X25519
generateKeyPair.
generateKeyPair() - Method in class com.google.crypto.tink.hybrid.internal.X25519Conscrypt
 
generateKeyPair(EllipticCurves.CurveType) - Static method in class com.google.crypto.tink.subtle.EllipticCurves
Generates a new key pair for curve.
generateKeyPair(ECParameterSpec) - Static method in class com.google.crypto.tink.subtle.EllipticCurves
Generates a new key pair for spec.
generateNew(KeyTemplate) - Static method in class com.google.crypto.tink.KeysetHandle
Generates a new KeysetHandle that contains a single fresh key generated according to keyTemplate.
generateNew(KeyTemplate) - Static method in class com.google.crypto.tink.tinkkey.KeyHandle
Generates a new KeyHandle that contains a fresh key generated according to keyTemplate.
generateNew(Parameters) - Static method in class com.google.crypto.tink.KeysetHandle
Generates a new KeysetHandle that contains a single fresh key generated key with the given Parameters object.
generateNew(KeyTemplate) - Static method in class com.google.crypto.tink.KeysetHandle
Deprecated.
Use the overload taking a Parameters object instead.
generateNewAeadKey(String) - Static method in class com.google.crypto.tink.integration.android.AndroidKeystoreKmsClient
Generates a new key in Android Keystore.
generateNewAes256GcmKey(String) - Static method in class com.google.crypto.tink.integration.android.AndroidKeystore
Generates a new 256-bit AES-GCM key in Android Keystore, with the given alias.
generateNewKeyWithSpec(KeyGenParameterSpec) - Static method in class com.google.crypto.tink.integration.android.AndroidKeystore
Generates a new key in Android Keystore with the given KeyGenParameterSpec.
generatePrivateKey() - Static method in class com.google.crypto.tink.subtle.X25519
Returns a 32-byte private key for Curve25519.
get() - Method in interface com.google.crypto.tink.aead.internal.AesGcmSiv.ThrowingSupplier
 
get() - Static method in class com.google.crypto.tink.ConfigurationFips140v2
get returns a Configuration containing primitives that are FIPS 140-2 compiant.
get() - Static method in class com.google.crypto.tink.ConfigurationV0
 
get() - Static method in class com.google.crypto.tink.InsecureSecretKeyAccess
Returns a SecretKeyAccess token.
get() - Static method in class com.google.crypto.tink.internal.RegistryConfiguration
 
get() - Method in interface com.google.crypto.tink.internal.TinkBugException.ThrowingSupplier
 
get() - Static method in class com.google.crypto.tink.RegistryConfiguration
get returns a Configuration forwarding all calls to the global Registry.
get(String) - Method in class com.google.crypto.tink.internal.MutableParametersRegistry
 
get(String) - Static method in class com.google.crypto.tink.KeyTemplates
Returns a key template that was registered with the Registry as name.
get(String) - Static method in class com.google.crypto.tink.KmsClients
Returns the first KmsClient registered with KmsClients.add(com.google.crypto.tink.KmsClient) that supports keyUri.
getAead(String) - Static method in class com.google.crypto.tink.integration.android.AndroidKeystore
Returns an Aead backed by a key in Android Keystore specified by alias.
getAead(String) - Method in class com.google.crypto.tink.integration.android.AndroidKeystoreKmsClient
Returns an Aead backed by a key in Android Keystore specified by uri.
getAead(String) - Method in interface com.google.crypto.tink.KmsClient
Gets an Aead backed by keyUri.
getAeadId() - Method in class com.google.crypto.tink.hybrid.HpkeParameters
 
getAeadId() - Method in interface com.google.crypto.tink.hybrid.internal.HpkeAead
Returns the HPKE AEAD algorithm identifier for the underlying AEAD implementation.
getAesKey() - Method in class com.google.crypto.tink.mac.AesCmacKey
Returns the underlying AES key.
getAesKeyBytes() - Method in class com.google.crypto.tink.aead.AesCtrHmacAeadKey
Returns the underlying AES key bytes.
getAesKeySizeBytes() - Method in class com.google.crypto.tink.aead.AesCtrHmacAeadParameters
 
getAlgorithm() - Method in class com.google.crypto.tink.jwt.JwtEcdsaParameters
 
getAlgorithm() - Method in class com.google.crypto.tink.jwt.JwtHmacParameters
 
getAlgorithm() - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1Parameters
 
getAlgorithm() - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPssParameters
 
getAllWithMatchingPrefix(byte[]) - Method in class com.google.crypto.tink.internal.PrefixMap
Provides an iterable which goves over all values which were added with a prefix of the given text.
getAndroidApiLevel() - Static method in class com.google.crypto.tink.internal.Util
Returns the current Android API level as integer or null if we do not run on Android.
getAt(int) - Method in interface com.google.crypto.tink.internal.KeysetHandleInterface
 
getAt(int) - Method in class com.google.crypto.tink.KeysetHandle.Builder
Returns the entry at index i, 0 <= i < size().
getAt(int) - Method in class com.google.crypto.tink.KeysetHandle
Returns the entry at index i.
getAudiences() - Method in class com.google.crypto.tink.jwt.VerifiedJwt
Returns the aud claim identifying the principals that are the audience of the JWT.
getAutoLoaded(String) - Static method in class com.google.crypto.tink.KmsClients
Deprecated.
Don't use this.
getBigInteger(SecretKeyAccess) - Method in class com.google.crypto.tink.util.SecretBigInteger
Returns the value wrapped by this object.
getBooleanClaim(String) - Method in class com.google.crypto.tink.jwt.VerifiedJwt
Returns the non-registered claim of name name and type Boolean.
getCatalogue(String) - Static method in class com.google.crypto.tink.Registry
Deprecated.
Catalogues are no longer supported.
getCiphertextOffset() - Method in class com.google.crypto.tink.subtle.AesCtrHmacStreaming
 
getCiphertextOffset() - Method in class com.google.crypto.tink.subtle.AesGcmHkdfStreaming
 
getCiphertextOverhead() - Method in class com.google.crypto.tink.subtle.AesCtrHmacStreaming
 
getCiphertextOverhead() - Method in class com.google.crypto.tink.subtle.AesGcmHkdfStreaming
 
getCiphertextOverheadSizeBytes() - Method in class com.google.crypto.tink.aead.AesCtrHmacAeadParameters
Returns the size of the overhead added to the actual ciphertext (i.e.
getCiphertextSegmentSize() - Method in class com.google.crypto.tink.subtle.AesCtrHmacStreaming
 
getCiphertextSegmentSize() - Method in class com.google.crypto.tink.subtle.AesGcmHkdfStreaming
 
getCiphertextSegmentSizeBytes() - Method in class com.google.crypto.tink.streamingaead.AesCtrHmacStreamingParameters
Returns the size a ciphertext segment has.
getCiphertextSegmentSizeBytes() - Method in class com.google.crypto.tink.streamingaead.AesGcmHkdfStreamingParameters
Returns the size a ciphertext segment has.
getCrtCoefficient() - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1PrivateKey
Returns the CRT coefficient qInv.
getCrtCoefficient() - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPssPrivateKey
Returns the CRT coefficient qInv.
getCrtCoefficient() - Method in class com.google.crypto.tink.signature.RsaSsaPkcs1PrivateKey
Returns the CRT coefficient qInv.
getCrtCoefficient() - Method in class com.google.crypto.tink.signature.RsaSsaPssPrivateKey
Returns the CRT coefficient qInv.
getCryptographicTagSizeBytes() - Method in class com.google.crypto.tink.mac.AesCmacParameters
Returns the size of the tag which is computed cryptographically from the message.
getCryptographicTagSizeBytes() - Method in class com.google.crypto.tink.mac.HmacParameters
Returns the size of the tag which is computed cryptographically from the message.
getCurveSpec(EllipticCurves.CurveType) - Static method in class com.google.crypto.tink.subtle.EllipticCurves
Returns the ECParameterSpec for a named curve.
getCurveType() - Method in class com.google.crypto.tink.hybrid.EciesParameters
 
getCurveType() - Method in class com.google.crypto.tink.signature.EcdsaParameters
 
getDekParametersForNewKeys() - Method in class com.google.crypto.tink.aead.LegacyKmsEnvelopeAeadParameters
Parameters used when creating new keys.
getDekParsingStrategy() - Method in class com.google.crypto.tink.aead.LegacyKmsEnvelopeAeadParameters
Returns the type URL which is used when parsing encrypted keys.
getDem(EciesParameters) - Static method in class com.google.crypto.tink.hybrid.internal.EciesDemHelper
Returns a DEM based on the given parameters.
getDemParameters() - Method in class com.google.crypto.tink.hybrid.EciesParameters
 
getDerivedAesGcmKeySizeBytes() - Method in class com.google.crypto.tink.streamingaead.AesGcmHkdfStreamingParameters
Returns the size of the AES GCM key which will internally be derived.
getDerivedKeyParameters() - Method in class com.google.crypto.tink.keyderivation.KeyDerivationParameters
 
getDerivedKeyParameters() - Method in class com.google.crypto.tink.keyderivation.PrfBasedKeyDerivationParameters
The parameters of the keys which are in the result keyset when the user calls KeysetDeriver.deriveKeyset().
getDerivedKeySizeBytes() - Method in class com.google.crypto.tink.streamingaead.AesCtrHmacStreamingParameters
 
getEcPrivateKey(byte[]) - Static method in class com.google.crypto.tink.subtle.EllipticCurves
Returns an ECPrivateKey from pkcs8PrivateKey which is an encoding of a private key, encoded according to the ASN.1 type SubjectPublicKeyInfo.
getEcPrivateKey(EllipticCurves.CurveType, byte[]) - Static method in class com.google.crypto.tink.subtle.EllipticCurves
Returns an ECPrivateKey from curve type and keyValue.
getEcPublicKey(byte[]) - Static method in class com.google.crypto.tink.subtle.EllipticCurves
Returns an ECPublicKey from x509PublicKey which is an encoding of a public key, encoded according to the ASN.1 type SubjectPublicKeyInfo.
getEcPublicKey(EllipticCurves.CurveType, byte[], byte[]) - Static method in class com.google.crypto.tink.subtle.EllipticCurves
Returns an ECPublicKey from curve type and x and y coordinates.
getEcPublicKey(EllipticCurves.CurveType, EllipticCurves.PointFormatType, byte[]) - Static method in class com.google.crypto.tink.subtle.EllipticCurves
Returns an ECPublicKey from publicKey that is a public key in point format pointFormat on curve.
getEcPublicKey(ECParameterSpec, EllipticCurves.PointFormatType, byte[]) - Static method in class com.google.crypto.tink.subtle.EllipticCurves
Returns an ECPublicKey from publicKey that is a public key in point format pointFormat on curve.
getEncapsulatedKey() - Method in class com.google.crypto.tink.hybrid.internal.HpkeContext
 
getEncodedPrivateKeyLength(HpkeParameters.KemId) - Static method in class com.google.crypto.tink.hybrid.internal.HpkeUtil
Lengths from 'Nsk' column in https://www.rfc-editor.org/rfc/rfc9180.html#table-2.
getEncodedPublicKeyLength(HpkeParameters.KemId) - Static method in class com.google.crypto.tink.hybrid.internal.HpkeUtil
Lengths from 'Npk' column in https://www.rfc-editor.org/rfc/rfc9180.html#table-2.
getExpiration() - Method in class com.google.crypto.tink.jwt.VerifiedJwt
Returns the expiration time claim exp that identifies the instant on or after which the token MUST NOT be accepted for processing.
getFirstSegmentOffset() - Method in class com.google.crypto.tink.subtle.AesCtrHmacStreaming
 
getFirstSegmentOffset() - Method in class com.google.crypto.tink.subtle.AesGcmHkdfStreaming
 
getHashedScalar(byte[]) - Static method in class com.google.crypto.tink.internal.Ed25519
 
getHashType() - Method in class com.google.crypto.tink.aead.AesCtrHmacAeadParameters
Returns a hash type object.
getHashType() - Method in class com.google.crypto.tink.hybrid.EciesParameters
 
getHashType() - Method in class com.google.crypto.tink.mac.HmacParameters
Returns a hash type object.
getHashType() - Method in class com.google.crypto.tink.prf.HkdfPrfParameters
 
getHashType() - Method in class com.google.crypto.tink.prf.HmacPrfParameters
 
getHashType() - Method in class com.google.crypto.tink.signature.EcdsaParameters
 
getHashType() - Method in class com.google.crypto.tink.signature.RsaSsaPkcs1Parameters
 
getHeader() - Method in interface com.google.crypto.tink.subtle.StreamSegmentEncrypter
Returns the header of the ciphertext stream.
getHeaderLength() - Method in class com.google.crypto.tink.subtle.AesCtrHmacStreaming
 
getHeaderLength() - Method in class com.google.crypto.tink.subtle.AesGcmHkdfStreaming
 
getHkdfHashType() - Method in class com.google.crypto.tink.streamingaead.AesCtrHmacStreamingParameters
Returns the type of the hash function used in HKDF.
getHkdfHashType() - Method in class com.google.crypto.tink.streamingaead.AesGcmHkdfStreamingParameters
Returns the type of the hash function used in HKDF.
getHmacHashType() - Method in class com.google.crypto.tink.streamingaead.AesCtrHmacStreamingParameters
Returns the type of the hash function used in HMAC.
getHmacKeyBytes() - Method in class com.google.crypto.tink.aead.AesCtrHmacAeadKey
Returns the underlying HMAC key bytes.
getHmacKeySizeBytes() - Method in class com.google.crypto.tink.aead.AesCtrHmacAeadParameters
 
getHmacTagSizeBytes() - Method in class com.google.crypto.tink.streamingaead.AesCtrHmacStreamingParameters
Returns the number of bytes used in the HMAC tag.
getId() - Method in interface com.google.crypto.tink.internal.KeysetHandleInterface.Entry
 
getId() - Method in class com.google.crypto.tink.KeysetHandle.Entry
 
getId() - Method in class com.google.crypto.tink.tinkkey.KeyHandle
Returns the key ID of this key.
getIdRequirementOrNull() - Method in class com.google.crypto.tink.aead.AesCtrHmacAeadKey
 
getIdRequirementOrNull() - Method in class com.google.crypto.tink.aead.AesEaxKey
 
getIdRequirementOrNull() - Method in class com.google.crypto.tink.aead.AesGcmKey
 
getIdRequirementOrNull() - Method in class com.google.crypto.tink.aead.AesGcmSivKey
 
getIdRequirementOrNull() - Method in class com.google.crypto.tink.aead.ChaCha20Poly1305Key
 
getIdRequirementOrNull() - Method in class com.google.crypto.tink.aead.LegacyKmsAeadKey
 
getIdRequirementOrNull() - Method in class com.google.crypto.tink.aead.LegacyKmsEnvelopeAeadKey
 
getIdRequirementOrNull() - Method in class com.google.crypto.tink.aead.XAesGcmKey
 
getIdRequirementOrNull() - Method in class com.google.crypto.tink.aead.XChaCha20Poly1305Key
 
getIdRequirementOrNull() - Method in class com.google.crypto.tink.daead.AesSivKey
 
getIdRequirementOrNull() - Method in class com.google.crypto.tink.hybrid.EciesPublicKey
 
getIdRequirementOrNull() - Method in class com.google.crypto.tink.hybrid.HpkePublicKey
 
getIdRequirementOrNull() - Method in class com.google.crypto.tink.hybrid.HybridPrivateKey
 
getIdRequirementOrNull() - Method in class com.google.crypto.tink.internal.LegacyProtoKey
 
getIdRequirementOrNull() - Method in class com.google.crypto.tink.internal.ProtoKeySerialization
The id requirement of this key.
getIdRequirementOrNull() - Method in class com.google.crypto.tink.jwt.JwtEcdsaPublicKey
 
getIdRequirementOrNull() - Method in class com.google.crypto.tink.jwt.JwtHmacKey
 
getIdRequirementOrNull() - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1PublicKey
 
getIdRequirementOrNull() - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPssPublicKey
 
getIdRequirementOrNull() - Method in class com.google.crypto.tink.jwt.JwtSignaturePrivateKey
 
getIdRequirementOrNull() - Method in class com.google.crypto.tink.Key
Returns null if this key has no id requirement, otherwise the required id.
getIdRequirementOrNull() - Method in class com.google.crypto.tink.keyderivation.PrfBasedKeyDerivationKey
 
getIdRequirementOrNull() - Method in class com.google.crypto.tink.mac.AesCmacKey
 
getIdRequirementOrNull() - Method in class com.google.crypto.tink.mac.HmacKey
 
getIdRequirementOrNull() - Method in class com.google.crypto.tink.prf.AesCmacPrfKey
 
getIdRequirementOrNull() - Method in class com.google.crypto.tink.prf.HkdfPrfKey
 
getIdRequirementOrNull() - Method in class com.google.crypto.tink.prf.HmacPrfKey
 
getIdRequirementOrNull() - Method in class com.google.crypto.tink.signature.EcdsaPublicKey
 
getIdRequirementOrNull() - Method in class com.google.crypto.tink.signature.Ed25519PublicKey
 
getIdRequirementOrNull() - Method in class com.google.crypto.tink.signature.RsaSsaPkcs1PublicKey
 
getIdRequirementOrNull() - Method in class com.google.crypto.tink.signature.RsaSsaPssPublicKey
 
getIdRequirementOrNull() - Method in class com.google.crypto.tink.signature.SignaturePrivateKey
 
getIdRequirementOrNull() - Method in class com.google.crypto.tink.streamingaead.StreamingAeadKey
 
getInitialKeyMaterial() - Method in class com.google.crypto.tink.streamingaead.AesCtrHmacStreamingKey
 
getInitialKeyMaterial() - Method in class com.google.crypto.tink.streamingaead.AesGcmHkdfStreamingKey
 
getInputPrimitiveClass() - Method in class com.google.crypto.tink.aead.AeadWrapper
 
getInputPrimitiveClass() - Method in class com.google.crypto.tink.daead.DeterministicAeadWrapper
 
getInputPrimitiveClass() - Method in class com.google.crypto.tink.hybrid.HybridDecryptWrapper
 
getInputPrimitiveClass() - Method in class com.google.crypto.tink.hybrid.HybridEncryptWrapper
 
getInputPrimitiveClass() - Method in interface com.google.crypto.tink.internal.PrimitiveWrapper
Returns the primitive class object of the primitive used to create B.
getInputPrimitiveClass() - Method in class com.google.crypto.tink.keyderivation.internal.KeysetDeriverWrapper
 
getInputPrimitiveClass() - Method in class com.google.crypto.tink.mac.ChunkedMacWrapper
 
getInputPrimitiveClass() - Method in class com.google.crypto.tink.mac.MacWrapper
 
getInputPrimitiveClass() - Method in class com.google.crypto.tink.prf.PrfSetWrapper
 
getInputPrimitiveClass() - Method in class com.google.crypto.tink.signature.PublicKeySignWrapper
 
getInputPrimitiveClass() - Method in class com.google.crypto.tink.signature.PublicKeyVerifyWrapper
 
getInputPrimitiveClass() - Method in class com.google.crypto.tink.streamingaead.StreamingAeadWrapper
 
getInstance(String) - Method in class com.google.crypto.tink.subtle.EngineFactory
 
getInstance(String, Provider) - Method in interface com.google.crypto.tink.subtle.EngineWrapper
Should call T.getInstance(...).
getInstance(String, Provider) - Method in class com.google.crypto.tink.subtle.EngineWrapper.TCipher
 
getInstance(String, Provider) - Method in class com.google.crypto.tink.subtle.EngineWrapper.TKeyAgreement
 
getInstance(String, Provider) - Method in class com.google.crypto.tink.subtle.EngineWrapper.TKeyFactory
 
getInstance(String, Provider) - Method in class com.google.crypto.tink.subtle.EngineWrapper.TKeyPairGenerator
 
getInstance(String, Provider) - Method in class com.google.crypto.tink.subtle.EngineWrapper.TMac
 
getInstance(String, Provider) - Method in class com.google.crypto.tink.subtle.EngineWrapper.TMessageDigest
 
getInstance(String, Provider) - Method in class com.google.crypto.tink.subtle.EngineWrapper.TSignature
 
getIssuedAt() - Method in class com.google.crypto.tink.jwt.VerifiedJwt
Returns the issued at time claim iat that identifies the instant at which the JWT was issued.
getIssuer() - Method in class com.google.crypto.tink.jwt.VerifiedJwt
Returns the iss claim that identifies the principal that issued the JWT.
getIvSizeBytes() - Method in class com.google.crypto.tink.aead.AesCtrHmacAeadParameters
 
getIvSizeBytes() - Method in class com.google.crypto.tink.aead.AesEaxParameters
 
getIvSizeBytes() - Method in class com.google.crypto.tink.aead.AesGcmParameters
 
getJsonArrayClaim(String) - Method in class com.google.crypto.tink.jwt.VerifiedJwt
Returns the non-registered claim of name name and type JSON Array encoded in a string.
getJsonObjectClaim(String) - Method in class com.google.crypto.tink.jwt.VerifiedJwt
Returns the non-registered claim of name name and type JSON Object encoded in a string.
getJsonPayload() - Method in class com.google.crypto.tink.jwt.RawJwt
 
getJwtId() - Method in class com.google.crypto.tink.jwt.VerifiedJwt
Returns the jti claim that provides a unique identifier for the JWT.
getKdfId() - Method in class com.google.crypto.tink.hybrid.HpkeParameters
 
getKdfId() - Method in interface com.google.crypto.tink.hybrid.internal.HpkeKdf
Returns the HPKE KDF algorithm identifier for the underlying KDF implementation.
getKekUri() - Method in class com.google.crypto.tink.aead.LegacyKmsEnvelopeAeadParameters
Returns the URI with the key of the remote AEAD used.
getKemBytes() - Method in class com.google.crypto.tink.subtle.EciesHkdfSenderKem.KemKey
 
getKemId() - Method in class com.google.crypto.tink.hybrid.HpkeParameters
 
getKemId() - Method in interface com.google.crypto.tink.hybrid.internal.HpkeKem
Returns the HPKE KEM algorithm identifier for the underlying KEM implementation.
getKey() - Method in interface com.google.crypto.tink.internal.KeysetHandleInterface.Entry
 
getKey() - Method in class com.google.crypto.tink.KeysetHandle.Entry
May return an internal class LegacyProtoKey in case there is no implementation of the corresponding key class yet.
getKey(KeyAccess) - Method in class com.google.crypto.tink.tinkkey.KeyHandle
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.
getKeyBytes() - Method in class com.google.crypto.tink.aead.AesEaxKey
Returns the underlying key bytes.
getKeyBytes() - Method in class com.google.crypto.tink.aead.AesGcmKey
Returns the underlying key bytes.
getKeyBytes() - Method in class com.google.crypto.tink.aead.AesGcmSivKey
Returns the underlying key bytes.
getKeyBytes() - Method in class com.google.crypto.tink.aead.ChaCha20Poly1305Key
 
getKeyBytes() - Method in class com.google.crypto.tink.aead.XAesGcmKey
 
getKeyBytes() - Method in class com.google.crypto.tink.aead.XChaCha20Poly1305Key
 
getKeyBytes() - Method in class com.google.crypto.tink.daead.AesSivKey
Returns the underlying key bytes.
getKeyBytes() - Method in class com.google.crypto.tink.jwt.JwtHmacKey
 
getKeyBytes() - Method in class com.google.crypto.tink.mac.HmacKey
Returns the underlying key bytes.
getKeyBytes() - Method in class com.google.crypto.tink.prf.AesCmacPrfKey
 
getKeyBytes() - Method in class com.google.crypto.tink.prf.HkdfPrfKey
 
getKeyBytes() - Method in class com.google.crypto.tink.prf.HmacPrfKey
 
getKeyClass() - Method in class com.google.crypto.tink.internal.KeySerializer
 
getKeyClass() - Method in class com.google.crypto.tink.internal.PrimitiveConstructor
 
getKeyLength() - Method in interface com.google.crypto.tink.hybrid.internal.HpkeAead
Returns key length (in bytes) for this algorithm (i.e., parameter 'Nk' in HPKE RFC).
getKeyManager(String, Class<P>) - Method in class com.google.crypto.tink.internal.KeyManagerRegistry
 
getKeyManager(String, Class<P>) - Static method in class com.google.crypto.tink.Registry
Deprecated.
KeyManagers should not be used directly. Use newKeyData or getPrimitive instead.
getKeyManager(String, String, int) - Method in interface com.google.crypto.tink.Catalogue
Deprecated.
 
getKeyMaterialType() - Method in class com.google.crypto.tink.internal.ProtoKeySerialization
The contents of the field key_material_type in the message com.google.crypto.tink.proto.KeyData.
getKeys() - Method in class com.google.crypto.tink.KeysetHandle
Deprecated.
Use "getAt" instead.
getKeyset(KeysetHandle) - Static method in class com.google.crypto.tink.CleartextKeysetHandle
Deprecated.
Instead, call "KeysetHandle.getAt()" to get information about individual keys or TinkProtoKeysetFormat if you need a serialized keyset.
getKeysetHandle() - Method in class com.google.crypto.tink.integration.android.AndroidKeysetManager
Returns a KeysetHandle of the managed keyset.
getKeysetHandle() - Method in class com.google.crypto.tink.KeysetManager
 
getKeysetInfo() - Method in class com.google.crypto.tink.KeysetHandle
Deprecated.
Most information can be obtained by calling KeysetHandle.getPrimary() or KeysetHandle.getAt(int) and inspecting the result. For legacy code, LegacyKeysetSerialization.getKeysetInfo gives the exact same output.
getKeysetInfo(KeysetHandle) - Static method in class com.google.crypto.tink.LegacyKeysetSerialization
Returns the KeysetInfo proto of the given KeysetHandle.
getKeySizeBytes() - Method in class com.google.crypto.tink.aead.AesEaxParameters
 
getKeySizeBytes() - Method in class com.google.crypto.tink.aead.AesGcmParameters
 
getKeySizeBytes() - Method in class com.google.crypto.tink.aead.AesGcmSivParameters
 
getKeySizeBytes() - Method in class com.google.crypto.tink.daead.AesSivParameters
 
getKeySizeBytes() - Method in class com.google.crypto.tink.jwt.JwtHmacParameters
 
getKeySizeBytes() - Method in class com.google.crypto.tink.mac.AesCmacParameters
 
getKeySizeBytes() - Method in class com.google.crypto.tink.mac.HmacParameters
 
getKeySizeBytes() - Method in class com.google.crypto.tink.prf.AesCmacPrfParameters
 
getKeySizeBytes() - Method in class com.google.crypto.tink.prf.HkdfPrfParameters
 
getKeySizeBytes() - Method in class com.google.crypto.tink.prf.HmacPrfParameters
 
getKeySizeBytes() - Method in class com.google.crypto.tink.streamingaead.AesCtrHmacStreamingParameters
Returns the size of the initial key material.
getKeySizeBytes() - Method in class com.google.crypto.tink.streamingaead.AesGcmHkdfStreamingParameters
Returns the size of the initial key material.
getKeySizeInBytes() - Method in interface com.google.crypto.tink.aead.subtle.AeadFactory
Returns the size of the AEAD key in bytes.
getKeySizeInBytes() - Method in class com.google.crypto.tink.aead.subtle.AesGcmFactory
 
getKeyTemplate() - Method in class com.google.crypto.tink.internal.ProtoParametersSerialization
The contents of the field value in the message com.google.crypto.tink.proto.KeyData.
getKeyTemplate() - Method in class com.google.crypto.tink.tinkkey.internal.ProtoKey
 
getKeyTemplate() - Method in class com.google.crypto.tink.tinkkey.KeyHandle
Returns the KeyTemplate of the underlying TinkKey.
getKeyTemplate() - Method in interface com.google.crypto.tink.tinkkey.TinkKey
A TinkKey should know the KeyTemplate from which it was generated, which in turn specifies the cryptographic algorithm in which the TinkKey should be used.
getKeyType() - Method in class com.google.crypto.tink.internal.LegacyKeyManagerImpl
 
getKeyType() - Method in class com.google.crypto.tink.keyderivation.internal.PrfBasedDeriverKeyManager
 
getKeyType() - Method in interface com.google.crypto.tink.KeyManager
Returns the type URL that identifies the key type of keys managed by this KeyManager.
getKid() - Method in class com.google.crypto.tink.jwt.JwtEcdsaPublicKey
 
getKid() - Method in class com.google.crypto.tink.jwt.JwtHmacKey
Returns the "kid" to be used for this key.
getKid() - Method in class com.google.crypto.tink.jwt.JwtMacKey
Returns the "kid" to be used for this key (https://www.rfc-editor.org/rfc/rfc7517#section-4.5).
getKid() - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1PublicKey
Returns the "kid" to be used for this key.
getKid() - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPssPublicKey
Returns the "kid" to be used for this key.
getKid() - Method in class com.google.crypto.tink.jwt.JwtSignaturePrivateKey
Returns the "kid" to be used for this key (https://www.rfc-editor.org/rfc/rfc7517#section-4.5).
getKid() - Method in class com.google.crypto.tink.jwt.JwtSignaturePublicKey
Returns the "kid" to be used for this key (https://www.rfc-editor.org/rfc/rfc7517#section-4.5).
getKidStrategy() - Method in class com.google.crypto.tink.jwt.JwtEcdsaParameters
 
getKidStrategy() - Method in class com.google.crypto.tink.jwt.JwtHmacParameters
 
getKidStrategy() - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1Parameters
 
getKidStrategy() - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPssParameters
 
getLegacyOutputPrefix(int) - Static method in class com.google.crypto.tink.internal.OutputPrefixUtil
 
getMaxOutputLength() - Method in class com.google.crypto.tink.subtle.PrfHmacJce
Returns the maximum supported tag length.
getMgf1HashType() - Method in class com.google.crypto.tink.signature.RsaSsaPssParameters
 
getMlDsaInstance() - Method in class com.google.crypto.tink.signature.MlDsaParameters
 
getModulus() - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1PublicKey
Returns the underlying key bytes.
getModulus() - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPssPublicKey
Returns the underlying key bytes.
getModulus() - Method in class com.google.crypto.tink.signature.RsaSsaPkcs1PublicKey
Returns the underlying key bytes.
getModulus() - Method in class com.google.crypto.tink.signature.RsaSsaPssPublicKey
Returns the underlying key bytes.
getModulus(EllipticCurve) - Static method in class com.google.crypto.tink.internal.EllipticCurvesUtil
Returns the modulus of the field used by the curve specified in ecParams.
getModulus(EllipticCurve) - Static method in class com.google.crypto.tink.subtle.EllipticCurves
Returns the modulus of the field used by the curve specified in ecParams.
getModulusSizeBits() - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1Parameters
 
getModulusSizeBits() - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPssParameters
 
getModulusSizeBits() - Method in class com.google.crypto.tink.signature.RsaSsaPkcs1Parameters
 
getModulusSizeBits() - Method in class com.google.crypto.tink.signature.RsaSsaPssParameters
 
getMonitoringClient() - Method in class com.google.crypto.tink.internal.MutableMonitoringRegistry
 
getNames() - Method in class com.google.crypto.tink.internal.MutableParametersRegistry
 
getNistCurvePoint() - Method in class com.google.crypto.tink.hybrid.EciesPublicKey
Returns the underlying public point if the curve is a NIST curve.
getNistCurvePointFormat() - Method in class com.google.crypto.tink.hybrid.EciesParameters
 
getNistP256Params() - Static method in class com.google.crypto.tink.subtle.EllipticCurves
 
getNistP384Params() - Static method in class com.google.crypto.tink.subtle.EllipticCurves
 
getNistP521Params() - Static method in class com.google.crypto.tink.subtle.EllipticCurves
 
getNistPrivateKeyValue() - Method in class com.google.crypto.tink.hybrid.EciesPrivateKey
 
getNonceLength() - Method in interface com.google.crypto.tink.hybrid.internal.HpkeAead
Returns nonce length (in bytes) for this algorithm (i.e., parameter 'Nn' in HPKE RFC).
getNotBefore() - Method in class com.google.crypto.tink.jwt.VerifiedJwt
Returns the not before claim nbf that identifies the instant before which the token MUST NOT be accepted for processing.
getNumberClaim(String) - Method in class com.google.crypto.tink.jwt.VerifiedJwt
Returns the non-registered claim of name name and type Number.
getObjectIdentifier() - Method in class com.google.crypto.tink.internal.KeyParser
Returns the objectIdentifier for this serialization.
getObjectIdentifier() - Method in class com.google.crypto.tink.internal.ParametersParser
Returns the objectIdentifier for this serialization.
getObjectIdentifier() - Method in class com.google.crypto.tink.internal.ProtoKeySerialization
The object identifier.
getObjectIdentifier() - Method in class com.google.crypto.tink.internal.ProtoParametersSerialization
The typeUrl.
getObjectIdentifier() - Method in interface com.google.crypto.tink.internal.Serialization
Identifies which parsing method to use in the registry.
getOrGenerateNewAeadKey(String) - Static method in class com.google.crypto.tink.integration.android.AndroidKeystoreKmsClient
Generates a new key in Android Keystore, if it doesn't exist.
getOutputPrefix() - Method in class com.google.crypto.tink.aead.AeadKey
Returns a Bytes instance which is prefixed to the ciphertext.
getOutputPrefix() - Method in class com.google.crypto.tink.aead.AesCtrHmacAeadKey
 
getOutputPrefix() - Method in class com.google.crypto.tink.aead.AesEaxKey
 
getOutputPrefix() - Method in class com.google.crypto.tink.aead.AesGcmKey
 
getOutputPrefix() - Method in class com.google.crypto.tink.aead.AesGcmSivKey
 
getOutputPrefix() - Method in class com.google.crypto.tink.aead.ChaCha20Poly1305Key
 
getOutputPrefix() - Method in class com.google.crypto.tink.aead.LegacyKmsAeadKey
 
getOutputPrefix() - Method in class com.google.crypto.tink.aead.LegacyKmsEnvelopeAeadKey
 
getOutputPrefix() - Method in class com.google.crypto.tink.aead.XAesGcmKey
 
getOutputPrefix() - Method in class com.google.crypto.tink.aead.XChaCha20Poly1305Key
 
getOutputPrefix() - Method in class com.google.crypto.tink.daead.AesSivKey
 
getOutputPrefix() - Method in class com.google.crypto.tink.daead.DeterministicAeadKey
Returns a Bytes instance which is prefixed to the ciphertext.
getOutputPrefix() - Method in class com.google.crypto.tink.hybrid.EciesPublicKey
 
getOutputPrefix() - Method in class com.google.crypto.tink.hybrid.HpkePublicKey
 
getOutputPrefix() - Method in class com.google.crypto.tink.hybrid.HybridPrivateKey
Returns a Bytes instance, which is prefixed to every ciphertext.
getOutputPrefix() - Method in class com.google.crypto.tink.hybrid.HybridPublicKey
Returns a Bytes instance, which is prefixed to every ciphertext.
getOutputPrefix() - Method in class com.google.crypto.tink.internal.LegacyProtoKey
 
getOutputPrefix() - Method in class com.google.crypto.tink.mac.AesCmacKey
 
getOutputPrefix() - Method in class com.google.crypto.tink.mac.HmacKey
 
getOutputPrefix() - Method in class com.google.crypto.tink.mac.MacKey
Returns a Bytes instance which is prefixed to every mac tag.
getOutputPrefix() - Method in class com.google.crypto.tink.signature.EcdsaPublicKey
 
getOutputPrefix() - Method in class com.google.crypto.tink.signature.Ed25519PublicKey
 
getOutputPrefix() - Method in class com.google.crypto.tink.signature.RsaSsaPkcs1PublicKey
 
getOutputPrefix() - Method in class com.google.crypto.tink.signature.RsaSsaPssPublicKey
 
getOutputPrefix() - Method in class com.google.crypto.tink.signature.SignaturePrivateKey
Returns a Bytes instance which is prefixed to every signature.
getOutputPrefix() - Method in class com.google.crypto.tink.signature.SignaturePublicKey
Returns a Bytes instance which is prefixed to every signature.
getOutputPrefix(Keyset.Key) - Static method in class com.google.crypto.tink.CryptoFormat
Generates the prefix of all cryptographic outputs (ciphertexts, signatures, MACs, ...) produced by the specified key.
getOutputPrefixType() - Method in class com.google.crypto.tink.internal.ProtoKeySerialization
The contents of the field output_prefix_type in the message com.google.crypto.tink.proto.Keyset.Key.
getOutputPrefixType() - Method in class com.google.crypto.tink.KeyTemplate
Deprecated.
Instead, operate on the Parameters object obtained with KeyTemplate.toParameters(). If you really need this value, you need to first use TinkProtoParametersFormat to serialize this parameters object, then parse the result with the Tink-internal proto class "KeyTemplate".
getOutputPrefixType() - Method in class com.google.crypto.tink.tinkkey.internal.ProtoKey
 
getOutputPrefixType(KeyTemplate) - Static method in class com.google.crypto.tink.internal.KeyTemplateProtoConverter
 
getParameters() - Method in class com.google.crypto.tink.aead.AeadKey
Returns the parameters of this key.
getParameters() - Method in class com.google.crypto.tink.aead.AesCtrHmacAeadKey
 
getParameters() - Method in class com.google.crypto.tink.aead.AesEaxKey
 
getParameters() - Method in class com.google.crypto.tink.aead.AesGcmKey
 
getParameters() - Method in class com.google.crypto.tink.aead.AesGcmSivKey
 
getParameters() - Method in class com.google.crypto.tink.aead.ChaCha20Poly1305Key
 
getParameters() - Method in class com.google.crypto.tink.aead.LegacyKmsAeadKey
 
getParameters() - Method in class com.google.crypto.tink.aead.LegacyKmsEnvelopeAeadKey
 
getParameters() - Method in class com.google.crypto.tink.aead.XAesGcmKey
 
getParameters() - Method in class com.google.crypto.tink.aead.XChaCha20Poly1305Key
 
getParameters() - Method in class com.google.crypto.tink.daead.AesSivKey
 
getParameters() - Method in class com.google.crypto.tink.daead.DeterministicAeadKey
Returns the parameters of this key.
getParameters() - Method in class com.google.crypto.tink.hybrid.EciesPrivateKey
 
getParameters() - Method in class com.google.crypto.tink.hybrid.EciesPublicKey
 
getParameters() - Method in class com.google.crypto.tink.hybrid.HpkePrivateKey
 
getParameters() - Method in class com.google.crypto.tink.hybrid.HpkePublicKey
 
getParameters() - Method in class com.google.crypto.tink.hybrid.HybridPrivateKey
 
getParameters() - Method in class com.google.crypto.tink.hybrid.HybridPublicKey
 
getParameters() - Method in class com.google.crypto.tink.internal.LegacyProtoKey
Returns a LegacyParametersNotForCreation object.
getParameters() - Method in class com.google.crypto.tink.jwt.JwtEcdsaPrivateKey
 
getParameters() - Method in class com.google.crypto.tink.jwt.JwtEcdsaPublicKey
 
getParameters() - Method in class com.google.crypto.tink.jwt.JwtHmacKey
 
getParameters() - Method in class com.google.crypto.tink.jwt.JwtMacKey
 
getParameters() - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1PrivateKey
Returns the key parameters.
getParameters() - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1PublicKey
 
getParameters() - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPssPrivateKey
Returns the key parameters.
getParameters() - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPssPublicKey
 
getParameters() - Method in class com.google.crypto.tink.jwt.JwtSignaturePrivateKey
 
getParameters() - Method in class com.google.crypto.tink.jwt.JwtSignaturePublicKey
Returns the parameters of this key.
getParameters() - Method in class com.google.crypto.tink.Key
Returns a Parameters object containing all the information about the key which is not randomly chosen.
getParameters() - Method in class com.google.crypto.tink.keyderivation.KeyDerivationKey
 
getParameters() - Method in class com.google.crypto.tink.keyderivation.PrfBasedKeyDerivationKey
 
getParameters() - Method in class com.google.crypto.tink.mac.AesCmacKey
 
getParameters() - Method in class com.google.crypto.tink.mac.HmacKey
 
getParameters() - Method in class com.google.crypto.tink.mac.MacKey
Returns the parameters of this key.
getParameters() - Method in class com.google.crypto.tink.prf.AesCmacPrfKey
 
getParameters() - Method in class com.google.crypto.tink.prf.HkdfPrfKey
 
getParameters() - Method in class com.google.crypto.tink.prf.HmacPrfKey
 
getParameters() - Method in class com.google.crypto.tink.prf.PrfKey
Returns the parameters of this key.
getParameters() - Method in class com.google.crypto.tink.signature.EcdsaPrivateKey
 
getParameters() - Method in class com.google.crypto.tink.signature.EcdsaPublicKey
 
getParameters() - Method in class com.google.crypto.tink.signature.Ed25519PrivateKey
 
getParameters() - Method in class com.google.crypto.tink.signature.Ed25519PublicKey
 
getParameters() - Method in class com.google.crypto.tink.signature.RsaSsaPkcs1PrivateKey
Returns the key parameters.
getParameters() - Method in class com.google.crypto.tink.signature.RsaSsaPkcs1PublicKey
 
getParameters() - Method in class com.google.crypto.tink.signature.RsaSsaPssPrivateKey
Returns the key parameters.
getParameters() - Method in class com.google.crypto.tink.signature.RsaSsaPssPublicKey
 
getParameters() - Method in class com.google.crypto.tink.signature.SignaturePrivateKey
Returns the parameters of this key.
getParameters() - Method in class com.google.crypto.tink.signature.SignaturePublicKey
Returns the parameters of this key.
getParameters() - Method in class com.google.crypto.tink.streamingaead.AesCtrHmacStreamingKey
 
getParameters() - Method in class com.google.crypto.tink.streamingaead.AesGcmHkdfStreamingKey
 
getParameters() - Method in class com.google.crypto.tink.streamingaead.StreamingAeadKey
 
getParametersClass() - Method in class com.google.crypto.tink.internal.ParametersSerializer
 
getParams(byte[]) - Static method in class com.google.crypto.tink.aead.internal.AesGcmJceUtil
 
getParams(byte[], int, int) - Static method in class com.google.crypto.tink.aead.internal.AesGcmJceUtil
 
getParsedNumberAsLongOrThrow(Number) - Static method in class com.google.crypto.tink.internal.JsonParser
Converts a parsed Number into a long if it contains a valid long value.
getPlaintextSegmentSize() - Method in class com.google.crypto.tink.subtle.AesCtrHmacStreaming
 
getPlaintextSegmentSize() - Method in class com.google.crypto.tink.subtle.AesGcmHkdfStreaming
 
getPrfKey() - Method in class com.google.crypto.tink.keyderivation.PrfBasedKeyDerivationKey
 
getPrfParameters() - Method in class com.google.crypto.tink.keyderivation.PrfBasedKeyDerivationParameters
The parameters of the PRF used to create randomness from the salt.
getPrfs() - Method in class com.google.crypto.tink.prf.PrfSet
A map of the PRFs represented by the keys in this keyset.
getPrimary() - Method in interface com.google.crypto.tink.internal.KeysetHandleInterface
 
getPrimary() - Method in class com.google.crypto.tink.KeysetHandle
Returns the unique entry where isPrimary() = true and getStatus() = ENABLED.
getPrimaryId() - Method in class com.google.crypto.tink.prf.PrfSet
Returns the primary ID of the keyset.
getPrimeExponentP() - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1PrivateKey
Returns the prime exponent dP.
getPrimeExponentP() - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPssPrivateKey
Returns the prime exponent dP.
getPrimeExponentP() - Method in class com.google.crypto.tink.signature.RsaSsaPkcs1PrivateKey
Returns the prime exponent dP.
getPrimeExponentP() - Method in class com.google.crypto.tink.signature.RsaSsaPssPrivateKey
Returns the prime exponent dP.
getPrimeExponentQ() - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1PrivateKey
Returns the prime exponent dQ.
getPrimeExponentQ() - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPssPrivateKey
Returns the prime exponent dQ.
getPrimeExponentQ() - Method in class com.google.crypto.tink.signature.RsaSsaPkcs1PrivateKey
Returns the prime exponent dQ.
getPrimeExponentQ() - Method in class com.google.crypto.tink.signature.RsaSsaPssPrivateKey
Returns the prime exponent dQ.
getPrimeP() - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1PrivateKey
Returns the prime factor p.
getPrimeP() - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPssPrivateKey
Returns the prime factor p.
getPrimeP() - Method in class com.google.crypto.tink.signature.RsaSsaPkcs1PrivateKey
Returns the prime factor p.
getPrimeP() - Method in class com.google.crypto.tink.signature.RsaSsaPssPrivateKey
Returns the prime factor p.
getPrimeQ() - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1PrivateKey
Returns the prime factor q.
getPrimeQ() - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPssPrivateKey
Returns the prime factor q.
getPrimeQ() - Method in class com.google.crypto.tink.signature.RsaSsaPkcs1PrivateKey
Returns the prime factor q.
getPrimeQ() - Method in class com.google.crypto.tink.signature.RsaSsaPssPrivateKey
Returns the prime factor q.
getPrimitive(Configuration, Class<P>) - Method in class com.google.crypto.tink.KeysetHandle
Returns a primitive from this keyset using the provided Configuration to create resources used in creating the primitive.
getPrimitive(KeysetHandle) - Static method in class com.google.crypto.tink.aead.AeadFactory
Deprecated.
Use keysetHandle.getPrimitive(RegistryConfiguration.get(), Aead.class) after registering the AeadWrapper instead.
getPrimitive(KeysetHandle) - Static method in class com.google.crypto.tink.daead.DeterministicAeadFactory
Deprecated.
Use keysetHandle.getPrimitive(RegistryConfiguration.get(), DeterministicAead.class) after registering the DeterministicAeadWrapper instead.
getPrimitive(KeysetHandle) - Static method in class com.google.crypto.tink.hybrid.HybridDecryptFactory
Deprecated.
Use keysetHandle.getPrimitive(RegistryConfiguration.get(), HybridDecrypt.class) after registering the HybridDecryptWrapper instead.
getPrimitive(KeysetHandle) - Static method in class com.google.crypto.tink.hybrid.HybridEncryptFactory
Deprecated.
Use keysetHandle.getPrimitive(RegistryConfiguration.get(), HybridEncrypt.class) after registering the HybridEncryptWrapper instead.
getPrimitive(KeysetHandle) - Static method in class com.google.crypto.tink.mac.MacFactory
Deprecated.
Use keysetHandle.getPrimitive(RegistryConfiguration.get(), Mac.class) after registering the MacWrapper instead.
getPrimitive(KeysetHandle) - Static method in class com.google.crypto.tink.signature.PublicKeySignFactory
Deprecated.
Use keysetHandle.getPrimitive(RegistryConfiguration.get(), PublicKeySign.class) after registering the PublicKeySignWrapper instead.
getPrimitive(KeysetHandle) - Static method in class com.google.crypto.tink.signature.PublicKeyVerifyFactory
Deprecated.
Use keysetHandle.getPrimitive(RegistryConfiguration.get(), PublicKeyVerify.class) after registering the PublicKeyVerifyWrapper instead.
getPrimitive(KeysetHandle) - Static method in class com.google.crypto.tink.streamingaead.StreamingAeadFactory
Deprecated.
 
getPrimitive(KeyData, Class<P>) - Static method in class com.google.crypto.tink.Registry
Deprecated.
Use the standard API instead or file an issue on https://github.com/tink-crypto/tink-java, explaining your use case.
getPrimitive(ByteString) - Method in class com.google.crypto.tink.internal.LegacyKeyManagerImpl
 
getPrimitive(ByteString) - Method in class com.google.crypto.tink.keyderivation.internal.PrfBasedDeriverKeyManager
 
getPrimitive(ByteString) - Method in interface com.google.crypto.tink.KeyManager
Constructs an instance of P for the key given in serializedKey, which must be a serialized key protocol buffer handled by this manager.
getPrimitive(MessageLite) - Method in class com.google.crypto.tink.internal.LegacyKeyManagerImpl
 
getPrimitive(MessageLite) - Method in class com.google.crypto.tink.keyderivation.internal.PrfBasedDeriverKeyManager
 
getPrimitive(MessageLite) - Method in interface com.google.crypto.tink.KeyManager
Deprecated.
Use getPrimitive(serializedKey) instead.
getPrimitive(Class<P>) - Method in class com.google.crypto.tink.KeysetHandle
Deprecated.
New users should use KeysetHandle.getPrimitive with a suitable Configuration. Existing users can use KeysetHandle.getPrimitive(RegistryConfiguration.get(), targetClassObject) for exactly the same behavior.
getPrimitive(String, byte[], Class<P>) - Static method in class com.google.crypto.tink.Registry
Deprecated.
Use the standard API instead or file an issue on https://github.com/tink-crypto/tink-java, explaining your use case.
getPrimitive(String, ByteString, Class<P>) - Static method in class com.google.crypto.tink.Registry
Deprecated.
Use the standard API instead or file an issue on https://github.com/tink-crypto/tink-java, explaining your use case.
getPrimitive(String, MessageLite, Class<P>) - Static method in class com.google.crypto.tink.Registry
Deprecated.
Use getPrimitive(typeUrl, serializedKey, Primitive.class instead.
getPrimitive(KeyProtoT) - Method in class com.google.crypto.tink.internal.PrimitiveFactory
Creates a new instance of PrimitiveT.
getPrimitive(KeyT, Class<PrimitiveT>) - Method in class com.google.crypto.tink.internal.MutablePrimitiveRegistry
Creates a primitive from a given key.
getPrimitive(KeyT, Class<PrimitiveT>) - Method in class com.google.crypto.tink.internal.PrimitiveRegistry
Creates a primitive from a given key.
getPrimitiveClass() - Method in class com.google.crypto.tink.aead.AeadWrapper
 
getPrimitiveClass() - Method in class com.google.crypto.tink.daead.DeterministicAeadWrapper
 
getPrimitiveClass() - Method in class com.google.crypto.tink.hybrid.HybridDecryptWrapper
 
getPrimitiveClass() - Method in class com.google.crypto.tink.hybrid.HybridEncryptWrapper
 
getPrimitiveClass() - Method in class com.google.crypto.tink.internal.LegacyKeyManagerImpl
 
getPrimitiveClass() - Method in class com.google.crypto.tink.internal.PrimitiveConstructor
 
getPrimitiveClass() - Method in interface com.google.crypto.tink.internal.PrimitiveWrapper
Returns the primitive class object of the primitive managed.
getPrimitiveClass() - Method in class com.google.crypto.tink.keyderivation.internal.KeysetDeriverWrapper
 
getPrimitiveClass() - Method in class com.google.crypto.tink.keyderivation.internal.PrfBasedDeriverKeyManager
 
getPrimitiveClass() - Method in interface com.google.crypto.tink.KeyManager
Returns the primitive class object of the P.
getPrimitiveClass() - Method in class com.google.crypto.tink.mac.ChunkedMacWrapper
 
getPrimitiveClass() - Method in class com.google.crypto.tink.mac.MacWrapper
 
getPrimitiveClass() - Method in class com.google.crypto.tink.prf.PrfSetWrapper
 
getPrimitiveClass() - Method in class com.google.crypto.tink.signature.PublicKeySignWrapper
 
getPrimitiveClass() - Method in class com.google.crypto.tink.signature.PublicKeyVerifyWrapper
 
getPrimitiveClass() - Method in class com.google.crypto.tink.streamingaead.StreamingAeadWrapper
 
getPrimitiveWrapper() - Method in interface com.google.crypto.tink.Catalogue
Deprecated.
Returns a new primitive wrapper for this primitive.
getPrivateExponent() - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1PrivateKey
Returns the private exponent d.
getPrivateExponent() - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPssPrivateKey
Returns the private exponent d.
getPrivateExponent() - Method in class com.google.crypto.tink.signature.RsaSsaPkcs1PrivateKey
Returns the private exponent d.
getPrivateExponent() - Method in class com.google.crypto.tink.signature.RsaSsaPssPrivateKey
Returns the private exponent d.
getPrivateKey() - Method in class com.google.crypto.tink.subtle.Ed25519Sign.KeyPair
 
getPrivateKeyBytes() - Method in class com.google.crypto.tink.hybrid.HpkePrivateKey
 
getPrivateKeyBytes() - Method in class com.google.crypto.tink.signature.Ed25519PrivateKey
 
getPrivateValue() - Method in class com.google.crypto.tink.jwt.JwtEcdsaPrivateKey
 
getPrivateValue() - Method in class com.google.crypto.tink.signature.EcdsaPrivateKey
 
getProtoKey() - Method in class com.google.crypto.tink.tinkkey.internal.ProtoKey
 
getPublicExponent() - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1Parameters
 
getPublicExponent() - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPssParameters
 
getPublicExponent() - Method in class com.google.crypto.tink.signature.RsaSsaPkcs1Parameters
 
getPublicExponent() - Method in class com.google.crypto.tink.signature.RsaSsaPssParameters
 
getPublicKey() - Method in class com.google.crypto.tink.hybrid.EciesPrivateKey
 
getPublicKey() - Method in class com.google.crypto.tink.hybrid.HpkePrivateKey
 
getPublicKey() - Method in class com.google.crypto.tink.hybrid.HybridPrivateKey
 
getPublicKey() - Method in class com.google.crypto.tink.jwt.JwtEcdsaPrivateKey
 
getPublicKey() - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1PrivateKey
Returns the public key.
getPublicKey() - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPssPrivateKey
Returns the public key.
getPublicKey() - Method in class com.google.crypto.tink.jwt.JwtSignaturePrivateKey
 
getPublicKey() - Method in interface com.google.crypto.tink.PrivateKey
 
getPublicKey() - Method in class com.google.crypto.tink.signature.EcdsaPrivateKey
 
getPublicKey() - Method in class com.google.crypto.tink.signature.Ed25519PrivateKey
 
getPublicKey() - Method in class com.google.crypto.tink.signature.RsaSsaPkcs1PrivateKey
Returns the public key.
getPublicKey() - Method in class com.google.crypto.tink.signature.RsaSsaPssPrivateKey
Returns the public key.
getPublicKey() - Method in class com.google.crypto.tink.signature.SignaturePrivateKey
Returns the SignaturePublicKey, which contains the verify function of the digital signature primitive.
getPublicKey() - Method in class com.google.crypto.tink.subtle.Ed25519Sign.KeyPair
 
getPublicKeyBytes() - Method in class com.google.crypto.tink.hybrid.HpkePublicKey
 
getPublicKeyBytes() - Method in class com.google.crypto.tink.signature.Ed25519PublicKey
 
getPublicKeyData(ByteString) - Method in interface com.google.crypto.tink.PrivateKeyManager
Extracts the public key data from the private key data.
getPublicKeyData(String, ByteString) - Static method in class com.google.crypto.tink.Registry
Deprecated.
Instead, users should have their keys in a KeysetHandle and call keysetHandle.getPublicKeysetHandle.
getPublicKeysetHandle() - Method in class com.google.crypto.tink.KeysetHandle
If the managed keyset contains private keys, returns a KeysetHandle of the public keys.
getPublicPoint() - Method in class com.google.crypto.tink.jwt.JwtEcdsaPublicKey
 
getPublicPoint() - Method in class com.google.crypto.tink.signature.EcdsaPublicKey
 
getSalt() - Method in class com.google.crypto.tink.hybrid.EciesParameters
Gets the salt value, which defaults to null if not set.
getSalt() - Method in class com.google.crypto.tink.prf.HkdfPrfParameters
Gets the salt value, which defaults to null if not set, as per RFC 5869.
getSaltLengthBytes() - Method in class com.google.crypto.tink.signature.RsaSsaPssParameters
 
getSaltSizeBytes() - Method in class com.google.crypto.tink.aead.XAesGcmParameters
 
getSecretKey(byte[]) - Static method in class com.google.crypto.tink.aead.internal.AesGcmJceUtil
 
getSerialization() - Method in class com.google.crypto.tink.internal.LegacyProtoParameters
returns the serialization which was used to create this object.
getSerialization(SecretKeyAccess) - Method in class com.google.crypto.tink.internal.LegacyProtoKey
Returns the protokeyserialization with which this object was created.
getSerializationClass() - Method in class com.google.crypto.tink.internal.KeyParser
 
getSerializationClass() - Method in class com.google.crypto.tink.internal.KeySerializer
 
getSerializationClass() - Method in class com.google.crypto.tink.internal.ParametersParser
 
getSerializationClass() - Method in class com.google.crypto.tink.internal.ParametersSerializer
 
getSigHashType() - Method in class com.google.crypto.tink.signature.RsaSsaPssParameters
 
getSignatureEncoding() - Method in class com.google.crypto.tink.signature.EcdsaParameters
 
getStandardName() - Method in class com.google.crypto.tink.jwt.JwtEcdsaParameters.Algorithm
 
getStandardName() - Method in class com.google.crypto.tink.jwt.JwtHmacParameters.Algorithm
 
getStandardName() - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1Parameters.Algorithm
 
getStandardName() - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPssParameters.Algorithm
 
getStatus() - Method in interface com.google.crypto.tink.internal.KeysetHandleInterface.Entry
 
getStatus() - Method in class com.google.crypto.tink.KeysetHandle.Builder.Entry
Returns the status of this entry.
getStatus() - Method in class com.google.crypto.tink.KeysetHandle.Entry
 
getStatus() - Method in class com.google.crypto.tink.tinkkey.KeyHandle
Returns the status of the key.
getStringClaim(String) - Method in class com.google.crypto.tink.jwt.VerifiedJwt
Returns the non-registered claim of name name and type String.
getSubject() - Method in class com.google.crypto.tink.jwt.VerifiedJwt
Returns the sub claim identifying the principal that is the subject of the JWT.
getSymmetricKey() - Method in class com.google.crypto.tink.subtle.EciesHkdfSenderKem.KemKey
 
getSymmetricKeySizeInBytes() - Method in interface com.google.crypto.tink.hybrid.internal.EciesDemHelper.Dem
 
getTagSizeBytes() - Method in class com.google.crypto.tink.aead.AesCtrHmacAeadParameters
 
getTagSizeBytes() - Method in class com.google.crypto.tink.aead.AesEaxParameters
 
getTagSizeBytes() - Method in class com.google.crypto.tink.aead.AesGcmParameters
 
getThreadLocalCipher() - Static method in class com.google.crypto.tink.aead.internal.AesGcmJceUtil
Returns a thread-local instance of the AES-GCM cipher.
getTinkKeyTypeEntry(String, String, String, int, boolean) - Static method in class com.google.crypto.tink.Config
Returns a KeyTypeEntry for Tink key types with the specified properties.
getTinkOutputPrefix(int) - Static method in class com.google.crypto.tink.internal.OutputPrefixUtil
 
getTotalTagSizeBytes() - Method in class com.google.crypto.tink.mac.AesCmacParameters
Returns the size of the security relevant tag plus the size of the prefix with which this key prefixes every tag.
getTotalTagSizeBytes() - Method in class com.google.crypto.tink.mac.HmacParameters
Returns the size of the security relevant tag plus the size of the prefix with which this key prefixes every tag.
getTypeHeader() - Method in class com.google.crypto.tink.jwt.VerifiedJwt
Returns the typ header value.
getTypeUrl() - Method in class com.google.crypto.tink.internal.ProtoKeySerialization
The typeUrl.
getTypeUrl() - Method in class com.google.crypto.tink.KeyTemplate
Deprecated.
Instead, operate on the Parameters object obtained with KeyTemplate.toParameters(). If you really need this array, you need to first use TinkProtoParametersFormat to serialize this parameters object, then parse the result with the Tink-internal proto class "KeyTemplate".
getUntypedKeyManager(String) - Method in class com.google.crypto.tink.internal.KeyManagerRegistry
 
getUntypedKeyManager(String) - Static method in class com.google.crypto.tink.Registry
Deprecated.
KeyManagers should not be used directly. Use newKeyData or getPrimitive instead.
getValue() - Method in interface com.google.crypto.tink.config.TinkFlag
Returns the current value of this flag.
getValue() - Method in class com.google.crypto.tink.internal.ProtoKeySerialization
The contents of the field value in the message com.google.crypto.tink.proto.KeyData.
getValue() - Method in class com.google.crypto.tink.KeyTemplate
Deprecated.
Instead, operate on the Parameters object obtained with KeyTemplate.toParameters(). If you really need this array, you need to first use TinkProtoParametersFormat to serialize this parameters object, then parse the result with the Tink-internal proto class "KeyTemplate".
getVariant() - Method in class com.google.crypto.tink.aead.AesCtrHmacAeadParameters
Returns a variant object.
getVariant() - Method in class com.google.crypto.tink.aead.AesEaxParameters
Returns a variant object.
getVariant() - Method in class com.google.crypto.tink.aead.AesGcmParameters
Returns a variant object.
getVariant() - Method in class com.google.crypto.tink.aead.AesGcmSivParameters
Returns a variant object.
getVariant() - Method in class com.google.crypto.tink.aead.ChaCha20Poly1305Parameters
Returns a variant object.
getVariant() - Method in class com.google.crypto.tink.aead.LegacyKmsEnvelopeAeadParameters
 
getVariant() - Method in class com.google.crypto.tink.aead.XAesGcmParameters
Returns a variant object.
getVariant() - Method in class com.google.crypto.tink.aead.XChaCha20Poly1305Parameters
Returns a variant object.
getVariant() - Method in class com.google.crypto.tink.daead.AesSivParameters
Returns a variant object.
getVariant() - Method in class com.google.crypto.tink.hybrid.EciesParameters
 
getVariant() - Method in class com.google.crypto.tink.hybrid.HpkeParameters
 
getVariant() - Method in class com.google.crypto.tink.mac.AesCmacParameters
Returns a variant object.
getVariant() - Method in class com.google.crypto.tink.mac.HmacParameters
Returns a variant object.
getVariant() - Method in class com.google.crypto.tink.signature.EcdsaParameters
 
getVariant() - Method in class com.google.crypto.tink.signature.Ed25519Parameters
Returns a variant object.
getVariant() - Method in class com.google.crypto.tink.signature.MlDsaParameters
 
getVariant() - Method in class com.google.crypto.tink.signature.RsaSsaPkcs1Parameters
 
getVariant() - Method in class com.google.crypto.tink.signature.RsaSsaPssParameters
 
getVersion() - Method in class com.google.crypto.tink.internal.LegacyKeyManagerImpl
 
getVersion() - Method in class com.google.crypto.tink.keyderivation.internal.PrfBasedDeriverKeyManager
 
getVersion() - Method in interface com.google.crypto.tink.KeyManager
Deprecated.
Do not use it.
getX25519CurvePointBytes() - Method in class com.google.crypto.tink.hybrid.EciesPublicKey
Returns the underlying public point as EC Point in case the curve is a NIST curve.
getX25519PrivateKeyBytes() - Method in class com.google.crypto.tink.hybrid.EciesPrivateKey
 
getY(BigInteger, boolean, EllipticCurve) - Static method in class com.google.crypto.tink.subtle.EllipticCurves
globalInstance() - Static method in class com.google.crypto.tink.internal.KeyManagerRegistry
Returns the global instance.
globalInstance() - Static method in class com.google.crypto.tink.internal.MutableKeyCreationRegistry
 
globalInstance() - Static method in class com.google.crypto.tink.internal.MutableKeyDerivationRegistry
 
globalInstance() - Static method in class com.google.crypto.tink.internal.MutableMonitoringRegistry
 
globalInstance() - Static method in class com.google.crypto.tink.internal.MutableParametersRegistry
 
globalInstance() - Static method in class com.google.crypto.tink.internal.MutablePrimitiveRegistry
 
globalInstance() - Static method in class com.google.crypto.tink.internal.MutableSerializationRegistry
 
GlobalTinkFlags - Class in com.google.crypto.tink.config
Contains Booleans which change Tink behavior globally.

H

hasAudiences() - Method in class com.google.crypto.tink.jwt.VerifiedJwt
Returns true iff the aud claim is present.
hasBooleanClaim(String) - Method in class com.google.crypto.tink.jwt.VerifiedJwt
Returns true iff a non-registered claim of name name and type boolean is present.
hasExpiration() - Method in class com.google.crypto.tink.jwt.VerifiedJwt
Returns true iff the exp claim is present.
hash - Variable in enum com.google.crypto.tink.PemKeyType
 
hash - Variable in enum com.google.crypto.tink.subtle.PemKeyType
Deprecated.
 
hashCode() - Method in class com.google.crypto.tink.aead.AesCtrHmacAeadParameters
 
hashCode() - Method in class com.google.crypto.tink.aead.AesEaxParameters
 
hashCode() - Method in class com.google.crypto.tink.aead.AesGcmParameters
 
hashCode() - Method in class com.google.crypto.tink.aead.AesGcmSivParameters
 
hashCode() - Method in class com.google.crypto.tink.aead.ChaCha20Poly1305Parameters
 
hashCode() - Method in class com.google.crypto.tink.aead.LegacyKmsAeadParameters
 
hashCode() - Method in class com.google.crypto.tink.aead.LegacyKmsEnvelopeAeadParameters
 
hashCode() - Method in class com.google.crypto.tink.aead.XAesGcmParameters
 
hashCode() - Method in class com.google.crypto.tink.aead.XChaCha20Poly1305Parameters
 
hashCode() - Method in class com.google.crypto.tink.daead.AesSivParameters
 
hashCode() - Method in class com.google.crypto.tink.hybrid.EciesParameters
 
hashCode() - Method in class com.google.crypto.tink.hybrid.HpkeParameters
 
hashCode() - Method in class com.google.crypto.tink.internal.LegacyProtoParameters
 
hashCode() - Method in class com.google.crypto.tink.internal.MonitoringAnnotations
 
hashCode() - Method in class com.google.crypto.tink.jwt.JwtEcdsaParameters
 
hashCode() - Method in class com.google.crypto.tink.jwt.JwtHmacParameters
 
hashCode() - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1Parameters
 
hashCode() - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPssParameters
 
hashCode() - Method in class com.google.crypto.tink.keyderivation.PrfBasedKeyDerivationParameters
 
hashCode() - Method in class com.google.crypto.tink.mac.AesCmacParameters
 
hashCode() - Method in class com.google.crypto.tink.mac.HmacParameters
 
hashCode() - Method in class com.google.crypto.tink.prf.AesCmacPrfParameters
 
hashCode() - Method in class com.google.crypto.tink.prf.HkdfPrfParameters
 
hashCode() - Method in class com.google.crypto.tink.prf.HmacPrfParameters
 
hashCode() - Method in class com.google.crypto.tink.signature.EcdsaParameters
 
hashCode() - Method in class com.google.crypto.tink.signature.Ed25519Parameters
 
hashCode() - Method in class com.google.crypto.tink.signature.MlDsaParameters
 
hashCode() - Method in class com.google.crypto.tink.signature.RsaSsaPkcs1Parameters
 
hashCode() - Method in class com.google.crypto.tink.signature.RsaSsaPssParameters
 
hashCode() - Method in class com.google.crypto.tink.streamingaead.AesCtrHmacStreamingParameters
 
hashCode() - Method in class com.google.crypto.tink.streamingaead.AesGcmHkdfStreamingParameters
 
hashCode() - Method in class com.google.crypto.tink.util.Bytes
 
hasIdRequirement() - Method in class com.google.crypto.tink.aead.AesCtrHmacAeadParameters
 
hasIdRequirement() - Method in class com.google.crypto.tink.aead.AesEaxParameters
 
hasIdRequirement() - Method in class com.google.crypto.tink.aead.AesGcmParameters
 
hasIdRequirement() - Method in class com.google.crypto.tink.aead.AesGcmSivParameters
 
hasIdRequirement() - Method in class com.google.crypto.tink.aead.ChaCha20Poly1305Parameters
 
hasIdRequirement() - Method in class com.google.crypto.tink.aead.LegacyKmsAeadParameters
 
hasIdRequirement() - Method in class com.google.crypto.tink.aead.LegacyKmsEnvelopeAeadParameters
 
hasIdRequirement() - Method in class com.google.crypto.tink.aead.XAesGcmParameters
 
hasIdRequirement() - Method in class com.google.crypto.tink.aead.XChaCha20Poly1305Parameters
 
hasIdRequirement() - Method in class com.google.crypto.tink.daead.AesSivParameters
 
hasIdRequirement() - Method in class com.google.crypto.tink.hybrid.EciesParameters
 
hasIdRequirement() - Method in class com.google.crypto.tink.hybrid.HpkeParameters
 
hasIdRequirement() - Method in class com.google.crypto.tink.internal.LegacyProtoParameters
 
hasIdRequirement() - Method in class com.google.crypto.tink.jwt.JwtEcdsaParameters
 
hasIdRequirement() - Method in class com.google.crypto.tink.jwt.JwtHmacParameters
 
hasIdRequirement() - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1Parameters
 
hasIdRequirement() - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPssParameters
 
hasIdRequirement() - Method in class com.google.crypto.tink.keyderivation.KeyDerivationParameters
Whether this key needs a specific ID when it is in a Keyset.
hasIdRequirement() - Method in class com.google.crypto.tink.mac.AesCmacParameters
 
hasIdRequirement() - Method in class com.google.crypto.tink.mac.HmacParameters
 
hasIdRequirement() - Method in class com.google.crypto.tink.Parameters
Returns true if a key created with the parameters in this object has to have a certain ID when it is in a keyset.
hasIdRequirement() - Method in class com.google.crypto.tink.prf.AesCmacPrfParameters
 
hasIdRequirement() - Method in class com.google.crypto.tink.prf.HkdfPrfParameters
 
hasIdRequirement() - Method in class com.google.crypto.tink.prf.HmacPrfParameters
 
hasIdRequirement() - Method in class com.google.crypto.tink.signature.EcdsaParameters
 
hasIdRequirement() - Method in class com.google.crypto.tink.signature.Ed25519Parameters
 
hasIdRequirement() - Method in class com.google.crypto.tink.signature.MlDsaParameters
 
hasIdRequirement() - Method in class com.google.crypto.tink.signature.RsaSsaPkcs1Parameters
 
hasIdRequirement() - Method in class com.google.crypto.tink.signature.RsaSsaPssParameters
 
hasIdRequirement() - Method in class com.google.crypto.tink.streamingaead.StreamingAeadParameters
 
hasIssuedAt() - Method in class com.google.crypto.tink.jwt.VerifiedJwt
Returns true iff the iat claim is present.
hasIssuer() - Method in class com.google.crypto.tink.jwt.VerifiedJwt
Returns true iff the iss claim is present.
hasJsonArrayClaim(String) - Method in class com.google.crypto.tink.jwt.VerifiedJwt
Returns true iff a non-registered claim of name name and type JsonArray is present.
hasJsonObjectClaim(String) - Method in class com.google.crypto.tink.jwt.VerifiedJwt
Returns true iff a non-registered claim of name name and type JsonObject is present.
hasJwtId() - Method in class com.google.crypto.tink.jwt.VerifiedJwt
Returns true iff the jti claim is present.
hasKey(String) - Static method in class com.google.crypto.tink.integration.android.AndroidKeystore
Returns true if there is a key in Android Keystore.
hasNotBefore() - Method in class com.google.crypto.tink.jwt.VerifiedJwt
Returns true iff the nbf claim is present.
hasNumberClaim(String) - Method in class com.google.crypto.tink.jwt.VerifiedJwt
Returns true iff a non-registered claim of name name and type number is present.
hasParserForKey(SerializationT) - Method in class com.google.crypto.tink.internal.MutableSerializationRegistry
Returns true if a parser for this serializedKey has been registered.
hasParserForKey(SerializationT) - Method in class com.google.crypto.tink.internal.SerializationRegistry
Returns true if a parser for this serializedKey has been registered.
hasParserForParameters(SerializationT) - Method in class com.google.crypto.tink.internal.MutableSerializationRegistry
Returns true if a parser for this serializedKey has been registered.
hasParserForParameters(SerializationT) - Method in class com.google.crypto.tink.internal.SerializationRegistry
Returns true if a parser for this serializedKey has been registered.
hasSecret() - Method in class com.google.crypto.tink.tinkkey.internal.ProtoKey
 
hasSecret() - Method in class com.google.crypto.tink.tinkkey.KeyHandle
Returns true if the underlying TinkKey has a secret.
hasSecret() - Method in interface com.google.crypto.tink.tinkkey.TinkKey
Returns true if the key contains secret key material, and false otherwise.
hasSerializerForKey(KeyT, Class<SerializationT>) - Method in class com.google.crypto.tink.internal.MutableSerializationRegistry
Returns true if a parser for this serializedKey has been registered.
hasSerializerForKey(KeyT, Class<SerializationT>) - Method in class com.google.crypto.tink.internal.SerializationRegistry
Returns true if a parser for this serializedKey has been registered.
hasSerializerForParameters(ParametersT, Class<SerializationT>) - Method in class com.google.crypto.tink.internal.MutableSerializationRegistry
Returns true if a parser for this serializedKey has been registered.
hasSerializerForParameters(ParametersT, Class<SerializationT>) - Method in class com.google.crypto.tink.internal.SerializationRegistry
Returns true if a parser for this serializedKey has been registered.
hasStringClaim(String) - Method in class com.google.crypto.tink.jwt.VerifiedJwt
Returns true iff a non-registered claim of name name and type string is present.
hasSubject() - Method in class com.google.crypto.tink.jwt.VerifiedJwt
Returns true iff the sub claim is present.
hasTypeHeader() - Method in class com.google.crypto.tink.jwt.VerifiedJwt
Returns true iff the typ header is present.
Hex - Class in com.google.crypto.tink.subtle
Helper methods for encode/decode hex strings.
Hkdf - Class in com.google.crypto.tink.subtle
This class implements HMAC-based Extract-and-Expand Key Derivation Function (HKDF), as described in RFC 5869.
HKDF_SHA256 - Static variable in class com.google.crypto.tink.hybrid.HpkeParameters.KdfId
 
HKDF_SHA256 - Static variable in class com.google.crypto.tink.prf.PredefinedPrfParameters
A Parameters object for generating new instances of HkdfPrfKey with the following parameters: Hash function: SHA256 HMAC key size: 32 bytes Salt: empty
HKDF_SHA256 - Static variable in class com.google.crypto.tink.prf.PrfKeyTemplates
Deprecated.
Generates a KeyTemplate for a HkdfPrfKey key with the following parameters.
HKDF_SHA256_KDF_ID - Static variable in class com.google.crypto.tink.hybrid.internal.HpkeUtil
 
HKDF_SHA384 - Static variable in class com.google.crypto.tink.hybrid.HpkeParameters.KdfId
 
HKDF_SHA384_KDF_ID - Static variable in class com.google.crypto.tink.hybrid.internal.HpkeUtil
 
HKDF_SHA512 - Static variable in class com.google.crypto.tink.hybrid.HpkeParameters.KdfId
 
HKDF_SHA512_KDF_ID - Static variable in class com.google.crypto.tink.hybrid.internal.HpkeUtil
 
HkdfPrfKey - Class in com.google.crypto.tink.prf
Represents a key computing HKDF PRF.
HkdfPrfKey.Builder - Class in com.google.crypto.tink.prf
Builder for HkdfPrfKey.
HkdfPrfKeyManager - Class in com.google.crypto.tink.prf
This key manager generates new HkdfPrfKey keys and produces new instances of HkdfStreamingPrf and HkdfPrf.
HkdfPrfParameters - Class in com.google.crypto.tink.prf
Describes the parameters of an HkdfPrfKey.
HkdfPrfParameters.Builder - Class in com.google.crypto.tink.prf
Builder for HkdfPrfParameters.
HkdfPrfParameters.HashType - Class in com.google.crypto.tink.prf
The Hash algorithm used.
HkdfPrfProtoSerialization - Class in com.google.crypto.tink.prf.internal
Methods to serialize and parse HkdfPrfKey objects and HkdfPrfParameters objects.
hkdfSha256Template() - Static method in class com.google.crypto.tink.prf.HkdfPrfKeyManager
Generates a KeyTemplate for HKDF-PRF keys with the following parameters.
HkdfStreamingPrf - Class in com.google.crypto.tink.subtle.prf
An implementation of the HKDF pseudorandom function, as given by RFC 5869.
HkdfStreamingPrf(Enums.HashType, byte[], byte[]) - Constructor for class com.google.crypto.tink.subtle.prf.HkdfStreamingPrf
 
HMAC_PRF_TYPE_URL - Static variable in class com.google.crypto.tink.prf.PrfConfig
 
HMAC_SHA256_128BITTAG - Static variable in class com.google.crypto.tink.mac.MacKeyTemplates
Deprecated.
A KeyTemplate that generates new instances of HmacKey with the following parameters: Key size: 32 bytes Tag size: 16 bytes Hash function: SHA256 OutputPrefixType: TINK
HMAC_SHA256_128BITTAG - Static variable in class com.google.crypto.tink.mac.PredefinedMacParameters
A Parameters object for generating new instances of HmacKey with the following parameters: Key size: 32 bytes Tag size: 16 bytes Hash function: SHA256 OutputPrefixType: TINK
HMAC_SHA256_256BITTAG - Static variable in class com.google.crypto.tink.mac.MacKeyTemplates
Deprecated.
A KeyTemplate that generates new instances of HmacKey with the following parameters: Key size: 32 bytes Tag size: 32 bytes Hash function: SHA256 OutputPrefixType: TINK
HMAC_SHA256_256BITTAG - Static variable in class com.google.crypto.tink.mac.PredefinedMacParameters
A Parameters object for generating new instances of HmacKey with the following parameters: Key size: 32 bytes Tag size: 32 bytes Hash function: SHA256 OutputPrefixType: TINK
HMAC_SHA256_PRF - Static variable in class com.google.crypto.tink.prf.PredefinedPrfParameters
A Parameters object for generating new instances of HmacPrfKey with the following parameters: Hash function: SHA256 HMAC key size: 32 bytes
HMAC_SHA256_PRF - Static variable in class com.google.crypto.tink.prf.PrfKeyTemplates
Deprecated.
 
HMAC_SHA512_256BITTAG - Static variable in class com.google.crypto.tink.mac.MacKeyTemplates
Deprecated.
A KeyTemplate that generates new instances of HmacKey with the following parameters: Key size: 64 bytes Tag size: 32 bytes Hash function: SHA512 OutputPrefixType: TINK
HMAC_SHA512_256BITTAG - Static variable in class com.google.crypto.tink.mac.PredefinedMacParameters
A Parameters object for generating new instances of HmacKey with the following parameters: Key size: 64 bytes Tag size: 32 bytes Hash function: SHA512 OutputPrefixType: TINK
HMAC_SHA512_512BITTAG - Static variable in class com.google.crypto.tink.mac.MacKeyTemplates
Deprecated.
A KeyTemplate that generates new instances of HmacKey with the following parameters: Key size: 64 bytes Tag size: 64 bytes Hash function: SHA512 OutputPrefixType: TINK
HMAC_SHA512_512BITTAG - Static variable in class com.google.crypto.tink.mac.PredefinedMacParameters
A Parameters object for generating new instances of HmacKey with the following parameters: Key size: 64 bytes Tag size: 64 bytes Hash function: SHA512 OutputPrefixType: TINK
HMAC_SHA512_PRF - Static variable in class com.google.crypto.tink.prf.PredefinedPrfParameters
A Parameters object for generating new instances of HmacPrfKey with the following parameters: Hash function: SHA512 HMAC key size: 64 bytes
HMAC_SHA512_PRF - Static variable in class com.google.crypto.tink.prf.PrfKeyTemplates
Deprecated.
 
HMAC_TYPE_URL - Static variable in class com.google.crypto.tink.mac.MacConfig
 
HmacKey - Class in com.google.crypto.tink.mac
Represents a key computing HMAC.
HmacKey.Builder - Class in com.google.crypto.tink.mac
Builder for HmacKey.
HmacKeyManager - Class in com.google.crypto.tink.mac
This key manager generates new HmacKey keys and produces new instances of PrfHmacJce.
HmacParameters - Class in com.google.crypto.tink.mac
Describes the parameters of an HmacKey.
HmacParameters.Builder - Class in com.google.crypto.tink.mac
Builds a new HmacParameters instance.
HmacParameters.HashType - Class in com.google.crypto.tink.mac
The Hash algorithm used.
HmacParameters.Variant - Class in com.google.crypto.tink.mac
Describes details of the mac computation.
HmacPrfKey - Class in com.google.crypto.tink.prf
Represents a key computing HMAC PRF.
HmacPrfKey.Builder - Class in com.google.crypto.tink.prf
Builder for HmacPrfKey.
HmacPrfKeyManager - Class in com.google.crypto.tink.prf
This key manager generates new HmacPrfKey keys and produces new instances of PrfHmacJce.
HmacPrfParameters - Class in com.google.crypto.tink.prf
Describes the parameters of an HmacPrfKey.
HmacPrfParameters.Builder - Class in com.google.crypto.tink.prf
Builder for HmacPrfParameters.
HmacPrfParameters.HashType - Class in com.google.crypto.tink.prf
The Hash algorithm used.
HmacPrfProtoSerialization - Class in com.google.crypto.tink.prf.internal
Methods to serialize and parse HmacPrfKey objects and HmacPrfParameters objects.
HmacProtoSerialization - Class in com.google.crypto.tink.mac.internal
Methods to serialize and parse HmacKey objects and HmacParameters objects.
hmacSha256HalfDigestTemplate() - Static method in class com.google.crypto.tink.mac.HmacKeyManager
 
hmacSha256Template() - Static method in class com.google.crypto.tink.mac.HmacKeyManager
 
hmacSha256Template() - Static method in class com.google.crypto.tink.prf.HmacPrfKeyManager
Returns a KeyTemplate that generates new instances of HMAC keys with the following parameters: Key size: 32 bytes Hash function: SHA256 Prefix type: KeyTemplate.OutputPrefixType.RAW
hmacSha512HalfDigestTemplate() - Static method in class com.google.crypto.tink.mac.HmacKeyManager
 
hmacSha512Template() - Static method in class com.google.crypto.tink.mac.HmacKeyManager
 
hmacSha512Template() - Static method in class com.google.crypto.tink.prf.HmacPrfKeyManager
Returns a KeyTemplate that generates new instances of HMAC keys with the following parameters: Key size: 64 bytes Hash function: SHA512 Prefix type: KeyTemplate.OutputPrefixType.RAW
HpkeAead - Interface in com.google.crypto.tink.hybrid.internal
Interface for Hybrid Public Key Encryption (HPKE) authenticated encryption with associated data (AEAD).
HpkeContext - Class in com.google.crypto.tink.hybrid.internal
Hybrid Public Key Encryption (HPKE) context for either a sender or a recipient.
HpkeDecrypt - Class in com.google.crypto.tink.hybrid.internal
Hybrid Public Key Encryption (HPKE) decryption.
HpkeEncrypt - Class in com.google.crypto.tink.hybrid.internal
Hybrid Public Key Encryption (HPKE) encryption.
HpkeHelperForAndroidKeystore - Class in com.google.crypto.tink.hybrid.internal
A class with functions helping for HPKE implementations based on Android Keystore.
HpkeKdf - Interface in com.google.crypto.tink.hybrid.internal
Interface for Hybrid Public Key Encryption (HPKE) key derivation function (KDF).
HpkeKem - Interface in com.google.crypto.tink.hybrid.internal
Interface for Hybrid Public Key Encryption (HPKE) key encapsulation mechanism (KEM).
HpkeKemKeyFactory - Class in com.google.crypto.tink.hybrid.internal
Helper class for creating HPKE KEM asymmetric keys.
HpkeKemPrivateKey - Class in com.google.crypto.tink.hybrid.internal
Serialized Private/Public key tuple for Key Encapsulation Mechanism (KEM)
HpkeKemPrivateKey(Bytes, Bytes) - Constructor for class com.google.crypto.tink.hybrid.internal.HpkeKemPrivateKey
 
HpkeParameters - Class in com.google.crypto.tink.hybrid
Description of the parameters for an HpkePublicKey or HpkePrivateKey.
HpkeParameters.AeadId - Class in com.google.crypto.tink.hybrid
HPKE AEAD identifiers.
HpkeParameters.Builder - Class in com.google.crypto.tink.hybrid
Builds a new HpkeParameters instance.
HpkeParameters.KdfId - Class in com.google.crypto.tink.hybrid
HPKE KDF identifiers.
HpkeParameters.KemId - Class in com.google.crypto.tink.hybrid
HPKE KEM identifiers.
HpkeParameters.Variant - Class in com.google.crypto.tink.hybrid
Description of the output prefix prepended to the ciphertext.
HpkePrimitiveFactory - Class in com.google.crypto.tink.hybrid.internal
Helper class for creating HPKE primitives from algorithm identifiers or HpkeParameters identifiers.
HpkePrivateKey - Class in com.google.crypto.tink.hybrid
Representation of the decryption function for an HPKE hybrid encryption primitive.
HpkePrivateKeyManager - Class in com.google.crypto.tink.hybrid.internal
Key manager that generates new HpkePrivateKey keys and produces new instances of HpkeDecrypt primitives.
HpkeProtoSerialization - Class in com.google.crypto.tink.hybrid
Methods to serialize and parse HpkePrivateKey, HpkePublicKey, and HpkeParameters objects.
HpkePublicKey - Class in com.google.crypto.tink.hybrid
Representation of the encryption function for an HPKE hybrid encryption primitive.
HpkePublicKeyManager - Class in com.google.crypto.tink.hybrid.internal
This class is only here for legacy reasons and should be removed.
HpkeUtil - Class in com.google.crypto.tink.hybrid.internal
Collection of helper functions for HPKE.
HS256 - Static variable in class com.google.crypto.tink.jwt.JwtHmacParameters.Algorithm
 
hs256Template() - Static method in class com.google.crypto.tink.jwt.JwtHmacKeyManager
Returns a KeyTemplate that generates new instances of HS256 256-bit keys.
HS384 - Static variable in class com.google.crypto.tink.jwt.JwtHmacParameters.Algorithm
 
hs384Template() - Static method in class com.google.crypto.tink.jwt.JwtHmacKeyManager
Returns a KeyTemplate that generates new instances of HS384 384-bit keys.
HS512 - Static variable in class com.google.crypto.tink.jwt.JwtHmacParameters.Algorithm
 
hs512Template() - Static method in class com.google.crypto.tink.jwt.JwtHmacKeyManager
Returns a KeyTemplate that generates new instances of HS512 512-bit keys.
HybridConfig - Class in com.google.crypto.tink.hybrid
Static methods and constants for registering with the Registry all instances of HybridEncrypt and HybridDecrypt key types supported in a particular release of Tink.
HybridDecrypt - Interface in com.google.crypto.tink
Interface for hybrid decryption.
HybridDecryptConfig - Class in com.google.crypto.tink.hybrid
Deprecated.
HybridDecryptFactory - Class in com.google.crypto.tink.hybrid
Deprecated.
Use keysetHandle.getPrimitive(RegistryConfiguration.get(), HybridDecrypt.class) after registering the HybridDecryptWrapper instead.
HybridDecryptWrapper - Class in com.google.crypto.tink.hybrid
The implementation of PrimitiveWrapper<HybridDecrypt>.
HybridEncrypt - Interface in com.google.crypto.tink
Interface for hybrid encryption.
HybridEncryptConfig - Class in com.google.crypto.tink.hybrid
Deprecated.
HybridEncryptFactory - Class in com.google.crypto.tink.hybrid
Deprecated.
Use keysetHandle.getPrimitive(RegistryConfiguration.get(), HybridEncrypt.class) after registering the HybridEncryptWrapper instead.
HybridEncryptWrapper - Class in com.google.crypto.tink.hybrid
The implementation of PrimitiveWrapper<HybridEncrypt>.
HybridKeyTemplates - Class in com.google.crypto.tink.hybrid
Pre-generated KeyTemplate for HybridDecrypt and HybridEncrypt primitives.
HybridParameters - Class in com.google.crypto.tink.hybrid
Represents a description of a HybridPrivateKey and the corresponding HybridPublicKey excluding the randomly chosen key material.
HybridParameters() - Constructor for class com.google.crypto.tink.hybrid.HybridParameters
 
HybridPrivateKey - Class in com.google.crypto.tink.hybrid
Representation of the decryption function for a hybrid encryption primitive.
HybridPrivateKey() - Constructor for class com.google.crypto.tink.hybrid.HybridPrivateKey
 
HybridPublicKey - Class in com.google.crypto.tink.hybrid
Representation of the encryption function for a hybrid encryption primitive.
HybridPublicKey() - Constructor for class com.google.crypto.tink.hybrid.HybridPublicKey
 

I

IEEE_P1363 - com.google.crypto.tink.subtle.EllipticCurves.EcdsaEncoding
 
IEEE_P1363 - Static variable in class com.google.crypto.tink.signature.EcdsaParameters.SignatureEncoding
 
ignoreAudiences() - Method in class com.google.crypto.tink.jwt.JwtValidator.Builder
Lets the validator ignore the aud claim.
IGNORED - Static variable in class com.google.crypto.tink.jwt.JwtEcdsaParameters.KidStrategy
The "kid" header is ignored.
IGNORED - Static variable in class com.google.crypto.tink.jwt.JwtHmacParameters.KidStrategy
The "kid" header is ignored.
IGNORED - Static variable in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1Parameters.KidStrategy
The "kid" header is ignored.
IGNORED - Static variable in class com.google.crypto.tink.jwt.JwtRsaSsaPssParameters.KidStrategy
The "kid" header is ignored.
ignoreIssuer() - Method in class com.google.crypto.tink.jwt.JwtValidator.Builder
Lets the validator ignore the iss claim.
ignoreTypeHeader() - Method in class com.google.crypto.tink.jwt.JwtValidator.Builder
Lets the validator ignore the typ header.
importKey(Key) - Static method in class com.google.crypto.tink.KeysetHandle
Creates a new entry with a fixed key.
IndCpaCipher - Interface in com.google.crypto.tink.subtle
This interface for symmetric key ciphers that are indistinguishable against chosen-plaintext attacks.
init() - Static method in class com.google.crypto.tink.aead.AeadConfig
Deprecated.
init() - Static method in class com.google.crypto.tink.config.TinkConfig
Deprecated.
init() - Static method in class com.google.crypto.tink.daead.DeterministicAeadConfig
init() - Static method in class com.google.crypto.tink.hybrid.HybridConfig
Deprecated.
init() - Static method in class com.google.crypto.tink.internal.Ed25519
Initializes Ed25519 if not yet initialized.
init() - Static method in class com.google.crypto.tink.mac.MacConfig
Deprecated.
init() - Static method in class com.google.crypto.tink.signature.SignatureConfig
init() - Static method in class com.google.crypto.tink.streamingaead.StreamingAeadConfig
init(ByteBuffer, byte[]) - Method in interface com.google.crypto.tink.subtle.StreamSegmentDecrypter
 
InsecureNonceAesGcmJce - Class in com.google.crypto.tink.aead.internal
Insecure version of AesGcmJce that allows the caller to set the IV.
InsecureNonceAesGcmJce(byte[]) - Constructor for class com.google.crypto.tink.aead.internal.InsecureNonceAesGcmJce
 
InsecureNonceChaCha20 - Class in com.google.crypto.tink.aead.internal
A stream cipher, as described in RFC 8439 https://tools.ietf.org/html/rfc8439, section 2.4.
InsecureNonceChaCha20(byte[], int) - Constructor for class com.google.crypto.tink.aead.internal.InsecureNonceChaCha20
 
InsecureNonceChaCha20Poly1305 - Class in com.google.crypto.tink.aead.internal
ChaCha20Poly1305 AEAD construction, as described in RFC 8439, section 2.8.
InsecureNonceChaCha20Poly1305(byte[]) - Constructor for class com.google.crypto.tink.aead.internal.InsecureNonceChaCha20Poly1305
 
InsecureNonceChaCha20Poly1305Jce - Class in com.google.crypto.tink.aead.internal
Implements ChaCha20Poly1305, as described in RFC 8439, section 2.8.
InsecureNonceXChaCha20 - Class in com.google.crypto.tink.aead.internal
InsecureNonceXChaCha20 stream cipher based on https://download.libsodium.org/doc/advanced/xchacha20.html and https://tools.ietf.org/html/draft-arciszewski-xchacha-01.
InsecureNonceXChaCha20(byte[], int) - Constructor for class com.google.crypto.tink.aead.internal.InsecureNonceXChaCha20
Constructs a new InsecureNonceXChaCha20 cipher with the supplied key.
InsecureNonceXChaCha20Poly1305 - Class in com.google.crypto.tink.aead.internal
XChaCha20Poly1305 AEAD construction, as described in https://tools.ietf.org/html/draft-arciszewski-xchacha-01.
InsecureNonceXChaCha20Poly1305(byte[]) - Constructor for class com.google.crypto.tink.aead.internal.InsecureNonceXChaCha20Poly1305
 
insecureSecretAccess() - Static method in class com.google.crypto.tink.tinkkey.SecretKeyAccess
Returns a KeyAccess instance where canAccessSecret() returns true.
InsecureSecretKeyAccess - Class in com.google.crypto.tink
A helper class to create SecretKeyAccess tokens.
integer2Bytes(BigInteger, int) - Static method in class com.google.crypto.tink.subtle.SubtleUtil
Converts a nonnegative integer to a byte array of a specified length (https://tools.ietf.org/html/rfc8017#section-4.2).
InternalConfiguration - Class in com.google.crypto.tink.internal
Abstract class representing the real configuration API, i.e.
InternalConfiguration() - Constructor for class com.google.crypto.tink.internal.InternalConfiguration
 
InternalKeyHandle - Class in com.google.crypto.tink.tinkkey.internal
Class used to expose the protected KeyHandle constructor to the rest of Tink.
InternalKeyHandle(TinkKey, KeyStatusType, int) - Constructor for class com.google.crypto.tink.tinkkey.internal.InternalKeyHandle
 
intToByteArray(int, int) - Static method in class com.google.crypto.tink.hybrid.internal.HpkeUtil
Transforms a passed value to an MSB first byte array with the size of the specified capacity.
intToByteArray(int, int) - Static method in class com.google.crypto.tink.subtle.Bytes
Transforms a passed value to a LSB first byte array with the size of the specified capacity
isAesGcmSivCipher(Cipher) - Static method in class com.google.crypto.tink.aead.internal.AesGcmSiv
Returns true if the cipher is an AES-GCM-SIV cipher.
isAndroid() - Static method in class com.google.crypto.tink.internal.Util
Best-effort checks that this is Android.
isAndroid() - Static method in class com.google.crypto.tink.subtle.SubtleUtil
Best-effort checks that this is Android.
isCompatible() - Method in enum com.google.crypto.tink.config.internal.TinkFipsUtil.AlgorithmFipsCompatibility
 
isConscryptProvider(Provider) - Static method in class com.google.crypto.tink.internal.ConscryptUtil
 
isEmpty() - Method in class com.google.crypto.tink.internal.KeyManagerRegistry
 
isEmpty() - Method in class com.google.crypto.tink.internal.MonitoringAnnotations
Returns true if the annotations are empty.
isNewKeyAllowed(String) - Method in class com.google.crypto.tink.internal.KeyManagerRegistry
 
isNistEcParameterSpec(ECParameterSpec) - Static method in class com.google.crypto.tink.internal.EllipticCurvesUtil
Returns whether spec is a ECParameterSpec of one of the NIST curves.
isNistEcParameterSpec(ECParameterSpec) - Static method in class com.google.crypto.tink.subtle.EllipticCurves
Returns whether spec is a ECParameterSpec of one of the NIST curves.
isNullClaim(String) - Method in class com.google.crypto.tink.jwt.VerifiedJwt
Returns true iff there is a non-registered claim of name name and type NULL.
isOpen() - Method in class com.google.crypto.tink.subtle.RewindableReadableByteChannel
 
isPrefix(byte[], byte[]) - Static method in class com.google.crypto.tink.internal.Util
Returns true if the first argument is a prefix of the second argument.
isPrimary() - Method in interface com.google.crypto.tink.internal.KeysetHandleInterface.Entry
 
isPrimary() - Method in class com.google.crypto.tink.KeysetHandle.Builder.Entry
Returns whether this entry has been marked as a primary.
isPrimary() - Method in class com.google.crypto.tink.KeysetHandle.Entry
Guaranteed to be true in exactly one entry.
isSameEcParameterSpec(ECParameterSpec, ECParameterSpec) - Static method in class com.google.crypto.tink.internal.EllipticCurvesUtil
Returns whether one is the same ECParameterSpec as two.
isSameEcParameterSpec(ECParameterSpec, ECParameterSpec) - Static method in class com.google.crypto.tink.subtle.EllipticCurves
Returns whether one is the same ECParameterSpec as two.
isSupported() - Static method in class com.google.crypto.tink.aead.internal.ChaCha20Poly1305Jce
 
isSupported() - Static method in class com.google.crypto.tink.aead.internal.InsecureNonceChaCha20Poly1305Jce
 
isSupported() - Static method in class com.google.crypto.tink.aead.internal.XChaCha20Poly1305Jce
 
isSupported() - Static method in class com.google.crypto.tink.signature.internal.Ed25519SignJce
Returns true if the Conscrypt is available and supports Ed25519.
isSupported() - Static method in class com.google.crypto.tink.signature.internal.Ed25519VerifyJce
Returns true if the JCE supports Ed25519.
isSupportedDekKeyType(String) - Static method in class com.google.crypto.tink.aead.KmsEnvelopeAead
 
isUsingKeystore() - Method in class com.google.crypto.tink.integration.android.AndroidKeysetManager
Returns whether Android Keystore is being used to wrap Tink keysets.
isValidDerEncoding(byte[]) - Static method in class com.google.crypto.tink.subtle.EllipticCurves
 
isValidString(String) - Static method in class com.google.crypto.tink.internal.JsonParser
 
IV_SIZE_IN_BYTES - Static variable in class com.google.crypto.tink.aead.internal.AesGcmJceUtil
 
IV_SIZE_IN_BYTES - Static variable in class com.google.crypto.tink.aead.internal.InsecureNonceAesGcmJce
 

J

JsonKeysetReader - Class in com.google.crypto.tink
A KeysetReader that can read from source source cleartext or encrypted keysets in proto JSON format.
JsonKeysetWriter - Class in com.google.crypto.tink
Deprecated.
Serialize the Keyset using TinkJsonProtoKeysetFormat.serializeKeyset() instead.
JsonParser - Class in com.google.crypto.tink.internal
A JSON Parser based on the GSON JsonReader.
JwkSetConverter - Class in com.google.crypto.tink.jwt
Provides functions to import and export public Json Web Key (JWK) sets.
JWT_ECDSA_PRIVATE_KEY_TYPE_URL - Static variable in class com.google.crypto.tink.jwt.JwtSignatureConfig
 
JWT_ECDSA_PUBLIC_KEY_TYPE_URL - Static variable in class com.google.crypto.tink.jwt.JwtSignatureConfig
 
JWT_HMAC_TYPE_URL - Static variable in class com.google.crypto.tink.jwt.JwtMacConfig
 
JWT_RSA_PKCS1_PRIVATE_KEY_TYPE_URL - Static variable in class com.google.crypto.tink.jwt.JwtSignatureConfig
 
JWT_RSA_PKCS1_PUBLIC_KEY_TYPE_URL - Static variable in class com.google.crypto.tink.jwt.JwtSignatureConfig
 
JWT_RSA_PSS_PRIVATE_KEY_TYPE_URL - Static variable in class com.google.crypto.tink.jwt.JwtSignatureConfig
 
JWT_RSA_PSS_PUBLIC_KEY_TYPE_URL - Static variable in class com.google.crypto.tink.jwt.JwtSignatureConfig
 
JwtEcdsaParameters - Class in com.google.crypto.tink.jwt
Describes the parameters of a JwtEcdsaPrivateKey or a JwtEcdsaPublicKey.
JwtEcdsaParameters.Algorithm - Class in com.google.crypto.tink.jwt
The algorithm to be used for the signature computation.
JwtEcdsaParameters.Builder - Class in com.google.crypto.tink.jwt
Helps creating a JwtEcdsaParameters object.
JwtEcdsaParameters.KidStrategy - Class in com.google.crypto.tink.jwt
Specifies how the "kid" header is handled.
JwtEcdsaPrivateKey - Class in com.google.crypto.tink.jwt
Represents a key for computing JWT ECDSA signatures (ES256, ES384, ES512).
JwtEcdsaPublicKey - Class in com.google.crypto.tink.jwt
JwtEcdsaPublicKey represents the public portion of JWT ECDSA keys.
JwtEcdsaPublicKey.Builder - Class in com.google.crypto.tink.jwt
Builder for EcdsaPublicKey.
JwtEcdsaSignKeyManager - Class in com.google.crypto.tink.jwt
This key manager generates new JwtEcdsaSignKey keys and produces new instances of JwtPublicKeySign.
JwtHmacKey - Class in com.google.crypto.tink.jwt
Represents a JWT HMAC key to create and verify JWT using HMAC.
JwtHmacKey.Builder - Class in com.google.crypto.tink.jwt
Helps creating new JwtHmacKey objects.
JwtHmacKeyManager - Class in com.google.crypto.tink.jwt
This key manager generates new JwtHmacKey keys and produces new instances of JwtHmacKeyManager.JwtHmac.
JwtHmacParameters - Class in com.google.crypto.tink.jwt
Describes the parameters of a JwtHmacKey.
JwtHmacParameters.Algorithm - Class in com.google.crypto.tink.jwt
The algorithm to be used for the mac computation.
JwtHmacParameters.Builder - Class in com.google.crypto.tink.jwt
Helps creating a JwtHmacParameters object.
JwtHmacParameters.KidStrategy - Class in com.google.crypto.tink.jwt
Specifies how the "kid" header is handled.
JwtInvalidException - Exception in com.google.crypto.tink.jwt
This error is thrown when one of the headers or one of the claims is invalid.
JwtInvalidException(String) - Constructor for exception com.google.crypto.tink.jwt.JwtInvalidException
 
JwtMac - Interface in com.google.crypto.tink.jwt
Interface for authenticating and verifying JWT with JWS MAC, as described in RFC 7519 and RFC 7515.
JwtMacConfig - Class in com.google.crypto.tink.jwt
Static methods and constants for registering with the Registry all instances of JwtMac key types supported in a particular release of Tink.
JwtMacKey - Class in com.google.crypto.tink.jwt
Represents a key to compute JWT using symmetric cryptography (i.e., using the JwtMac interface).
JwtMacKey() - Constructor for class com.google.crypto.tink.jwt.JwtMacKey
 
JwtMacParameters - Class in com.google.crypto.tink.jwt
Represents a description of a JwtMacKey excluding the randomly chosen key material.
JwtMacParameters() - Constructor for class com.google.crypto.tink.jwt.JwtMacParameters
 
JwtPublicKeySign - Interface in com.google.crypto.tink.jwt
Interface for creating a signed JWT, as described in RFC 7519 and RFC 7515.
JwtPublicKeySignInternal - Interface in com.google.crypto.tink.jwt
Interface for creating a signed JWT, as described in RFC 7519 and RFC 7515.
JwtPublicKeyVerify - Interface in com.google.crypto.tink.jwt
Interface for verifying a signed JWT, as described in RFC 7519 and RFC 7515.
JwtPublicKeyVerifyInternal - Interface in com.google.crypto.tink.jwt
Interface for verifying a signed JWT, as described in RFC 7519 and RFC 7515.
JwtRsaSsaPkcs1Parameters - Class in com.google.crypto.tink.jwt
Describes the parameters of a JwtRsaSsaPkcs1PublicKey and JwtRsaSsaPkcs1PrivateKey.
JwtRsaSsaPkcs1Parameters.Algorithm - Class in com.google.crypto.tink.jwt
The algorithm to be used for the signature computation.
JwtRsaSsaPkcs1Parameters.Builder - Class in com.google.crypto.tink.jwt
Builds a new JwtRsaSsaPkcs1Parameters instance.
JwtRsaSsaPkcs1Parameters.KidStrategy - Class in com.google.crypto.tink.jwt
Specifies how the "kid" header is handled.
JwtRsaSsaPkcs1PrivateKey - Class in com.google.crypto.tink.jwt
Represents a private key for RSA SSA PKCS1 signatures (RS256, RS384, RS512).
JwtRsaSsaPkcs1PrivateKey.Builder - Class in com.google.crypto.tink.jwt
Builder for JwtRsaSsaPkcs1PrivateKey.
JwtRsaSsaPkcs1PublicKey - Class in com.google.crypto.tink.jwt
Represents a public key for the JWT RSA SSA PKCS1 signature primitive.
JwtRsaSsaPkcs1PublicKey.Builder - Class in com.google.crypto.tink.jwt
Builder for JwtRsaSsaPkcs1PublicKey.
JwtRsaSsaPkcs1SignKeyManager - Class in com.google.crypto.tink.jwt
This key manager generates new JwtRsaSsaPkcs1PrivateKey keys and produces new instances of JwtPublicKeySign.
JwtRsaSsaPssParameters - Class in com.google.crypto.tink.jwt
Describes the parameters of a JwtRsaSsaPssPublicKey and JwtRsaSsaPssPrivateKey.
JwtRsaSsaPssParameters.Algorithm - Class in com.google.crypto.tink.jwt
The algorithm to be used for the signature computation.
JwtRsaSsaPssParameters.Builder - Class in com.google.crypto.tink.jwt
Builds a new JwtRsaSsaPssParameters instance.
JwtRsaSsaPssParameters.KidStrategy - Class in com.google.crypto.tink.jwt
Specifies how the "kid" header is handled.
JwtRsaSsaPssPrivateKey - Class in com.google.crypto.tink.jwt
Represents a private key for RSA SSA PSS signatures (PS256, PS384, PS512).
JwtRsaSsaPssPrivateKey.Builder - Class in com.google.crypto.tink.jwt
Builder for JwtRsaSsaPssPrivateKey.
JwtRsaSsaPssPublicKey - Class in com.google.crypto.tink.jwt
Represents a public key for the JWT RSA SSA PSS signature primitive.
JwtRsaSsaPssPublicKey.Builder - Class in com.google.crypto.tink.jwt
Builder for JwtRsaSsaPssPublicKey.
JwtRsaSsaPssSignKeyManager - Class in com.google.crypto.tink.jwt
This key manager generates new JwtRsaSsaPssPrivateKey keys and produces new instances of JwtPublicKeySign.
JwtSignatureConfig - Class in com.google.crypto.tink.jwt
Static methods and constants for registering with the Registry all instances of JwtPublicKeySign and JwtPublicKeyVerify key types supported in a particular release of Tink.
JwtSignatureParameters - Class in com.google.crypto.tink.jwt
Represents a description of a JwtSignatureKey excluding the randomly chosen key material.
JwtSignatureParameters() - Constructor for class com.google.crypto.tink.jwt.JwtSignatureParameters
 
JwtSignaturePrivateKey - Class in com.google.crypto.tink.jwt
Represents a key to compute JWT using asymmetric cryptography (i.e., using the JwtPublicKeySign interface).
JwtSignaturePrivateKey() - Constructor for class com.google.crypto.tink.jwt.JwtSignaturePrivateKey
 
JwtSignaturePublicKey - Class in com.google.crypto.tink.jwt
Represents a key to verify JWT using asymmetric cryptography (i.e., using the JwtPublicKeyVerify interface).
JwtSignaturePublicKey() - Constructor for class com.google.crypto.tink.jwt.JwtSignaturePublicKey
 
JwtValidator - Class in com.google.crypto.tink.jwt
Defines how the headers and claims of a JWT should be validated.
JwtValidator.Builder - Class in com.google.crypto.tink.jwt
Builder for JwtValidator

K

KemKey(byte[], byte[]) - Constructor for class com.google.crypto.tink.subtle.EciesHkdfSenderKem.KemKey
 
Key - Class in com.google.crypto.tink
Represents a cryptographic object.
Key() - Constructor for class com.google.crypto.tink.Key
 
KEY_AGREEMENT - Static variable in class com.google.crypto.tink.subtle.EngineFactory
 
KEY_FACTORY - Static variable in class com.google.crypto.tink.subtle.EngineFactory
 
KEY_PAIR_GENERATOR - Static variable in class com.google.crypto.tink.subtle.EngineFactory
 
KeyAccess - Class in com.google.crypto.tink.tinkkey
An access token for TinkKey.
KeyCreator<ParametersT extends Parameters> - Interface in com.google.crypto.tink.internal
A class to create key objects from parameters.
KeyDerivationConfig - Class in com.google.crypto.tink.keyderivation
Static methods and constants for registering with the Registry all instances of KeysetDeriver key types supported in a particular release of Tink.
KeyDerivationKey - Class in com.google.crypto.tink.keyderivation
Represents a function to derive a key.
KeyDerivationKey() - Constructor for class com.google.crypto.tink.keyderivation.KeyDerivationKey
 
KeyDerivationParameters - Class in com.google.crypto.tink.keyderivation
The public part of a KeyDerivationKey.
KeyDerivationParameters() - Constructor for class com.google.crypto.tink.keyderivation.KeyDerivationParameters
 
KeyDeriver - Interface in com.google.crypto.tink.keyderivation.internal
Derives a single key from a given salt.
KeyGenConfiguration - Class in com.google.crypto.tink
An object of this class represents a collection of key types that a user wants Tink to understand.
KeyGenConfiguration() - Constructor for class com.google.crypto.tink.KeyGenConfiguration
 
KeyHandle - Class in com.google.crypto.tink.tinkkey
Wraps a TinkKey and enforces access to the underlying TinkKey with KeyAccess.
KeyHandle(TinkKey, KeyHandle.KeyStatusType, int) - Constructor for class com.google.crypto.tink.tinkkey.KeyHandle
Constructor intended for Tink internal purposes; allows one to set all the member variables of a KeyHandle.
KeyHandle.KeyStatusType - Enum in com.google.crypto.tink.tinkkey
KeyStatusType is metadata associated to a key which is only meaningful when the key is part of a Keyset.
KeyManager<P> - Interface in com.google.crypto.tink
A KeyManager "understands" keys of a specific key type: it can generate keys of the supported type and create primitives for supported keys.
KeyManagerRegistry - Class in com.google.crypto.tink.internal
An internal API to register KeyManagers.
KeyManagerRegistry() - Constructor for class com.google.crypto.tink.internal.KeyManagerRegistry
 
KeyManagerRegistry(KeyManagerRegistry) - Constructor for class com.google.crypto.tink.internal.KeyManagerRegistry
 
KeyPair(byte[], byte[]) - Constructor for class com.google.crypto.tink.hybrid.internal.X25519.KeyPair
 
KeyParser<SerializationT extends Serialization> - Class in com.google.crypto.tink.internal
Parses Serialization objects into Key objects of a certain kind.
KeyParser.KeyParsingFunction<SerializationT extends Serialization> - Interface in com.google.crypto.tink.internal
A function which parses a key.
KeySerializer<KeyT extends Key,​SerializationT extends Serialization> - Class in com.google.crypto.tink.internal
Serializes Key objects into Serialization objects of a certain kind.
KeySerializer.KeySerializationFunction<KeyT extends Key,​SerializationT extends Serialization> - Interface in com.google.crypto.tink.internal
A function which serializes a key.
KeysetDeriver - Interface in com.google.crypto.tink.keyderivation
KeysetDeriver is the interface used to derive new keysets based on an additional input, the salt.
KeysetDeriverWrapper - Class in com.google.crypto.tink.keyderivation.internal
Knows how to implement a KeysetDeriver object from KeyDeriver objects.
KeysetDeriverWrapper - Class in com.google.crypto.tink.keyderivation
KeysetDeriverWrapper is the implementation of PrimitiveWrapper for the KeysetDeriver primitive.
KeysetHandle - Class in com.google.crypto.tink
A KeysetHandle provides abstracted access to Keyset, to limit the exposure of actual protocol buffers that hold sensitive key material.
KeysetHandle.Builder - Class in com.google.crypto.tink
Used to create new KeysetHandle objects.
KeysetHandle.Builder.Entry - Class in com.google.crypto.tink
One entry, representing a single key, in a Keyset.Builder.
KeysetHandle.Entry - Class in com.google.crypto.tink
Represents a single entry in a keyset.
KeysetHandleInterface - Interface in com.google.crypto.tink.internal
Provides the basic interface for KeysetHandle.
KeysetHandleInterface.Entry - Interface in com.google.crypto.tink.internal
Provides the basic interface for KeysetHandle.Entry.
KeysetManager - Class in com.google.crypto.tink
Manages a Keyset proto, with convenience methods that rotate, disable, enable or destroy keys.
KeysetReader - Interface in com.google.crypto.tink
A KeysetReader knows how to read a Keyset or an EncryptedKeyset from some source.
KeysetWriter - Interface in com.google.crypto.tink
A KeysetWriter knows how to write a Keyset or an EncryptedKeyset to some storage system.
keySizeInBits - Variable in enum com.google.crypto.tink.PemKeyType
 
keySizeInBits - Variable in enum com.google.crypto.tink.subtle.PemKeyType
Deprecated.
 
KeyStatus - Class in com.google.crypto.tink
Represents the status of a key in a keyset.
KeyStatusTypeProtoConverter - Class in com.google.crypto.tink.internal
Util functions to facilitate conversion between the KeyHandle.KeyStatusType enum and KeyHandle.KeyStatusType proto.
KeyTemplate - Class in com.google.crypto.tink
A KeyTemplate specifies how to generate keys of a particular type.
KeyTemplate.OutputPrefixType - Enum in com.google.crypto.tink
Tink produces and accepts ciphertexts or signatures that consist of a prefix and a payload.
KeyTemplateProtoConverter - Class in com.google.crypto.tink.internal
KeyTemplateProtoConverter converts KeyTemplate to and from the binary proto format.
keyTemplates() - Static method in class com.google.crypto.tink.Registry
Returns an immutable list of key template names supported by registered key managers that are allowed to generate new keys.
KeyTemplates - Class in com.google.crypto.tink
This class consists exclusively of static methods that load KeyTemplate objects.
keyType - Variable in enum com.google.crypto.tink.PemKeyType
 
keyType - Variable in enum com.google.crypto.tink.subtle.PemKeyType
Deprecated.
 
keyUri() - Method in class com.google.crypto.tink.aead.LegacyKmsAeadParameters
 
KeyWrap - Interface in com.google.crypto.tink
Interface for symmetric Key wrapping.
KMS_AEAD_TYPE_URL - Static variable in class com.google.crypto.tink.aead.AeadConfig
 
KMS_ENVELOPE_AEAD_TYPE_URL - Static variable in class com.google.crypto.tink.aead.AeadConfig
 
KmsAeadKeyManager - Class in com.google.crypto.tink.aead
This key manager produces new instances of Aead that forwards encrypt/decrypt requests to a key residing in a remote KMS.
KmsClient - Interface in com.google.crypto.tink
A KmsClient knows how to produce primitives backed by keys stored in remote KMS services.
KmsClients - Class in com.google.crypto.tink
A container for KmsClient-objects that are needed by KeyManager-objects for primitives that use KMS-managed keys.
KmsEnvelopeAead - Class in com.google.crypto.tink.aead
This primitive implements envelope encryption.
KmsEnvelopeAead(KeyTemplate, Aead) - Constructor for class com.google.crypto.tink.aead.KmsEnvelopeAead
Deprecated.
Instead, call KmsEnvelopeAead.create as explained above.
KmsEnvelopeAeadKeyManager - Class in com.google.crypto.tink.aead
This key manager generates new KmsEnvelopeAeadKey keys and produces new instances of KmsEnvelopeAead.
Kwp - Class in com.google.crypto.tink.subtle
Deprecated.
Tink does not support KeyWrap anymore. This implementation was fallback code for old providers that did not implement KWP. It implements the same functionality as Cipher.getInstance("AESWRAPPAD");. Some provider use a different algorithm name: Cipher.getInstance("AES/KWP/NoPadding");.
Kwp(byte[]) - Constructor for class com.google.crypto.tink.subtle.Kwp
Deprecated.
Construct a new Instance for KWP.

L

labeledExpand(byte[], byte[], String, byte[], int) - Method in interface com.google.crypto.tink.hybrid.internal.HpkeKdf
Expands pseudorandom key prk into length pseudorandom bytes using info along with the HPKE-specific values infoLabel and suiteId to facilitate domain separation and context binding.
labeledExtract(byte[], byte[], String, byte[]) - Method in interface com.google.crypto.tink.hybrid.internal.HpkeKdf
Extracts pseudorandom key from salt and ikm using the HPKE-specific values ikmLabel and suiteId to facilitate domain separation and context binding.
LATEST - Static variable in class com.google.crypto.tink.aead.AeadConfig
Deprecated.
LATEST - Static variable in class com.google.crypto.tink.config.TinkConfig
Deprecated.
Configs are not supported anymore. Please call TinkConfig.register(); instead of accessing this variable.
LATEST - Static variable in class com.google.crypto.tink.daead.DeterministicAeadConfig
LATEST - Static variable in class com.google.crypto.tink.hybrid.HybridConfig
Deprecated. 
LATEST - Static variable in class com.google.crypto.tink.jwt.JwtSignatureConfig
 
LATEST - Static variable in class com.google.crypto.tink.mac.MacConfig
Deprecated.
LATEST - Static variable in class com.google.crypto.tink.signature.SignatureConfig
Deprecated.
LATEST - Static variable in class com.google.crypto.tink.streamingaead.StreamingAeadConfig
 
LEGACY - com.google.crypto.tink.KeyTemplate.OutputPrefixType
 
LEGACY - Static variable in class com.google.crypto.tink.mac.AesCmacParameters.Variant
 
LEGACY - Static variable in class com.google.crypto.tink.mac.HmacParameters.Variant
 
LEGACY - Static variable in class com.google.crypto.tink.signature.EcdsaParameters.Variant
 
LEGACY - Static variable in class com.google.crypto.tink.signature.Ed25519Parameters.Variant
 
LEGACY - Static variable in class com.google.crypto.tink.signature.RsaSsaPkcs1Parameters.Variant
 
LEGACY - Static variable in class com.google.crypto.tink.signature.RsaSsaPssParameters.Variant
 
LEGACY_PREFIX_SIZE - Static variable in class com.google.crypto.tink.CryptoFormat
Legacy or Crunchy prefix starts with \x00 and followed by a 4-byte key id.
LEGACY_START_BYTE - Static variable in class com.google.crypto.tink.CryptoFormat
 
LEGACY_START_BYTE - Static variable in class com.google.crypto.tink.internal.OutputPrefixUtil
 
LEGACY_UNCOMPRESSED - Static variable in class com.google.crypto.tink.hybrid.EciesParameters.PointFormat
Like UNCOMPRESSED, but without the \x04 prefix.
LegacyFullAead - Class in com.google.crypto.tink.aead.internal
Takes an arbitrary raw AEAD and makes it a full primitive.
LegacyFullDeterministicAead - Class in com.google.crypto.tink.daead.internal
Takes an arbitrary raw DeterministicAead and makes it a full primitive.
LegacyFullHybridDecrypt - Class in com.google.crypto.tink.hybrid.internal
Takes an arbitrary raw HybridDecrypt and makes it a full primitive.
LegacyFullHybridEncrypt - Class in com.google.crypto.tink.hybrid.internal
Takes an arbitrary raw HybridEncrypt and makes it a full primitive.
LegacyFullMac - Class in com.google.crypto.tink.mac.internal
Takes an arbitrary raw Mac and makes it a full primitive.
LegacyFullPrf - Class in com.google.crypto.tink.prf.internal
Takes an arbitrary raw Prf and makes it a full primitive.
LegacyFullSign - Class in com.google.crypto.tink.signature.internal
Takes an arbitrary raw PublicKeySign from the registry and creates a full PublicKeySign out of it.
LegacyFullStreamingAead - Class in com.google.crypto.tink.streamingaead.internal
Takes an arbitrary raw StreamingAead and makes it a full primitive.
LegacyFullVerify - Class in com.google.crypto.tink.signature.internal
Takes an arbitrary raw PublicKeyVerify from the registry and creates a full PublicKeyVerify out of it.
LegacyKeyManagerImpl<P> - Class in com.google.crypto.tink.internal
A composed KeyManager implements a KeyManager by accessing the internal specific registries.
LegacyKeysetSerialization - Class in com.google.crypto.tink
Parsing and Serialization methods for use with KeysetReader and KeysetWriter classes.
LegacyKmsAeadKey - Class in com.google.crypto.tink.aead
Describes an Aead backed by a KMS.
LegacyKmsAeadParameters - Class in com.google.crypto.tink.aead
Describes the parameters of an KmsAeadKey
LegacyKmsAeadParameters.Variant - Class in com.google.crypto.tink.aead
Describes how the prefix is computed.
LegacyKmsEnvelopeAeadKey - Class in com.google.crypto.tink.aead
Describes an EnvelopeAead backed by a KMS.
LegacyKmsEnvelopeAeadParameters - Class in com.google.crypto.tink.aead
Describes the parameters of an LegacyKmsEnvelopeAeadKey.
LegacyKmsEnvelopeAeadParameters.Builder - Class in com.google.crypto.tink.aead
LegacyKmsEnvelopeAeadParameters.DekParsingStrategy - Class in com.google.crypto.tink.aead
Specifies how the DEK in received ciphertexts are parsed.
LegacyKmsEnvelopeAeadParameters.Variant - Class in com.google.crypto.tink.aead
Describes how the prefix is computed.
LegacyKmsEnvelopeAeadProtoSerialization - Class in com.google.crypto.tink.aead
Serializers and Parsers for LegacyKmsEnvelopeAeadProtoKey and LegacyKmsEnvelopeAeadProtoParameters
LegacyProtoKey - Class in com.google.crypto.tink.internal
Implements a Key for legacy types where no actual parser is present.
LegacyProtoKey(ProtoKeySerialization, SecretKeyAccess) - Constructor for class com.google.crypto.tink.internal.LegacyProtoKey
Creates a new LegacyProtoKey object.
LegacyProtoParameters - Class in com.google.crypto.tink.internal
Implements a Parameters object for legacy types where no actual Parameters object is present.
LegacyProtoParameters(ProtoParametersSerialization) - Constructor for class com.google.crypto.tink.internal.LegacyProtoParameters
Creates a new LegacyProtoParameters object.
LIMB_CNT - Static variable in class com.google.crypto.tink.internal.Field25519
 
log(int, long) - Method in interface com.google.crypto.tink.internal.MonitoringClient.Logger
Called on typical primitive APIs when an operation succeeds.
logFailure() - Method in interface com.google.crypto.tink.internal.MonitoringClient.Logger
Called on typical primitive APIs when an operation fails.
logKeyExport(int) - Method in interface com.google.crypto.tink.internal.MonitoringClient.Logger
Called when a key is potentially exported (e.g.

M

Mac - Interface in com.google.crypto.tink
Interface for Message Authentication Codes (MAC).
MAC - Static variable in class com.google.crypto.tink.subtle.EngineFactory
 
MAC_KEY_SIZE_IN_BYTES - Static variable in class com.google.crypto.tink.aead.internal.Poly1305
 
MAC_TAG_SIZE_IN_BYTES - Static variable in class com.google.crypto.tink.aead.internal.Poly1305
 
MacConfig - Class in com.google.crypto.tink.mac
Static methods and constants for registering with the Registry all instances of Mac key types supported in a particular release of Tink.
MacFactory - Class in com.google.crypto.tink.mac
Deprecated.
Use keysetHandle.getPrimitive(RegistryConfiguration.get(), Mac.class) after registering the MacWrapper instead.
MacKey - Class in com.google.crypto.tink.mac
Represents functions to compute and verify a cryptographic MAC.
MacKey() - Constructor for class com.google.crypto.tink.mac.MacKey
 
MacKeyTemplates - Class in com.google.crypto.tink.mac
Deprecated.
Use PredefinedMacParameters instead.
MacParameters - Class in com.google.crypto.tink.mac
Represents a description of a MacKey excluding the randomly chosen key material.
MacParameters() - Constructor for class com.google.crypto.tink.mac.MacParameters
 
MacWrapper - Class in com.google.crypto.tink.mac
MacWrapper is the implementation of PrimitiveWrapper for the Mac primitive.
makePrimary() - Method in class com.google.crypto.tink.KeysetHandle.Builder.Entry
Marks that this entry is the primary key.
MESSAGE_DIGEST - Static variable in class com.google.crypto.tink.subtle.EngineFactory
 
mgf1(byte[], int, Enums.HashType) - Static method in class com.google.crypto.tink.subtle.SubtleUtil
Computes MGF1 as defined at https://tools.ietf.org/html/rfc8017#appendix-B.2.1.
ML_DSA_65 - Static variable in class com.google.crypto.tink.signature.MlDsaParameters.MlDsaInstance
 
ML_DSA_87 - Static variable in class com.google.crypto.tink.signature.MlDsaParameters.MlDsaInstance
 
MlDsaParameters - Class in com.google.crypto.tink.signature
Describes the parameters of ML-DSA signature primitive.
MlDsaParameters.MlDsaInstance - Class in com.google.crypto.tink.signature
Describes the parameters set of ML-DSA that is used.
MlDsaParameters.Variant - Class in com.google.crypto.tink.signature
Describes details of the ML-DSA signature format.
MonitoringAnnotations - Class in com.google.crypto.tink.internal
Immutable keyset annotations used by monitoring.
MonitoringAnnotations.Builder - Class in com.google.crypto.tink.internal
Builder
MonitoringClient - Interface in com.google.crypto.tink.internal
Interface for a monitoring client which can be registered with Tink.
MonitoringClient.Logger - Interface in com.google.crypto.tink.internal
Interface that logs specific API calls of a specific primitive.
MonitoringUtil - Class in com.google.crypto.tink.internal
Some util functions needed to add monitoring to the Primitives.
multiplyByGenerator(BigInteger, ECParameterSpec) - Static method in class com.google.crypto.tink.internal.EllipticCurvesUtil
Calculates x times the generator of the give elliptic curve spec using the Montgomery ladder.
MutableKeyCreationRegistry - Class in com.google.crypto.tink.internal
Stores methods to create Key objects from Parameters with new randomness.
MutableKeyCreationRegistry() - Constructor for class com.google.crypto.tink.internal.MutableKeyCreationRegistry
 
MutableKeyDerivationRegistry - Class in com.google.crypto.tink.internal
Stores methods to create Key objects from Parameters with fixed randomness.
MutableKeyDerivationRegistry() - Constructor for class com.google.crypto.tink.internal.MutableKeyDerivationRegistry
 
MutableKeyDerivationRegistry.InsecureKeyCreator<ParametersT extends Parameters> - Interface in com.google.crypto.tink.internal
A class to create key objects from parameters with given randomness.
MutableMonitoringRegistry - Class in com.google.crypto.tink.internal
A Registry for MonitoringClient.
MutableMonitoringRegistry() - Constructor for class com.google.crypto.tink.internal.MutableMonitoringRegistry
 
MutableParametersRegistry - Class in com.google.crypto.tink.internal
A container for the global parameters values.
MutablePrimitiveRegistry - Class in com.google.crypto.tink.internal
A Mutable version of the PrimitiveRegistry.
MutableSerializationRegistry - Class in com.google.crypto.tink.internal
A Mutable version of the SerializationRegistry.
MutableSerializationRegistry() - Constructor for class com.google.crypto.tink.internal.MutableSerializationRegistry
 

N

newAesCtrHmac(byte[], int, String, byte[], int) - Static method in class com.google.crypto.tink.subtle.EncryptThenAuthenticate
Returns a new EncryptThenAuthenticate instance using AES-CTR and HMAC.
newBuilder() - Static method in class com.google.crypto.tink.internal.MonitoringAnnotations
 
newBuilder() - Static method in class com.google.crypto.tink.jwt.JwtValidator
Returns a new JwtValidator.Builder.
newBuilder() - Static method in class com.google.crypto.tink.jwt.RawJwt
Returns a new RawJwt.Builder.
newBuilder() - Static method in class com.google.crypto.tink.KeysetHandle
Creates a new builder.
newBuilder() - Static method in class com.google.crypto.tink.signature.SignaturePemKeysetReader
newBuilder(KeysetHandle) - Static method in class com.google.crypto.tink.KeysetHandle
Creates a new builder, initially containing all entries from handle.
newDecryptingChannel(ReadableByteChannel, byte[]) - Method in class com.google.crypto.tink.streamingaead.internal.LegacyFullStreamingAead
 
newDecryptingChannel(ReadableByteChannel, byte[]) - Method in interface com.google.crypto.tink.StreamingAead
 
newDecryptingStream(InputStream, byte[]) - Method in class com.google.crypto.tink.streamingaead.internal.LegacyFullStreamingAead
 
newDecryptingStream(InputStream, byte[]) - Method in interface com.google.crypto.tink.StreamingAead
Returns a wrapper around ciphertextSource, such that any read-operation via the wrapper results in AEAD-decryption of the underlying ciphertext, using associatedData as associated authenticated data.
newEncryptingChannel(WritableByteChannel, byte[]) - Method in class com.google.crypto.tink.streamingaead.internal.LegacyFullStreamingAead
 
newEncryptingChannel(WritableByteChannel, byte[]) - Method in interface com.google.crypto.tink.StreamingAead
Returns a WritableByteChannel for plaintext.
newEncryptingStream(OutputStream, byte[]) - Method in class com.google.crypto.tink.streamingaead.internal.LegacyFullStreamingAead
 
newEncryptingStream(OutputStream, byte[]) - Method in interface com.google.crypto.tink.StreamingAead
Returns a wrapper around ciphertextDestination, such that any write-operation via the wrapper results in AEAD-encryption of the written data, using associatedData as associated authenticated data.
newKey(KeyTemplate) - Static method in class com.google.crypto.tink.Registry
Deprecated.
Use newKeyData instead.
newKey(ByteString) - Method in class com.google.crypto.tink.internal.LegacyKeyManagerImpl
 
newKey(ByteString) - Method in class com.google.crypto.tink.keyderivation.internal.PrfBasedDeriverKeyManager
 
newKey(ByteString) - Method in interface com.google.crypto.tink.KeyManager
Deprecated.
Use newKeyData(serializedKeyFormat) instead.
newKey(MessageLite) - Method in class com.google.crypto.tink.internal.LegacyKeyManagerImpl
 
newKey(MessageLite) - Method in class com.google.crypto.tink.keyderivation.internal.PrfBasedDeriverKeyManager
 
newKey(MessageLite) - Method in interface com.google.crypto.tink.KeyManager
Deprecated.
Use newKeyData(serializedKeyFormat) instead.
newKey(String, MessageLite) - Static method in class com.google.crypto.tink.Registry
Deprecated.
Use newKeyData instead.
newKeyData(KeyTemplate) - Static method in class com.google.crypto.tink.Registry
Deprecated.
Use KeysetHandle.generateNew(keyTemplate.toParameters()) instead and use the Keyset Handle API.
newKeyData(KeyTemplate) - Static method in class com.google.crypto.tink.Registry
Deprecated.
Use KeysetHandle.generateNew with a Parameters object instead. To convert a proto KeyTemplate to a parameters one can use TinkProtoParametersFormat.parse(t.toByteArray());
newKeyData(ByteString) - Method in class com.google.crypto.tink.internal.LegacyKeyManagerImpl
 
newKeyData(ByteString) - Method in class com.google.crypto.tink.keyderivation.internal.PrfBasedDeriverKeyManager
 
newKeyData(ByteString) - Method in interface com.google.crypto.tink.KeyManager
Generates a new KeyData according to specification in serializedKeyFormat.
newKeyPair() - Static method in class com.google.crypto.tink.subtle.Ed25519Sign.KeyPair
Returns a new KeyPair.
newKeyPairFromSeed(byte[]) - Static method in class com.google.crypto.tink.subtle.Ed25519Sign.KeyPair
Returns a new KeyPair generated from a seed.
newSeekableDecryptingChannel(SeekableByteChannel, byte[]) - Method in class com.google.crypto.tink.streamingaead.internal.LegacyFullStreamingAead
 
newSeekableDecryptingChannel(SeekableByteChannel, byte[]) - Method in interface com.google.crypto.tink.StreamingAead
Returns a SeekableByteChannel that allows to access the plaintext.
newStreamSegmentDecrypter() - Method in class com.google.crypto.tink.subtle.AesCtrHmacStreaming
 
newStreamSegmentDecrypter() - Method in class com.google.crypto.tink.subtle.AesGcmHkdfStreaming
 
newStreamSegmentEncrypter(byte[]) - Method in class com.google.crypto.tink.subtle.AesCtrHmacStreaming
 
newStreamSegmentEncrypter(byte[]) - Method in class com.google.crypto.tink.subtle.AesGcmHkdfStreaming
 
NIST_P256 - com.google.crypto.tink.subtle.EllipticCurves.CurveType
 
NIST_P256 - Static variable in class com.google.crypto.tink.hybrid.EciesParameters.CurveType
 
NIST_P256 - Static variable in class com.google.crypto.tink.signature.EcdsaParameters.CurveType
 
NIST_P256_PARAMS - Static variable in class com.google.crypto.tink.internal.EllipticCurvesUtil
 
NIST_P384 - com.google.crypto.tink.subtle.EllipticCurves.CurveType
 
NIST_P384 - Static variable in class com.google.crypto.tink.hybrid.EciesParameters.CurveType
 
NIST_P384 - Static variable in class com.google.crypto.tink.signature.EcdsaParameters.CurveType
 
NIST_P384_PARAMS - Static variable in class com.google.crypto.tink.internal.EllipticCurvesUtil
 
NIST_P521 - com.google.crypto.tink.subtle.EllipticCurves.CurveType
 
NIST_P521 - Static variable in class com.google.crypto.tink.hybrid.EciesParameters.CurveType
 
NIST_P521 - Static variable in class com.google.crypto.tink.signature.EcdsaParameters.CurveType
 
NIST_P521_PARAMS - Static variable in class com.google.crypto.tink.internal.EllipticCurvesUtil
 
NO_CLOSE - Static variable in class com.google.crypto.tink.subtle.Base64
Flag to pass to Base64OutputStream to indicate that it should not close the output stream it is wrapping when it itself is closed.
NO_PADDING - Static variable in class com.google.crypto.tink.subtle.Base64
Encoder flag bit to omit the padding '=' characters at the end of the output (if any).
NO_PREFIX - Static variable in class com.google.crypto.tink.aead.AesCtrHmacAeadParameters.Variant
 
NO_PREFIX - Static variable in class com.google.crypto.tink.aead.AesEaxParameters.Variant
 
NO_PREFIX - Static variable in class com.google.crypto.tink.aead.AesGcmParameters.Variant
 
NO_PREFIX - Static variable in class com.google.crypto.tink.aead.AesGcmSivParameters.Variant
 
NO_PREFIX - Static variable in class com.google.crypto.tink.aead.ChaCha20Poly1305Parameters.Variant
 
NO_PREFIX - Static variable in class com.google.crypto.tink.aead.LegacyKmsAeadParameters.Variant
 
NO_PREFIX - Static variable in class com.google.crypto.tink.aead.LegacyKmsEnvelopeAeadParameters.Variant
 
NO_PREFIX - Static variable in class com.google.crypto.tink.aead.XAesGcmParameters.Variant
 
NO_PREFIX - Static variable in class com.google.crypto.tink.aead.XChaCha20Poly1305Parameters.Variant
 
NO_PREFIX - Static variable in class com.google.crypto.tink.daead.AesSivParameters.Variant
 
NO_PREFIX - Static variable in class com.google.crypto.tink.hybrid.EciesParameters.Variant
Empty prefix.
NO_PREFIX - Static variable in class com.google.crypto.tink.hybrid.HpkeParameters.Variant
NO_PREFIX: Empty prefix.
NO_PREFIX - Static variable in class com.google.crypto.tink.mac.AesCmacParameters.Variant
 
NO_PREFIX - Static variable in class com.google.crypto.tink.mac.HmacParameters.Variant
 
NO_PREFIX - Static variable in class com.google.crypto.tink.signature.EcdsaParameters.Variant
 
NO_PREFIX - Static variable in class com.google.crypto.tink.signature.Ed25519Parameters.Variant
 
NO_PREFIX - Static variable in class com.google.crypto.tink.signature.MlDsaParameters.Variant
 
NO_PREFIX - Static variable in class com.google.crypto.tink.signature.RsaSsaPkcs1Parameters.Variant
 
NO_PREFIX - Static variable in class com.google.crypto.tink.signature.RsaSsaPssParameters.Variant
 
NO_WRAP - Static variable in class com.google.crypto.tink.subtle.Base64
Encoder flag bit to omit all line terminators (i.e., the output will be on one long line).
NON_EMPTY_PREFIX_SIZE - Static variable in class com.google.crypto.tink.internal.OutputPrefixUtil
All non-empty prefixes must have the same size of 5 bytes.
NON_RAW_PREFIX_SIZE - Static variable in class com.google.crypto.tink.CryptoFormat
Prefix size of Tink, Legacy and Crunchy output prefix types.
NONCE_SIZE_IN_BYTES - Static variable in class com.google.crypto.tink.aead.internal.InsecureNonceXChaCha20
 
nonceSizeInBytes() - Method in class com.google.crypto.tink.aead.internal.InsecureNonceChaCha20
 
NoSecretKeysetHandle - Class in com.google.crypto.tink

O

open(byte[], byte[]) - Method in class com.google.crypto.tink.hybrid.internal.HpkeContext
Performs AEAD decryption of ciphertext with associatedData according to ContextR.Open() defined in https://www.rfc-editor.org/rfc/rfc9180.html#section-5.2-10.
open(byte[], byte[], byte[], byte[]) - Method in interface com.google.crypto.tink.hybrid.internal.HpkeAead
Performs authenticated decryption of ciphertext and associatedData using key and nonce according to the HPKE AEAD specification.
open(byte[], byte[], byte[], int, byte[]) - Method in interface com.google.crypto.tink.hybrid.internal.HpkeAead
 
OutputPrefixUtil - Class in com.google.crypto.tink.internal
Convenience functions that deal with output prefix.

P

P256_HKDF_SHA256_KEM_ID - Static variable in class com.google.crypto.tink.hybrid.internal.HpkeUtil
 
P384_HKDF_SHA384_KEM_ID - Static variable in class com.google.crypto.tink.hybrid.internal.HpkeUtil
 
P521_HKDF_SHA512_KEM_ID - Static variable in class com.google.crypto.tink.hybrid.internal.HpkeUtil
 
Parameters - Class in com.google.crypto.tink
Represents a cryptographic function without the actual key material.
Parameters() - Constructor for class com.google.crypto.tink.Parameters
 
ParametersParser<SerializationT extends Serialization> - Class in com.google.crypto.tink.internal
Parses Serialization objects into Parameters objects of a certain kind.
ParametersParser.ParametersParsingFunction<SerializationT extends Serialization> - Interface in com.google.crypto.tink.internal
A function which parses a Parameters object.
ParametersSerializer<ParametersT extends Parameters,​SerializationT extends Serialization> - Class in com.google.crypto.tink.internal
Serializes Parameters objects into Serialization objects of a certain kind.
ParametersSerializer.ParametersSerializationFunction<ParametersT extends Parameters,​SerializationT extends Serialization> - Interface in com.google.crypto.tink.internal
A function which serializes a Parameters object.
parse(byte[]) - Static method in class com.google.crypto.tink.TinkProtoParametersFormat
Parses a byte[] into a Parameters object according to Tink's binary format.
parse(String) - Static method in class com.google.crypto.tink.internal.JsonParser
 
parseEncryptedKeyset(byte[], Aead, byte[]) - Static method in class com.google.crypto.tink.TinkProtoKeysetFormat
 
parseEncryptedKeyset(KeysetReader, Aead, byte[]) - Static method in class com.google.crypto.tink.LegacyKeysetSerialization
Parse an encrypted keyset from the reader.
parseEncryptedKeyset(String, Aead, byte[]) - Static method in class com.google.crypto.tink.TinkJsonProtoKeysetFormat
 
parseFrom(byte[]) - Static method in class com.google.crypto.tink.CleartextKeysetHandle
Deprecated.
Call TinkProtoKeysetFormat.parseKeyset(serialized, InsecureSecretKeyAccess.get()) which has the same semantics.
parseFrom(byte[]) - Static method in class com.google.crypto.tink.NoSecretKeysetHandle
parseKey(SerializationT, SecretKeyAccess) - Method in interface com.google.crypto.tink.internal.KeyParser.KeyParsingFunction
 
parseKey(SerializationT, SecretKeyAccess) - Method in class com.google.crypto.tink.internal.KeyParser
Parses a serialization into a key.
parseKey(SerializationT, SecretKeyAccess) - Method in class com.google.crypto.tink.internal.MutableSerializationRegistry
Parses the given serialization into a Key.
parseKey(SerializationT, SecretKeyAccess) - Method in class com.google.crypto.tink.internal.SerializationRegistry
Parses the given serialization into a Key.
parseKeyset(byte[], SecretKeyAccess) - Static method in class com.google.crypto.tink.TinkProtoKeysetFormat
 
parseKeyset(KeysetReader, SecretKeyAccess) - Static method in class com.google.crypto.tink.LegacyKeysetSerialization
Parse a keyset from the reader.
parseKeyset(String, SecretKeyAccess) - Static method in class com.google.crypto.tink.TinkJsonProtoKeysetFormat
 
parseKeysetWithoutSecret(byte[]) - Static method in class com.google.crypto.tink.TinkProtoKeysetFormat
 
parseKeysetWithoutSecret(KeysetReader) - Static method in class com.google.crypto.tink.LegacyKeysetSerialization
Parse a KeysetHandle from the reader.
parseKeysetWithoutSecret(String) - Static method in class com.google.crypto.tink.TinkJsonProtoKeysetFormat
 
parseKeyWithLegacyFallback(ProtoKeySerialization, SecretKeyAccess) - Method in class com.google.crypto.tink.internal.MutableSerializationRegistry
Returns a Key object from a protoKeySerialization, even if no parser has been registered.
parseParameters(SerializationT) - Method in class com.google.crypto.tink.internal.MutableSerializationRegistry
Parses the given serialization into a Parameters object.
parseParameters(SerializationT) - Method in interface com.google.crypto.tink.internal.ParametersParser.ParametersParsingFunction
 
parseParameters(SerializationT) - Method in class com.google.crypto.tink.internal.ParametersParser
Parses a serialization into a Parameters object.
parseParameters(SerializationT) - Method in class com.google.crypto.tink.internal.SerializationRegistry
Parses the given serialization into a Parameters.
parseParametersWithLegacyFallback(ProtoParametersSerialization) - Method in class com.google.crypto.tink.internal.MutableSerializationRegistry
Returns a Parameters object from a protoKeySerialization, even if no parser has been registered.
PemKeyType - Enum in com.google.crypto.tink
PEM key types that Tink supports
PemKeyType - Enum in com.google.crypto.tink.subtle
Deprecated.
Use com.google.crypto.tink.PemKeyType instead.
pointDecode(EllipticCurves.CurveType, EllipticCurves.PointFormatType, byte[]) - Static method in class com.google.crypto.tink.subtle.EllipticCurves
Decodes an encoded point on an elliptic curve.
pointDecode(EllipticCurve, EllipticCurves.PointFormatType, byte[]) - Static method in class com.google.crypto.tink.subtle.EllipticCurves
Decodes an encoded point on an elliptic curve.
pointEncode(EllipticCurves.CurveType, EllipticCurves.PointFormatType, ECPoint) - Static method in class com.google.crypto.tink.subtle.EllipticCurves
Encodes a point on an elliptic curve.
pointEncode(EllipticCurve, EllipticCurves.PointFormatType, ECPoint) - Static method in class com.google.crypto.tink.subtle.EllipticCurves
Encodes a point on an elliptic curve.
Poly1305 - Class in com.google.crypto.tink.aead.internal
Poly1305 one-time MAC based on RFC 7539.
PredefinedAeadParameters - Class in com.google.crypto.tink.aead
Pre-generated Parameters objects for creating new instances of AeadKey.
PredefinedDeterministicAeadParameters - Class in com.google.crypto.tink.daead
Pre-generated KeyTemplate for DeterministicAead keys.
PredefinedHybridParameters - Class in com.google.crypto.tink.hybrid
Pre-generated Parameter objects for HybridEncrypt and HybridDecrypt keys.
PredefinedMacParameters - Class in com.google.crypto.tink.mac
Pre-defined Parameter objects for Mac.
PredefinedPrfParameters - Class in com.google.crypto.tink.prf
Predefined Parameters for PRF-Keys.
PredefinedSignatureParameters - Class in com.google.crypto.tink.signature
Pre-generated Parameter objects for PublicKeySign and PublicKeyVerify.
PredefinedStreamingAeadParameters - Class in com.google.crypto.tink.streamingaead
Pre-generated Parameter objects for DeterministicAead keys.
PREFIX - Static variable in class com.google.crypto.tink.integration.android.AndroidKeystoreKmsClient
The prefix of all keys stored in Android Keystore.
prefixFromProto(OutputPrefixType) - Static method in class com.google.crypto.tink.internal.KeyTemplateProtoConverter
 
PrefixMap<P> - Class in com.google.crypto.tink.internal
Provides a map from prefix to arbitrary element, allowing to iterate over all elements whose prefixes matches a given byte[].
PrefixMap.Builder<P> - Class in com.google.crypto.tink.internal
Builder for PrefixMap.
Prf - Interface in com.google.crypto.tink.prf
The Prf interface is an abstraction for an element of a pseudo random function family, selected by a key.
PRF_TYPE_URL - Static variable in class com.google.crypto.tink.prf.PrfConfig
 
PrfAesCmac - Class in com.google.crypto.tink.prf.internal
An implementation of CMAC following RFC 4493.
PrfAesCmac - Class in com.google.crypto.tink.subtle
An implementation of CMAC following RFC 4493.
PrfAesCmac(byte[]) - Constructor for class com.google.crypto.tink.subtle.PrfAesCmac
Prefer to use PrfAesCmac.create(com.google.crypto.tink.prf.AesCmacPrfKey) instead of this constructor.
PrfAesCmacConscrypt - Class in com.google.crypto.tink.prf.internal
Prf implementation of AES-CMAC using Conscrypt.
PrfBasedDeriverKeyManager - Class in com.google.crypto.tink.keyderivation.internal
com.google.crypto.tink.internal.KeyTypeManager for PrfBasedDeriverKey.
PrfBasedKeyDerivationKey - Class in com.google.crypto.tink.keyderivation
Represents a Derivation key which is based on a PRF.
PrfBasedKeyDerivationParameters - Class in com.google.crypto.tink.keyderivation
Represents the parameters needed in a PrfBasedKeyDerivationKey.
PrfBasedKeyDerivationParameters.Builder - Class in com.google.crypto.tink.keyderivation
Builds a new PrfBasedKeyDerivationParameters instance.
PrfBasedKeyDeriver - Class in com.google.crypto.tink.keyderivation.internal
Implements the KeyDeriver interface by first applying a Prf and then using the global registry to create the correct key.
PrfConfig - Class in com.google.crypto.tink.prf
Static methods and registering with the Registry all instances of StreamingPrf key types supported in a particular release of Tink.
PrfHmacJce - Class in com.google.crypto.tink.subtle
Prf implementation using JCE.
PrfHmacJce(String, Key) - Constructor for class com.google.crypto.tink.subtle.PrfHmacJce
 
PrfImpl - Class in com.google.crypto.tink.subtle.prf
Class that implements the Prf primitive by wrapping a StreamingPrf.
PrfKey - Class in com.google.crypto.tink.prf
Represents functions to compute a PRF.
PrfKey() - Constructor for class com.google.crypto.tink.prf.PrfKey
 
PrfKeyTemplates - Class in com.google.crypto.tink.prf
Deprecated.
Use PredefinedPrfParameters instead.
PrfMac - Class in com.google.crypto.tink.subtle
Class that provides the functionality expressed by the Mac primitive using a Prf implementation.
PrfMac(Prf, int) - Constructor for class com.google.crypto.tink.subtle.PrfMac
Wrap wrappedPrf in a Mac primitive with the specified tagSize
PrfParameters - Class in com.google.crypto.tink.prf
Represents a description of a PrfKey excluding the randomly chosen key material.
PrfParameters() - Constructor for class com.google.crypto.tink.prf.PrfParameters
 
PrfSet - Class in com.google.crypto.tink.prf
A Tink Keyset can be converted into a set of PRFs using this primitive.
PrfSet() - Constructor for class com.google.crypto.tink.prf.PrfSet
 
PrfSetWrapper - Class in com.google.crypto.tink.prf
PrfSetWrapper is the implementation of PrimitiveWrapper for the PrfSet primitive.
PrfSetWrapper() - Constructor for class com.google.crypto.tink.prf.PrfSetWrapper
 
primaryKey() - Method in class com.google.crypto.tink.KeysetHandle
Deprecated.
PrimitiveConstructor<KeyT extends Key,​PrimitiveT> - Class in com.google.crypto.tink.internal
Create Primitive objects from Key objects of a certain kind.
PrimitiveConstructor.PrimitiveConstructionFunction<KeyT extends Key,​PrimitiveT> - Interface in com.google.crypto.tink.internal
A function which creates a Primitive object.
PrimitiveFactory<PrimitiveT,​KeyProtoT extends com.google.protobuf.MessageLite> - Class in com.google.crypto.tink.internal
A PrimitiveFactory knows how to create primitives from a given key.
PrimitiveFactory(Class<PrimitiveT>) - Constructor for class com.google.crypto.tink.internal.PrimitiveFactory
 
PrimitiveRegistry - Class in com.google.crypto.tink.internal
Allows registering PrimitiveConstructor objects, and creating primitives with those objects.
PrimitiveRegistry.Builder - Class in com.google.crypto.tink.internal
Allows building PrimitiveRegistry objects.
PrimitiveWrapper<B,​P> - Interface in com.google.crypto.tink.internal
Basic interface for wrapping a primitive.
PrimitiveWrapper.PrimitiveFactory<B> - Interface in com.google.crypto.tink.internal
Creates a primitive from an entry.
privateKey - Variable in class com.google.crypto.tink.hybrid.internal.X25519.KeyPair
 
PrivateKey - Interface in com.google.crypto.tink
Interface to be implemented by all private keys, that gives access to the public key.
PrivateKeyManager<P> - Interface in com.google.crypto.tink
A KeyManager that understands asymmetric private key types.
privateKeyValue - Variable in class com.google.crypto.tink.jwt.JwtEcdsaPrivateKey
 
promote(int) - Method in class com.google.crypto.tink.integration.android.AndroidKeysetManager
promote(int) - Method in class com.google.crypto.tink.KeysetManager
Sets the key with keyId as primary.
ProtoKey - Class in com.google.crypto.tink.tinkkey.internal
Wraps the proto KeyData as an implementation of a TinkKey.
ProtoKey(KeyData, KeyTemplate.OutputPrefixType) - Constructor for class com.google.crypto.tink.tinkkey.internal.ProtoKey
Constructs a ProtoKey with hasSecret() returning true if the input KeyData has key material of type UNKNOWN_KEYMATERIAL, SYMMETRIC, or ASYMMETRIC_PRIVATE.
ProtoKeySerialization - Class in com.google.crypto.tink.internal
* Represents a Key object serialized with binary protobuf Serialization.
ProtoParametersSerialization - Class in com.google.crypto.tink.internal
Represents a Parameters object serialized with binary protobuf Serialization.
providerOrNull() - Static method in class com.google.crypto.tink.internal.ConscryptUtil
 
providerWithReflectionOrNull() - Static method in class com.google.crypto.tink.internal.ConscryptUtil
Tries to get the Conscrypt provider using reflection.
PS256 - Static variable in class com.google.crypto.tink.jwt.JwtRsaSsaPssParameters.Algorithm
RSASSA-PSS using SHA-256 and MGF1 with SHA-256
PS384 - Static variable in class com.google.crypto.tink.jwt.JwtRsaSsaPssParameters.Algorithm
RSASSA-PSS using SHA-384 and MGF1 with SHA-384
PS512 - Static variable in class com.google.crypto.tink.jwt.JwtRsaSsaPssParameters.Algorithm
RSASSA-PSS using SHA-512 and MGF1 with SHA-512
PUBLIC_KEY_LEN - Static variable in class com.google.crypto.tink.internal.Ed25519
 
PUBLIC_KEY_LEN - Static variable in class com.google.crypto.tink.subtle.Ed25519Verify
 
publicAccess() - Static method in class com.google.crypto.tink.tinkkey.KeyAccess
Returns a KeyAccess instance where canAccessSecret() returns false.
publicFromPrivate(byte[]) - Static method in class com.google.crypto.tink.subtle.X25519
Returns the 32-byte Diffie-Hellman public value based on the given privateKey (i.e., privateKey·[9] on the curve).
publicKey - Variable in class com.google.crypto.tink.hybrid.internal.X25519.KeyPair
 
publicKey - Variable in class com.google.crypto.tink.jwt.JwtEcdsaPrivateKey
 
PublicKeySign - Interface in com.google.crypto.tink
Interface for public key signing.
PublicKeySignConfig - Class in com.google.crypto.tink.signature
Deprecated.
PublicKeySignFactory - Class in com.google.crypto.tink.signature
Deprecated.
Use keysetHandle.getPrimitive(RegistryConfiguration.get(), PublicKeySign.class) after registering the PublicKeySignWrapper instead.
PublicKeySignWrapper - Class in com.google.crypto.tink.signature
The implementation of PrimitiveWrapper<PublicKeySign>.
PublicKeyVerify - Interface in com.google.crypto.tink
Interface for public key signing.
PublicKeyVerifyConfig - Class in com.google.crypto.tink.signature
Deprecated.
PublicKeyVerifyFactory - Class in com.google.crypto.tink.signature
Deprecated.
Use keysetHandle.getPrimitive(RegistryConfiguration.get(), PublicKeyVerify.class) after registering the PublicKeyVerifyWrapper instead.
PublicKeyVerifyWrapper - Class in com.google.crypto.tink.signature
The implementation of PrimitiveWrapper<DeterministicAead>.
PublicKeyVerifyWrapper() - Constructor for class com.google.crypto.tink.signature.PublicKeyVerifyWrapper
 
put(Bytes, P) - Method in class com.google.crypto.tink.internal.PrefixMap.Builder
Adds a value for a given prefix.
put(String, Parameters) - Method in class com.google.crypto.tink.internal.MutableParametersRegistry
 
putAll(Map<String, Parameters>) - Method in class com.google.crypto.tink.internal.MutableParametersRegistry
 
putAsUnsigedInt(ByteBuffer, long) - Static method in class com.google.crypto.tink.subtle.SubtleUtil
Inserts value as unsigned into into buffer.

R

randBytes(int) - Static method in class com.google.crypto.tink.internal.Random
Returns a random byte array of size size.
randBytes(int) - Static method in class com.google.crypto.tink.subtle.Random
Returns a random byte array of size size.
randInt() - Static method in class com.google.crypto.tink.internal.Random
 
randInt() - Static method in class com.google.crypto.tink.subtle.Random
Returns a random int.
randInt(int) - Static method in class com.google.crypto.tink.internal.Random
 
randInt(int) - Static method in class com.google.crypto.tink.subtle.Random
Returns a random int between 0 and max-1.
randKeyId() - Static method in class com.google.crypto.tink.internal.Util
Returns a non-zero random int which can be used as a key ID in a keyset.
Random - Class in com.google.crypto.tink.internal
Provides secure randomness using SecureRandom.
Random - Class in com.google.crypto.tink.subtle
Provides secure randomness using SecureRandom.
randomBytes(int) - Static method in class com.google.crypto.tink.util.SecretBytes
Creates a new SecretBytes with bytes chosen uniformly at random of length length.
RAW - com.google.crypto.tink.KeyTemplate.OutputPrefixType
 
RAW_PREFIX - Static variable in class com.google.crypto.tink.CryptoFormat
 
RAW_PREFIX_SIZE - Static variable in class com.google.crypto.tink.CryptoFormat
Raw prefix is empty.
rawAes128EaxTemplate() - Static method in class com.google.crypto.tink.aead.AesEaxKeyManager
 
rawAes128GcmSivTemplate() - Static method in class com.google.crypto.tink.aead.AesGcmSivKeyManager
Creates and returns a KeyTemplate that generates new instances of AES-GCM with the following parameters: Key size: 16 bytes Prefix type: KeyTemplate.OutputPrefixType.RAW (no prefix)
rawAes128GcmTemplate() - Static method in class com.google.crypto.tink.aead.AesGcmKeyManager
 
rawAes256CmacTemplate() - Static method in class com.google.crypto.tink.mac.AesCmacKeyManager
 
rawAes256EaxTemplate() - Static method in class com.google.crypto.tink.aead.AesEaxKeyManager
 
rawAes256GcmSivTemplate() - Static method in class com.google.crypto.tink.aead.AesGcmSivKeyManager
Creates and returns a KeyTemplate that generates new instances of AES-GCM-SIV with the following parameters: Key size: 32 bytes Prefix type: KeyTemplate.OutputPrefixType.RAW (no prefix)
rawAes256GcmTemplate() - Static method in class com.google.crypto.tink.aead.AesGcmKeyManager
 
rawAes256SivTemplate() - Static method in class com.google.crypto.tink.daead.AesSivKeyManager
 
rawChaCha20Poly1305Template() - Static method in class com.google.crypto.tink.aead.ChaCha20Poly1305KeyManager
 
rawEcdsaP256Template() - Static method in class com.google.crypto.tink.signature.EcdsaSignKeyManager
 
rawEciesP256HkdfHmacSha256Aes128CtrHmacSha256CompressedTemplate() - Static method in class com.google.crypto.tink.hybrid.EciesAeadHkdfPrivateKeyManager
 
rawEciesP256HkdfHmacSha256Aes128GcmCompressedTemplate() - Static method in class com.google.crypto.tink.hybrid.EciesAeadHkdfPrivateKeyManager
 
rawEd25519Template() - Static method in class com.google.crypto.tink.signature.Ed25519PrivateKeyManager
 
RawJwt - Class in com.google.crypto.tink.jwt
An unencoded and unsigned JSON Web Token (JWT).
RawJwt.Builder - Class in com.google.crypto.tink.jwt
Builder for RawJwt
rawRsa3072PssSha256F4Template() - Static method in class com.google.crypto.tink.signature.RsaSsaPssSignKeyManager
 
rawRsa3072SsaPkcs1Sha256F4Template() - Static method in class com.google.crypto.tink.signature.RsaSsaPkcs1SignKeyManager
 
rawRsa4096PssSha512F4Template() - Static method in class com.google.crypto.tink.signature.RsaSsaPssSignKeyManager
 
rawRsa4096SsaPkcs1Sha512F4Template() - Static method in class com.google.crypto.tink.signature.RsaSsaPkcs1SignKeyManager
 
rawXChaCha20Poly1305Template() - Static method in class com.google.crypto.tink.aead.XChaCha20Poly1305KeyManager
 
read() - Method in class com.google.crypto.tink.BinaryKeysetReader
 
read() - Method in class com.google.crypto.tink.integration.android.SharedPrefKeysetReader
 
read() - Method in class com.google.crypto.tink.JsonKeysetReader
 
read() - Method in interface com.google.crypto.tink.KeysetReader
Tries to read and return a cleartext Keyset.
read() - Method in class com.google.crypto.tink.signature.SignaturePemKeysetReader
 
read(KeysetReader) - Static method in class com.google.crypto.tink.CleartextKeysetHandle
 
read(KeysetReader) - Static method in class com.google.crypto.tink.NoSecretKeysetHandle
Deprecated.
 
read(KeysetReader, Aead) - Static method in class com.google.crypto.tink.KeysetHandle
Deprecated.
New users should prefer TinkProtoKeysetFormat. Existing users can use LegacyKeysetSerialization for exactly the same behavior.
read(KeysetReader, Map<String, String>) - Static method in class com.google.crypto.tink.CleartextKeysetHandle
Deprecated.
Instead, use a KeysetHandle.Builder.
read(ByteBuffer) - Method in class com.google.crypto.tink.subtle.RewindableReadableByteChannel
 
readEncrypted() - Method in class com.google.crypto.tink.BinaryKeysetReader
 
readEncrypted() - Method in class com.google.crypto.tink.integration.android.SharedPrefKeysetReader
 
readEncrypted() - Method in class com.google.crypto.tink.JsonKeysetReader
 
readEncrypted() - Method in interface com.google.crypto.tink.KeysetReader
Tries to read and return an EncryptedKeyset.
readEncrypted() - Method in class com.google.crypto.tink.signature.SignaturePemKeysetReader
 
readIntoSecretBytes(InputStream, int, SecretKeyAccess) - Static method in class com.google.crypto.tink.internal.Util
Reads length number of bytes from the input stream and returns it in a SecretBytes object.
readKey(BufferedReader) - Method in enum com.google.crypto.tink.PemKeyType
Reads a single key from reader.
readKey(BufferedReader) - Method in enum com.google.crypto.tink.subtle.PemKeyType
Deprecated.
Reads a single key from reader.
readNoSecret(byte[]) - Static method in class com.google.crypto.tink.KeysetHandle
Deprecated.
Call {TinkProtoKeysetFormat.parseKeysetWithoutSecret} instead.
readNoSecret(KeysetReader) - Static method in class com.google.crypto.tink.KeysetHandle
Deprecated.
New users should prefer TinkProtoKeysetFormat. Existing users can use LegacyKeysetSerialization for exactly the same behavior.
readWithAssociatedData(KeysetReader, Aead, byte[]) - Static method in class com.google.crypto.tink.KeysetHandle
Deprecated.
New users should prefer TinkProtoKeysetFormat. Existing users can use LegacyKeysetSerialization for exactly the same behavior.
register() - Static method in class com.google.crypto.tink.aead.AeadConfig
Tries to register with the Registry all instances of Catalogue and KeyManager needed to handle Aead key types supported in Tink.
register() - Static method in class com.google.crypto.tink.aead.AeadWrapper
 
register() - Static method in class com.google.crypto.tink.aead.internal.AesCtrHmacAeadProtoSerialization
 
register() - Static method in class com.google.crypto.tink.aead.internal.AesEaxProtoSerialization
 
register() - Static method in class com.google.crypto.tink.aead.internal.AesGcmProtoSerialization
 
register() - Static method in class com.google.crypto.tink.aead.internal.AesGcmSivProtoSerialization
 
register() - Static method in class com.google.crypto.tink.aead.internal.ChaCha20Poly1305ProtoSerialization
 
register() - Static method in class com.google.crypto.tink.aead.internal.XAesGcmProtoSerialization
 
register() - Static method in class com.google.crypto.tink.aead.internal.XChaCha20Poly1305ProtoSerialization
 
register() - Static method in class com.google.crypto.tink.aead.LegacyKmsEnvelopeAeadProtoSerialization
 
register() - Static method in class com.google.crypto.tink.config.TinkConfig
Tries to register with the Registry all instances of Catalogue and KeyManager needed to handle all key types supported in Tink.
register() - Static method in class com.google.crypto.tink.daead.DeterministicAeadConfig
Tries to register with the Registry all instances of Catalogue needed to handle DeterministicAead key types supported in Tink.
register() - Static method in class com.google.crypto.tink.daead.DeterministicAeadWrapper
 
register() - Static method in class com.google.crypto.tink.daead.internal.AesSivProtoSerialization
 
register() - Static method in class com.google.crypto.tink.hybrid.HpkeProtoSerialization
Registers previously defined parser/serializer objects into a global, mutable registry.
register() - Static method in class com.google.crypto.tink.hybrid.HybridConfig
Tries to register with the Registry all instances of Catalogue needed to handle HybridDecrypt and HybridEncrypt key types supported in Tink.
register() - Static method in class com.google.crypto.tink.hybrid.HybridDecryptWrapper
Register the wrapper within the registry.
register() - Static method in class com.google.crypto.tink.hybrid.HybridEncryptWrapper
Register the wrapper within the registry.
register() - Static method in class com.google.crypto.tink.hybrid.internal.EciesProtoSerialization
Registers previously defined parser/serializer objects into a global, mutable registry.
register() - Static method in class com.google.crypto.tink.jwt.JwtMacConfig
Tries to register with the Registry all instances of KeyManager needed to handle JWT key types supported in Tink.
register() - Static method in class com.google.crypto.tink.jwt.JwtSignatureConfig
Tries to register with the Registry all instances of Catalogue needed to handle JwtPublicKeySign and PublicKeyVerify key types supported in Tink.
register() - Static method in class com.google.crypto.tink.keyderivation.internal.KeysetDeriverWrapper
Registers this wrapper with Tink, allowing to use the primitive.
register() - Static method in class com.google.crypto.tink.keyderivation.KeyDerivationConfig
Tries to register with the Registry all instances of KeyManager needed to handle KeysetDeriver key types supported in Tink.
register() - Static method in class com.google.crypto.tink.keyderivation.KeysetDeriverWrapper
Deprecated.
Call KeyDerivationConfig.register() instead.
register() - Static method in class com.google.crypto.tink.mac.internal.AesCmacProtoSerialization
 
register() - Static method in class com.google.crypto.tink.mac.internal.HmacProtoSerialization
 
register() - Static method in class com.google.crypto.tink.mac.MacConfig
Tries to register with the Registry all instances of Catalogue and KeyManager needed to handle Mac key types supported in Tink.
register() - Static method in class com.google.crypto.tink.prf.internal.AesCmacPrfProtoSerialization
Registers previously defined parser/serializer objects into a global, mutable registry.
register() - Static method in class com.google.crypto.tink.prf.internal.HkdfPrfProtoSerialization
 
register() - Static method in class com.google.crypto.tink.prf.internal.HmacPrfProtoSerialization
 
register() - Static method in class com.google.crypto.tink.prf.PrfConfig
Tries to register with the Registry all instances of KeyManager needed to handle Prf key types supported in Tink.
register() - Static method in class com.google.crypto.tink.prf.PrfSetWrapper
 
register() - Static method in class com.google.crypto.tink.signature.internal.EcdsaProtoSerialization
 
register() - Static method in class com.google.crypto.tink.signature.internal.Ed25519ProtoSerialization
Registers previously defined parser/serializer objects into a global, mutable registry.
register() - Static method in class com.google.crypto.tink.signature.internal.RsaSsaPkcs1ProtoSerialization
 
register() - Static method in class com.google.crypto.tink.signature.internal.RsaSsaPssProtoSerialization
 
register() - Static method in class com.google.crypto.tink.signature.PublicKeySignWrapper
Register the wrapper within the registry.
register() - Static method in class com.google.crypto.tink.signature.SignatureConfig
Tries to register with the Registry all instances of Catalogue needed to handle PublicKeySign and PublicKeyVerify key types supported in Tink.
register() - Static method in class com.google.crypto.tink.streamingaead.internal.AesCtrHmacStreamingProtoSerialization
 
register() - Static method in class com.google.crypto.tink.streamingaead.internal.AesGcmHkdfStreamingProtoSerialization
 
register() - Static method in class com.google.crypto.tink.streamingaead.StreamingAeadConfig
Tries to register with the Registry all instances of Catalogue needed to handle StreamingAead key types supported in Tink.
register() - Static method in class com.google.crypto.tink.streamingaead.StreamingAeadWrapper
 
register(boolean) - Static method in class com.google.crypto.tink.aead.AesCtrHmacAeadKeyManager
 
register(boolean) - Static method in class com.google.crypto.tink.aead.AesEaxKeyManager
 
register(boolean) - Static method in class com.google.crypto.tink.aead.AesGcmKeyManager
 
register(boolean) - Static method in class com.google.crypto.tink.aead.AesGcmSivKeyManager
 
register(boolean) - Static method in class com.google.crypto.tink.aead.ChaCha20Poly1305KeyManager
 
register(boolean) - Static method in class com.google.crypto.tink.aead.KmsAeadKeyManager
 
register(boolean) - Static method in class com.google.crypto.tink.aead.KmsEnvelopeAeadKeyManager
 
register(boolean) - Static method in class com.google.crypto.tink.aead.XAesGcmKeyManager
 
register(boolean) - Static method in class com.google.crypto.tink.aead.XChaCha20Poly1305KeyManager
 
register(boolean) - Static method in class com.google.crypto.tink.daead.AesSivKeyManager
 
register(boolean) - Static method in class com.google.crypto.tink.jwt.JwtHmacKeyManager
 
register(boolean) - Static method in class com.google.crypto.tink.keyderivation.internal.PrfBasedDeriverKeyManager
 
register(boolean) - Static method in class com.google.crypto.tink.mac.AesCmacKeyManager
 
register(boolean) - Static method in class com.google.crypto.tink.mac.HmacKeyManager
 
register(boolean) - Static method in class com.google.crypto.tink.prf.AesCmacPrfKeyManager
 
register(boolean) - Static method in class com.google.crypto.tink.prf.HkdfPrfKeyManager
 
register(boolean) - Static method in class com.google.crypto.tink.prf.HmacPrfKeyManager
 
register(boolean) - Static method in class com.google.crypto.tink.streamingaead.AesCtrHmacStreamingKeyManager
 
register(boolean) - Static method in class com.google.crypto.tink.streamingaead.AesGcmHkdfStreamingKeyManager
 
register(MutableSerializationRegistry) - Static method in class com.google.crypto.tink.aead.internal.AesCtrHmacAeadProtoSerialization
 
register(MutableSerializationRegistry) - Static method in class com.google.crypto.tink.aead.internal.AesEaxProtoSerialization
 
register(MutableSerializationRegistry) - Static method in class com.google.crypto.tink.aead.internal.AesGcmProtoSerialization
 
register(MutableSerializationRegistry) - Static method in class com.google.crypto.tink.aead.internal.AesGcmSivProtoSerialization
 
register(MutableSerializationRegistry) - Static method in class com.google.crypto.tink.aead.internal.ChaCha20Poly1305ProtoSerialization
 
register(MutableSerializationRegistry) - Static method in class com.google.crypto.tink.aead.internal.XAesGcmProtoSerialization
 
register(MutableSerializationRegistry) - Static method in class com.google.crypto.tink.aead.internal.XChaCha20Poly1305ProtoSerialization
 
register(MutableSerializationRegistry) - Static method in class com.google.crypto.tink.aead.LegacyKmsEnvelopeAeadProtoSerialization
 
register(MutableSerializationRegistry) - Static method in class com.google.crypto.tink.daead.internal.AesSivProtoSerialization
 
register(MutableSerializationRegistry) - Static method in class com.google.crypto.tink.hybrid.HpkeProtoSerialization
Registers previously defined parser/serializer objects into a given registry.
register(MutableSerializationRegistry) - Static method in class com.google.crypto.tink.hybrid.internal.EciesProtoSerialization
Registers previously defined parser/serializer objects into a given registry.
register(MutableSerializationRegistry) - Static method in class com.google.crypto.tink.mac.internal.AesCmacProtoSerialization
 
register(MutableSerializationRegistry) - Static method in class com.google.crypto.tink.mac.internal.HmacProtoSerialization
 
register(MutableSerializationRegistry) - Static method in class com.google.crypto.tink.prf.internal.AesCmacPrfProtoSerialization
Registers previously defined parser/serializer objects into a given registry.
register(MutableSerializationRegistry) - Static method in class com.google.crypto.tink.prf.internal.HkdfPrfProtoSerialization
 
register(MutableSerializationRegistry) - Static method in class com.google.crypto.tink.prf.internal.HmacPrfProtoSerialization
 
register(MutableSerializationRegistry) - Static method in class com.google.crypto.tink.signature.internal.EcdsaProtoSerialization
 
register(MutableSerializationRegistry) - Static method in class com.google.crypto.tink.signature.internal.Ed25519ProtoSerialization
Registers previously defined parser/serializer objects into a given registry.
register(MutableSerializationRegistry) - Static method in class com.google.crypto.tink.signature.internal.RsaSsaPkcs1ProtoSerialization
 
register(MutableSerializationRegistry) - Static method in class com.google.crypto.tink.signature.internal.RsaSsaPssProtoSerialization
 
register(MutableSerializationRegistry) - Static method in class com.google.crypto.tink.streamingaead.internal.AesCtrHmacStreamingProtoSerialization
 
register(MutableSerializationRegistry) - Static method in class com.google.crypto.tink.streamingaead.internal.AesGcmHkdfStreamingProtoSerialization
 
register(SerializationRegistry.Builder) - Static method in class com.google.crypto.tink.aead.internal.AesGcmProtoSerialization
 
register(SerializationRegistry.Builder) - Static method in class com.google.crypto.tink.aead.internal.XAesGcmProtoSerialization
 
register(SerializationRegistry.Builder) - Static method in class com.google.crypto.tink.aead.internal.XChaCha20Poly1305ProtoSerialization
 
register(RegistryConfig) - Static method in class com.google.crypto.tink.Config
Tries to register key managers according to the specification in config.
registerKeyManager(KeyManager<P>) - Static method in class com.google.crypto.tink.Registry
Tries to register manager for manager.getKeyType().
registerKeyManager(KeyManager<P>, boolean) - Method in class com.google.crypto.tink.internal.KeyManagerRegistry
Attempts to insert the given KeyManager into the object.
registerKeyManager(KeyManager<P>, boolean) - Static method in class com.google.crypto.tink.Registry
Tries to register manager for manager.getKeyType().
registerKeyManager(String, KeyManager<P>) - Static method in class com.google.crypto.tink.Registry
registerKeyManager(String, KeyManager<P>, boolean) - Static method in class com.google.crypto.tink.Registry
registerKeyManagerWithFipsCompatibility(KeyManager<P>, TinkFipsUtil.AlgorithmFipsCompatibility, boolean) - Method in class com.google.crypto.tink.internal.KeyManagerRegistry
Attempts to insert the given KeyManager into the object; the caller guarantees that the given key manager satisfies the given FIPS compatibility.
registerKeyParser(KeyParser<SerializationT>) - Method in class com.google.crypto.tink.internal.MutableSerializationRegistry
registerKeyParser(KeyParser<SerializationT>) - Method in class com.google.crypto.tink.internal.SerializationRegistry.Builder
registerKeySerializer(KeySerializer<KeyT, SerializationT>) - Method in class com.google.crypto.tink.internal.MutableSerializationRegistry
registerKeySerializer(KeySerializer<KeyT, SerializationT>) - Method in class com.google.crypto.tink.internal.SerializationRegistry.Builder
registerKeyType(KeyTypeEntry) - Static method in class com.google.crypto.tink.Config
Tries to register a key manager according to the specification in entry.
registerMonitoringClient(MonitoringClient) - Method in class com.google.crypto.tink.internal.MutableMonitoringRegistry
 
registerPair(boolean) - Static method in class com.google.crypto.tink.hybrid.EciesAeadHkdfPrivateKeyManager
Registers the EciesAeadHkdfPrivateKeyManager and the EciesAeadHkdfPublicKeyManager with the registry, so that the the EciesAeadHkdfKeys can be used with Tink.
registerPair(boolean) - Static method in class com.google.crypto.tink.hybrid.internal.HpkePrivateKeyManager
Registers an HpkePrivateKeyManager and an HpkePublicKeyManager with the registry, so that HpkePrivateKey and HpkePublicKey key types can be used with Tink.
registerPair(boolean) - Static method in class com.google.crypto.tink.jwt.JwtEcdsaSignKeyManager
Registers the EcdsaSignKeyManager and the EcdsaVerifyKeyManager with the registry, so that the the Ecdsa-Keys can be used with Tink.
registerPair(boolean) - Static method in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1SignKeyManager
Registers the RsaSsapkcs1SignKeyManager and the RsaSsapkcs1VerifyKeyManager with the registry, so that the the RsaSsapkcs1-Keys can be used with Tink.
registerPair(boolean) - Static method in class com.google.crypto.tink.jwt.JwtRsaSsaPssSignKeyManager
Registers the RsaSsaPssSignKeyManager and the RsaSsaPssVerifyKeyManager with the registry, so that the the RsaSsaPss-Keys can be used with Tink.
registerPair(boolean) - Static method in class com.google.crypto.tink.signature.EcdsaSignKeyManager
Registers the EcdsaSignKeyManager and the EcdsaVerifyKeyManager with the registry, so that the the Ecdsa-Keys can be used with Tink.
registerPair(boolean) - Static method in class com.google.crypto.tink.signature.Ed25519PrivateKeyManager
Registers the Ed25519PrivateKeyManager and the Ed25519PublicKeyManager with the registry, so that the the Ed25519-Keys can be used with Tink.
registerPair(boolean) - Static method in class com.google.crypto.tink.signature.RsaSsaPkcs1SignKeyManager
Registers the RsaSsaPkcs1SignKeyManager and the RsaSsaPkcs1VerifyKeyManager with the registry, so that the the RsaSsaPkcs1-Keys can be used with Tink.
registerPair(boolean) - Static method in class com.google.crypto.tink.signature.RsaSsaPssSignKeyManager
Registers the RsaSsaPssSignKeyManager and the RsaSsaPssVerifyKeyManager with the registry, so that the the RsaSsaPss-Keys can be used with Tink.
registerParametersParser(ParametersParser<SerializationT>) - Method in class com.google.crypto.tink.internal.MutableSerializationRegistry
registerParametersParser(ParametersParser<SerializationT>) - Method in class com.google.crypto.tink.internal.SerializationRegistry.Builder
registerParametersSerializer(ParametersSerializer<ParametersT, SerializationT>) - Method in class com.google.crypto.tink.internal.MutableSerializationRegistry
registerParametersSerializer(ParametersSerializer<ParametersT, SerializationT>) - Method in class com.google.crypto.tink.internal.SerializationRegistry.Builder
registerPrimitiveConstructor(PrimitiveConstructor<KeyT, PrimitiveT>) - Method in class com.google.crypto.tink.internal.MutablePrimitiveRegistry
Registers a key primitive constructor for later use in MutablePrimitiveRegistry.getPrimitive(KeyT, java.lang.Class<PrimitiveT>).
registerPrimitiveConstructor(PrimitiveConstructor<KeyT, PrimitiveT>) - Method in class com.google.crypto.tink.internal.PrimitiveRegistry.Builder
Registers a primitive constructor for later use in PrimitiveRegistry.getPrimitive(KeyT, java.lang.Class<PrimitiveT>).
registerPrimitiveWrapper(PrimitiveWrapper<InputPrimitiveT, WrapperPrimitiveT>) - Method in class com.google.crypto.tink.internal.MutablePrimitiveRegistry
 
registerPrimitiveWrapper(PrimitiveWrapper<InputPrimitiveT, WrapperPrimitiveT>) - Method in class com.google.crypto.tink.internal.PrimitiveRegistry.Builder
 
registerStandardKeyTypes() - Static method in class com.google.crypto.tink.aead.AeadConfig
Deprecated.
registerStandardKeyTypes() - Static method in class com.google.crypto.tink.hybrid.HybridDecryptConfig
registerStandardKeyTypes() - Static method in class com.google.crypto.tink.hybrid.HybridEncryptConfig
registerStandardKeyTypes() - Static method in class com.google.crypto.tink.mac.MacConfig
Deprecated.
registerStandardKeyTypes() - Static method in class com.google.crypto.tink.signature.PublicKeySignConfig
registerStandardKeyTypes() - Static method in class com.google.crypto.tink.signature.PublicKeyVerifyConfig
registerToInternalPrimitiveRegistry(PrimitiveRegistry.Builder) - Static method in class com.google.crypto.tink.aead.AeadWrapper
registerToInternalPrimitiveRegistry is a non-public method (it takes an argument of an internal-only type) registering an instance of AeadWrapper to the provided PrimitiveRegistry.Builder.
registerToInternalPrimitiveRegistry(PrimitiveRegistry.Builder) - Static method in class com.google.crypto.tink.daead.DeterministicAeadWrapper
registerToInternalPrimitiveRegistry is a non-public method (it takes an argument of an internal-only type) registering an instance of DeterministicAeadWrapper to the provided PrimitiveRegistry.Builder.
registerToInternalPrimitiveRegistry(PrimitiveRegistry.Builder) - Static method in class com.google.crypto.tink.hybrid.HybridDecryptWrapper
registerToInternalPrimitiveRegistry is a non-public method (it takes an argument of an internal-only type) registering an instance of HybridDecryptWrapper to the provided PrimitiveRegistry.Builder.
registerToInternalPrimitiveRegistry(PrimitiveRegistry.Builder) - Static method in class com.google.crypto.tink.hybrid.HybridEncryptWrapper
registerToInternalPrimitiveRegistry is a non-public method (it takes an argument of an internal-only type) registering an instance of HybridEncryptWrapper to the provided PrimitiveRegistry.Builder.
registerToInternalPrimitiveRegistry(PrimitiveRegistry.Builder) - Static method in class com.google.crypto.tink.mac.ChunkedMacWrapper
registerToInternalPrimitiveRegistry is a non-public method (it takes an argument of an internal-only type) registering an instance of MacWrapper to the provided PrimitiveRegistry#Builder.
registerToInternalPrimitiveRegistry(PrimitiveRegistry.Builder) - Static method in class com.google.crypto.tink.mac.MacWrapper
registerToInternalPrimitiveRegistry is a non-public method (it takes an argument of an internal-only type) registering an instance of MacWrapper to the provided PrimitiveRegistry.Builder.
registerToInternalPrimitiveRegistry(PrimitiveRegistry.Builder) - Static method in class com.google.crypto.tink.prf.PrfSetWrapper
registerToInternalPrimitiveRegistry is a non-public method (it takes an argument of an internal-only type) registering an instance of PrfSetWrapper to the provided PrimitiveRegistry.Builder.
registerToInternalPrimitiveRegistry(PrimitiveRegistry.Builder) - Static method in class com.google.crypto.tink.signature.PublicKeySignWrapper
registerToInternalPrimitiveRegistry is a non-public method (it takes an argument of an internal-only type) registering an instance of PublicKeySignWrapper to the provided PrimitiveRegistry#Builder.
registerToInternalPrimitiveRegistry(PrimitiveRegistry.Builder) - Static method in class com.google.crypto.tink.signature.PublicKeyVerifyWrapper
registerToInternalPrimitiveRegistry is a non-public method (it takes an argument of an internal-only type) registering an instance of PublicKeyVerifyWrapper to the provided PrimitiveRegistry#Builder.
registerToInternalPrimitiveRegistry(PrimitiveRegistry.Builder) - Static method in class com.google.crypto.tink.streamingaead.StreamingAeadWrapper
registerToInternalPrimitiveRegistry is a non-public method (it takes an argument of an internal-only type) registering an instance of StreamingAeadWrapper to the provided PrimitiveRegistry.Builder.
Registry - Class in com.google.crypto.tink
A global container of key managers and catalogues.
RegistryConfiguration - Class in com.google.crypto.tink.internal
Represents the configuration as currently specified by the registry.
RegistryConfiguration - Class in com.google.crypto.tink
RegistryConfiguration is a proxy Configuration that forwards all calls to the global Registry.
removeAt(int) - Method in class com.google.crypto.tink.KeysetHandle.Builder
requireAccess(SecretKeyAccess) - Static method in class com.google.crypto.tink.SecretKeyAccess
Throws an exception if the passed in SecretKeyAccess is null, otherwise returns it.
resetGlobalInstanceTestOnly() - Static method in class com.google.crypto.tink.internal.KeyManagerRegistry
Resets the global instance.
resetGlobalInstanceTestOnly() - Static method in class com.google.crypto.tink.internal.MutablePrimitiveRegistry
 
restrictToFips() - Static method in class com.google.crypto.tink.config.TinkFips
 
restrictToFipsIfEmpty() - Static method in class com.google.crypto.tink.Registry
Tries to enable the FIPS restrictions if the Registry is empty.
restrictToFipsIfEmptyAndGlobalInstance() - Method in class com.google.crypto.tink.internal.KeyManagerRegistry
Restricts Tink to FIPS if this is the global instance.
rewind() - Method in class com.google.crypto.tink.subtle.RewindableReadableByteChannel
Rewinds this buffer to the beginning (if rewinding is still enabled).
RewindableReadableByteChannel - Class in com.google.crypto.tink.subtle
A wrapper around ReadableByteChannel that provides rewinding feature: it caches the read bytes so that after reading some initial part of the channel, one can "rewind" the channel and again read the bytes from the beginning.
RewindableReadableByteChannel(ReadableByteChannel) - Constructor for class com.google.crypto.tink.subtle.RewindableReadableByteChannel
Constructs a wrapper around baseChannel.
rotate(KeyTemplate) - Method in class com.google.crypto.tink.integration.android.AndroidKeysetManager
Deprecated.
Please use AndroidKeysetManager.add(com.google.crypto.tink.proto.KeyTemplate). This method adds a new key and immediately promotes it to primary. However, when you do keyset rotation, you almost never want to make the new key primary, because old binaries don't know the new key yet.
rotate(KeyTemplate) - Method in class com.google.crypto.tink.KeysetManager
Generates and adds a fresh key generated using keyTemplate, and sets the new key as the primary key.
RS256 - Static variable in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1Parameters.Algorithm
RSASSAPKCS1 using SHA-256
RS384 - Static variable in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1Parameters.Algorithm
RSASSAPKCS1 using SHA-384
RS512 - Static variable in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1Parameters.Algorithm
RSASSAPKCS1 using SHA-512
RSA_PKCS1_PRIVATE_KEY_TYPE_URL - Static variable in class com.google.crypto.tink.signature.SignatureConfig
 
RSA_PKCS1_PUBLIC_KEY_TYPE_URL - Static variable in class com.google.crypto.tink.signature.SignatureConfig
 
RSA_PSS_2048_SHA256 - com.google.crypto.tink.PemKeyType
 
RSA_PSS_2048_SHA256 - com.google.crypto.tink.subtle.PemKeyType
Deprecated.
 
RSA_PSS_3072_SHA256 - com.google.crypto.tink.PemKeyType
 
RSA_PSS_3072_SHA256 - com.google.crypto.tink.subtle.PemKeyType
Deprecated.
 
RSA_PSS_4096_SHA256 - com.google.crypto.tink.PemKeyType
 
RSA_PSS_4096_SHA256 - com.google.crypto.tink.subtle.PemKeyType
Deprecated.
 
RSA_PSS_4096_SHA512 - com.google.crypto.tink.PemKeyType
 
RSA_PSS_4096_SHA512 - com.google.crypto.tink.subtle.PemKeyType
Deprecated.
 
RSA_PSS_PRIVATE_KEY_TYPE_URL - Static variable in class com.google.crypto.tink.signature.SignatureConfig
 
RSA_PSS_PUBLIC_KEY_TYPE_URL - Static variable in class com.google.crypto.tink.signature.SignatureConfig
 
RSA_SIGN_PKCS1_2048_SHA256 - com.google.crypto.tink.PemKeyType
 
RSA_SIGN_PKCS1_2048_SHA256 - com.google.crypto.tink.subtle.PemKeyType
Deprecated.
 
RSA_SIGN_PKCS1_3072_SHA256 - com.google.crypto.tink.PemKeyType
 
RSA_SIGN_PKCS1_3072_SHA256 - com.google.crypto.tink.subtle.PemKeyType
Deprecated.
 
RSA_SIGN_PKCS1_4096_SHA256 - com.google.crypto.tink.PemKeyType
 
RSA_SIGN_PKCS1_4096_SHA256 - com.google.crypto.tink.subtle.PemKeyType
Deprecated.
 
RSA_SIGN_PKCS1_4096_SHA512 - com.google.crypto.tink.PemKeyType
 
RSA_SIGN_PKCS1_4096_SHA512 - com.google.crypto.tink.subtle.PemKeyType
Deprecated.
 
RSA_SSA_PKCS1_3072_SHA256_F4 - Static variable in class com.google.crypto.tink.signature.PredefinedSignatureParameters
A Parameters that generates new instances of RsaSsaPkcs1PrivateKey objects with the following parameters: Hash function: SHA256.
RSA_SSA_PKCS1_3072_SHA256_F4 - Static variable in class com.google.crypto.tink.signature.SignatureKeyTemplates
A KeyTemplate that generates new instances of RsaSsaPkcs1PrivateKey with the following parameters: Hash function: SHA256.
RSA_SSA_PKCS1_3072_SHA256_F4_WITHOUT_PREFIX - Static variable in class com.google.crypto.tink.signature.PredefinedSignatureParameters
A Parameters that generates new instances of RsaSsaPkcs1PrivateKey objects with the following parameters: Hash function: SHA256.
RSA_SSA_PKCS1_3072_SHA256_F4_WITHOUT_PREFIX - Static variable in class com.google.crypto.tink.signature.SignatureKeyTemplates
A KeyTemplate that generates new instances of RsaSsaPkcs1PrivateKey with the following parameters: Hash function: SHA256.
RSA_SSA_PKCS1_4096_SHA512_F4 - Static variable in class com.google.crypto.tink.signature.PredefinedSignatureParameters
A Parameters that generates new instances of RsaSsaPkcs1PrivateKey objects with the following parameters: Hash function: SHA512.
RSA_SSA_PKCS1_4096_SHA512_F4 - Static variable in class com.google.crypto.tink.signature.SignatureKeyTemplates
A KeyTemplate that generates new instances of RsaSsaPkcs1PrivateKey with the following parameters: Hash function: SHA512.
RSA_SSA_PSS_3072_SHA256_SHA256_32_F4 - Static variable in class com.google.crypto.tink.signature.PredefinedSignatureParameters
A Parameters that generates new instances of RsaSsaPssPrivateKey objects with the following parameters: Signature hash: SHA256.
RSA_SSA_PSS_3072_SHA256_SHA256_32_F4 - Static variable in class com.google.crypto.tink.signature.SignatureKeyTemplates
A KeyTemplate that generates new instances of RsaSsaPssPrivateKey with the following parameters: Signature hash: SHA256.
RSA_SSA_PSS_4096_SHA512_SHA512_64_F4 - Static variable in class com.google.crypto.tink.signature.PredefinedSignatureParameters
A Parameters that generates new instances of RsaSsaPssPrivateKey objects with the following parameters: Signature hash: SHA512.
RSA_SSA_PSS_4096_SHA512_SHA512_64_F4 - Static variable in class com.google.crypto.tink.signature.SignatureKeyTemplates
A KeyTemplate that generates new instances of RsaSsaPssPrivateKey with the following parameters: Signature hash: SHA512.
rsa3072PssSha256F4Template() - Static method in class com.google.crypto.tink.signature.RsaSsaPssSignKeyManager
 
rsa3072SsaPkcs1Sha256F4Template() - Static method in class com.google.crypto.tink.signature.RsaSsaPkcs1SignKeyManager
 
rsa4096PssSha512F4Template() - Static method in class com.google.crypto.tink.signature.RsaSsaPssSignKeyManager
 
rsa4096SsaPkcs1Sha512F4Template() - Static method in class com.google.crypto.tink.signature.RsaSsaPkcs1SignKeyManager
 
RsaKemHybridDecrypt - Class in com.google.crypto.tink.hybrid.subtle
Hybrid encryption with RSA-KEM as defined in Shoup's ISO standard proposal as KEM, and AEAD as DEM and HKDF as KDF.
RsaKemHybridDecrypt(RSAPrivateKey, String, byte[], AeadFactory) - Constructor for class com.google.crypto.tink.hybrid.subtle.RsaKemHybridDecrypt
 
RsaKemHybridEncrypt - Class in com.google.crypto.tink.hybrid.subtle
Hybrid encryption with RSA-KEM as defined in Shoup's ISO standard proposal as KEM, and AEAD as DEM and HKDF as KDF.
RsaKemHybridEncrypt(RSAPublicKey, String, byte[], AeadFactory) - Constructor for class com.google.crypto.tink.hybrid.subtle.RsaKemHybridEncrypt
 
RsaSsaPkcs1Parameters - Class in com.google.crypto.tink.signature
Describes the parameters of a RsaSsaPkcs1PublicKey and RsaSsaPkcs1PrivateKey.
RsaSsaPkcs1Parameters.Builder - Class in com.google.crypto.tink.signature
Builds a new RsaSsaPkcs1Parameters instance.
RsaSsaPkcs1Parameters.HashType - Class in com.google.crypto.tink.signature
The Hash algorithm used.
RsaSsaPkcs1Parameters.Variant - Class in com.google.crypto.tink.signature
Describes details of the signature.
RsaSsaPkcs1PrivateKey - Class in com.google.crypto.tink.signature
Represents a private key for RSA SSA PKCS1 signatures.
RsaSsaPkcs1PrivateKey.Builder - Class in com.google.crypto.tink.signature
Builder for RsaSsaPkcs1PrivateKey.
RsaSsaPkcs1ProtoSerialization - Class in com.google.crypto.tink.signature.internal
Methods to serialize and parse RsaSsaPkcs1PrivateKey and RsaSsaPkcs1PublicKey objects and RsaSsaPkcs1Parameters objects.
RsaSsaPkcs1PublicKey - Class in com.google.crypto.tink.signature
Represents a public key for the RSA SSA PKCS1 signature primitive.
RsaSsaPkcs1PublicKey.Builder - Class in com.google.crypto.tink.signature
Builder for RsaSsaPkcs1PublicKey.
RsaSsaPkcs1SignJce - Class in com.google.crypto.tink.signature.internal
RsaSsaPkcs1 (i.e.
RsaSsaPkcs1SignJce - Class in com.google.crypto.tink.subtle
RsaSsaPkcs1 (i.e.
RsaSsaPkcs1SignJce(RSAPrivateCrtKey, Enums.HashType) - Constructor for class com.google.crypto.tink.subtle.RsaSsaPkcs1SignJce
 
RsaSsaPkcs1SignKeyManager - Class in com.google.crypto.tink.signature
This key manager generates new RsaSsaPkcs1PrivateKey keys and produces new instances of RsaSsaPkcs1SignJce.
RsaSsaPkcs1VerifyConscrypt - Class in com.google.crypto.tink.signature.internal
RsaSsaPkcs1 (i.e.
RsaSsaPkcs1VerifyJce - Class in com.google.crypto.tink.subtle
RsaSsaPkcs1 (i.e.
RsaSsaPkcs1VerifyJce(RSAPublicKey, Enums.HashType) - Constructor for class com.google.crypto.tink.subtle.RsaSsaPkcs1VerifyJce
 
RsaSsaPssParameters - Class in com.google.crypto.tink.signature
Describes the parameters of a RsaSsaPssPublicKey and RsaSsaPssPrivateKey.
RsaSsaPssParameters.Builder - Class in com.google.crypto.tink.signature
Builds a new RsaSsaPssParameters instance.
RsaSsaPssParameters.HashType - Class in com.google.crypto.tink.signature
The Hash algorithm used.
RsaSsaPssParameters.Variant - Class in com.google.crypto.tink.signature
Describes details of the signature.
RsaSsaPssPrivateKey - Class in com.google.crypto.tink.signature
Represents a private key for RSA SSA PSS signatures.
RsaSsaPssPrivateKey.Builder - Class in com.google.crypto.tink.signature
Builder for RsaSsaPssPrivateKey.
RsaSsaPssProtoSerialization - Class in com.google.crypto.tink.signature.internal
Methods to serialize and parse RsaSsaPssPrivateKey and RsaSsaPssPublicKey objects and RsaSsaPssParameters objects.
RsaSsaPssPublicKey - Class in com.google.crypto.tink.signature
Represents a public key for the RSA SSA PSS signature primitive.
RsaSsaPssPublicKey.Builder - Class in com.google.crypto.tink.signature
Builder for RsaSsaPssPublicKey.
RsaSsaPssSignConscrypt - Class in com.google.crypto.tink.signature.internal
RSA SSA PSS signing with Conscrypt.
RsaSsaPssSignJce - Class in com.google.crypto.tink.subtle
RsaSsaPss (i.e.
RsaSsaPssSignJce(RSAPrivateCrtKey, Enums.HashType, Enums.HashType, int) - Constructor for class com.google.crypto.tink.subtle.RsaSsaPssSignJce
 
RsaSsaPssSignKeyManager - Class in com.google.crypto.tink.signature
This key manager generates new RsaSsaPssPrivateKey keys and produces new instances of RsaSsaPssSignJce.
RsaSsaPssVerifyConscrypt - Class in com.google.crypto.tink.signature.internal
RSA SSA PSS verification with Conscrypt.
RsaSsaPssVerifyJce - Class in com.google.crypto.tink.subtle
RsaSsaPss (i.e.
RsaSsaPssVerifyJce(RSAPublicKey, Enums.HashType, Enums.HashType, int) - Constructor for class com.google.crypto.tink.subtle.RsaSsaPssVerifyJce
 
run() - Method in interface com.google.crypto.tink.internal.TinkBugException.ThrowingRunnable
 

S

scalarMultWithBaseToBytes(byte[]) - Static method in class com.google.crypto.tink.internal.Ed25519
Computes a*B where a = a[0]+256*a[1]+...+256^31 a[31] and B is the Ed25519 base point (x,4/5) with x positive.
seal(byte[], byte[]) - Method in class com.google.crypto.tink.hybrid.internal.HpkeContext
Performs AEAD encryption of plaintext with associatedData according to ContextS.Seal() defined in https://www.rfc-editor.org/rfc/rfc9180.html#section-5.2-8.
seal(byte[], byte[], byte[], byte[]) - Method in interface com.google.crypto.tink.hybrid.internal.HpkeAead
Performs authenticated encryption of plaintext and associatedData using key and nonce according to the HPKE AEAD specification.
seal(byte[], byte[], byte[], int, byte[]) - Method in interface com.google.crypto.tink.hybrid.internal.HpkeAead
 
SECRET_KEY_LEN - Static variable in class com.google.crypto.tink.internal.Ed25519
 
SECRET_KEY_LEN - Static variable in class com.google.crypto.tink.signature.internal.Ed25519SignJce
 
SECRET_KEY_LEN - Static variable in class com.google.crypto.tink.subtle.Ed25519Sign
 
SecretBigInteger - Class in com.google.crypto.tink.util
A class storing a secret BigInteger, protecting the value via SecretKeyAccess.
SecretBytes - Class in com.google.crypto.tink.util
A class storing an immutable byte array, protecting the data via SecretKeyAccess.
SecretKeyAccess - Class in com.google.crypto.tink
Represents access to secret key material.
SecretKeyAccess - Class in com.google.crypto.tink.tinkkey
A class used to generate KeyAccess instances granting secret access.
SelfKeyTestValidators - Class in com.google.crypto.tink.subtle
Self Key tests validation helper methods.
Serialization - Interface in com.google.crypto.tink.internal
Represents either a serialized Key or a serialized Parameters object.
SerializationRegistry - Class in com.google.crypto.tink.internal
Allows registering KeySerializer, KeyParser, ParametersSerializer, and ParametersParser objects, and parsing/serializing keys and key formats with such objects.
SerializationRegistry.Builder - Class in com.google.crypto.tink.internal
Allows building SerializationRegistry objects.
serialize(Parameters) - Static method in class com.google.crypto.tink.TinkProtoParametersFormat
Serializes a Parameters object into a byte[] according to Tink's binary format.
serializeEncryptedKeyset(KeysetHandle, Aead, byte[]) - Static method in class com.google.crypto.tink.TinkJsonProtoKeysetFormat
 
serializeEncryptedKeyset(KeysetHandle, Aead, byte[]) - Static method in class com.google.crypto.tink.TinkProtoKeysetFormat
 
serializeEncryptedKeyset(KeysetHandle, KeysetWriter, Aead, byte[]) - Static method in class com.google.crypto.tink.LegacyKeysetSerialization
Serialize a keyset in an encrypted format to the writer.
serializeKey(KeyT, SecretKeyAccess) - Method in interface com.google.crypto.tink.internal.KeySerializer.KeySerializationFunction
 
serializeKey(KeyT, SecretKeyAccess) - Method in class com.google.crypto.tink.internal.KeySerializer
 
serializeKey(KeyT, Class<SerializationT>, SecretKeyAccess) - Method in class com.google.crypto.tink.internal.MutableSerializationRegistry
Serializes a given Key into a "SerializationT" object.
serializeKey(KeyT, Class<SerializationT>, SecretKeyAccess) - Method in class com.google.crypto.tink.internal.SerializationRegistry
Serializes a given Key into a "SerializationT" object.
serializeKeyset(KeysetHandle, KeysetWriter, SecretKeyAccess) - Static method in class com.google.crypto.tink.LegacyKeysetSerialization
Serialize a keyset to the writer.
serializeKeyset(KeysetHandle, SecretKeyAccess) - Static method in class com.google.crypto.tink.TinkJsonProtoKeysetFormat
 
serializeKeyset(KeysetHandle, SecretKeyAccess) - Static method in class com.google.crypto.tink.TinkProtoKeysetFormat
 
serializeKeysetWithoutSecret(KeysetHandle) - Static method in class com.google.crypto.tink.TinkJsonProtoKeysetFormat
 
serializeKeysetWithoutSecret(KeysetHandle) - Static method in class com.google.crypto.tink.TinkProtoKeysetFormat
 
serializeKeysetWithoutSecret(KeysetHandle, KeysetWriter) - Static method in class com.google.crypto.tink.LegacyKeysetSerialization
Serialize a keyset to the writer.
serializeParameters(ParametersT) - Method in interface com.google.crypto.tink.internal.ParametersSerializer.ParametersSerializationFunction
 
serializeParameters(ParametersT) - Method in class com.google.crypto.tink.internal.ParametersSerializer
 
serializeParameters(ParametersT, Class<SerializationT>) - Method in class com.google.crypto.tink.internal.MutableSerializationRegistry
Serializes a given Parameters object into a "SerializationT" object.
serializeParameters(ParametersT, Class<SerializationT>) - Method in class com.google.crypto.tink.internal.SerializationRegistry
Serializes a given Parameters object into a "SerializationT" object.
setAeadId(HpkeParameters.AeadId) - Method in class com.google.crypto.tink.hybrid.HpkeParameters.Builder
 
setAesKeyBytes(SecretBytes) - Method in class com.google.crypto.tink.aead.AesCtrHmacAeadKey.Builder
 
setAesKeyBytes(SecretBytes) - Method in class com.google.crypto.tink.mac.AesCmacKey.Builder
 
setAesKeySizeBytes(int) - Method in class com.google.crypto.tink.aead.AesCtrHmacAeadParameters.Builder
Accepts key sizes of 16, 24 or 32 bytes.
setAlgorithm(JwtEcdsaParameters.Algorithm) - Method in class com.google.crypto.tink.jwt.JwtEcdsaParameters.Builder
 
setAlgorithm(JwtHmacParameters.Algorithm) - Method in class com.google.crypto.tink.jwt.JwtHmacParameters.Builder
 
setAlgorithm(JwtRsaSsaPkcs1Parameters.Algorithm) - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1Parameters.Builder
 
setAlgorithm(JwtRsaSsaPssParameters.Algorithm) - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPssParameters.Builder
 
setAudience(String) - Method in class com.google.crypto.tink.jwt.RawJwt.Builder
Sets the audience that the JWT is intended for.
setAudiences(List<String>) - Method in class com.google.crypto.tink.jwt.RawJwt.Builder
Sets the audiences that the JWT is intended for.
setCiphertextSegmentSizeBytes(int) - Method in class com.google.crypto.tink.streamingaead.AesCtrHmacStreamingParameters.Builder
Sets the size of a segment.
setCiphertextSegmentSizeBytes(int) - Method in class com.google.crypto.tink.streamingaead.AesGcmHkdfStreamingParameters.Builder
Sets the size of a segment.
setClock(Clock) - Method in class com.google.crypto.tink.jwt.JwtValidator.Builder
Sets the clock used to verify timestamp claims.
setClockSkew(Duration) - Method in class com.google.crypto.tink.jwt.JwtValidator.Builder
Sets the clock skew to tolerate when verifying timestamp claims, to deal with small clock differences among different machines.
setCrtCoefficient(SecretBigInteger) - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1PrivateKey.Builder
Sets the CRT coefficient qInv.
setCrtCoefficient(SecretBigInteger) - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPssPrivateKey.Builder
Sets the CRT coefficient qInv.
setCrtCoefficient(SecretBigInteger) - Method in class com.google.crypto.tink.signature.RsaSsaPkcs1PrivateKey.Builder
Sets the CRT coefficient qInv.
setCrtCoefficient(SecretBigInteger) - Method in class com.google.crypto.tink.signature.RsaSsaPssPrivateKey.Builder
Sets the CRT coefficient qInv.
setCurveType(EciesParameters.CurveType) - Method in class com.google.crypto.tink.hybrid.EciesParameters.Builder
 
setCurveType(EcdsaParameters.CurveType) - Method in class com.google.crypto.tink.signature.EcdsaParameters.Builder
 
setCustomKid(String) - Method in class com.google.crypto.tink.jwt.JwtEcdsaPublicKey.Builder
 
setCustomKid(String) - Method in class com.google.crypto.tink.jwt.JwtHmacKey.Builder
 
setCustomKid(String) - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1PublicKey.Builder
 
setCustomKid(String) - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPssPublicKey.Builder
 
setDekParametersForNewKeys(AeadParameters) - Method in class com.google.crypto.tink.aead.LegacyKmsEnvelopeAeadParameters.Builder
 
setDekParsingStrategy(LegacyKmsEnvelopeAeadParameters.DekParsingStrategy) - Method in class com.google.crypto.tink.aead.LegacyKmsEnvelopeAeadParameters.Builder
 
setDemParameters(Parameters) - Method in class com.google.crypto.tink.hybrid.EciesParameters.Builder
Current implementation only accepts certain NO_PREFIX instances of AesGcmParameters, AesCtrHmacAeadParameters, XChaCha20Poly1305Parameters or AesSivParameters.
setDerivedAesGcmKeySizeBytes(int) - Method in class com.google.crypto.tink.streamingaead.AesGcmHkdfStreamingParameters.Builder
Sets the size of the AES GCM key which will internally be derived.
setDerivedKeyParameters(Parameters) - Method in class com.google.crypto.tink.keyderivation.PrfBasedKeyDerivationParameters.Builder
The parameters of the keys which are in the result keyset when the user calls KeysetDeriver.deriveKeyset().
setDerivedKeySizeBytes(int) - Method in class com.google.crypto.tink.streamingaead.AesCtrHmacStreamingParameters.Builder
Sets the size of the AES GCM key which will internally be derived.
setExpiration(Instant) - Method in class com.google.crypto.tink.jwt.RawJwt.Builder
Sets the exp claim that identifies the instant on or after which the token MUST NOT be accepted for processing.
setFipsRestricted() - Static method in class com.google.crypto.tink.config.internal.TinkFipsUtil
Sets the binary to FIPS-only restricted mode.
setHashType(AesCtrHmacAeadParameters.HashType) - Method in class com.google.crypto.tink.aead.AesCtrHmacAeadParameters.Builder
 
setHashType(EciesParameters.HashType) - Method in class com.google.crypto.tink.hybrid.EciesParameters.Builder
 
setHashType(HmacParameters.HashType) - Method in class com.google.crypto.tink.mac.HmacParameters.Builder
 
setHashType(HkdfPrfParameters.HashType) - Method in class com.google.crypto.tink.prf.HkdfPrfParameters.Builder
 
setHashType(HmacPrfParameters.HashType) - Method in class com.google.crypto.tink.prf.HmacPrfParameters.Builder
 
setHashType(EcdsaParameters.HashType) - Method in class com.google.crypto.tink.signature.EcdsaParameters.Builder
 
setHashType(RsaSsaPkcs1Parameters.HashType) - Method in class com.google.crypto.tink.signature.RsaSsaPkcs1Parameters.Builder
 
setHkdfHashType(AesCtrHmacStreamingParameters.HashType) - Method in class com.google.crypto.tink.streamingaead.AesCtrHmacStreamingParameters.Builder
Sets the type of the hash function used in HKDF.
setHkdfHashType(AesGcmHkdfStreamingParameters.HashType) - Method in class com.google.crypto.tink.streamingaead.AesGcmHkdfStreamingParameters.Builder
Sets the type of the hash function used in HKDF.
setHmacHashType(AesCtrHmacStreamingParameters.HashType) - Method in class com.google.crypto.tink.streamingaead.AesCtrHmacStreamingParameters.Builder
Sets the type of the hash function used in the HMAC.
setHmacKeyBytes(SecretBytes) - Method in class com.google.crypto.tink.aead.AesCtrHmacAeadKey.Builder
 
setHmacKeySizeBytes(int) - Method in class com.google.crypto.tink.aead.AesCtrHmacAeadParameters.Builder
Accepts key sizes of at least 16 bytes.
setHmacTagSizeBytes(Integer) - Method in class com.google.crypto.tink.streamingaead.AesCtrHmacStreamingParameters.Builder
Sets the size of the Hmac tag used.
setIdRequirement(int) - Method in class com.google.crypto.tink.jwt.JwtHmacKey.Builder
 
setIdRequirement(Integer) - Method in class com.google.crypto.tink.aead.AesCtrHmacAeadKey.Builder
 
setIdRequirement(Integer) - Method in class com.google.crypto.tink.aead.AesEaxKey.Builder
 
setIdRequirement(Integer) - Method in class com.google.crypto.tink.aead.AesGcmKey.Builder
 
setIdRequirement(Integer) - Method in class com.google.crypto.tink.aead.AesGcmSivKey.Builder
 
setIdRequirement(Integer) - Method in class com.google.crypto.tink.daead.AesSivKey.Builder
 
setIdRequirement(Integer) - Method in class com.google.crypto.tink.jwt.JwtEcdsaPublicKey.Builder
 
setIdRequirement(Integer) - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1PublicKey.Builder
 
setIdRequirement(Integer) - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPssPublicKey.Builder
 
setIdRequirement(Integer) - Method in class com.google.crypto.tink.mac.AesCmacKey.Builder
 
setIdRequirement(Integer) - Method in class com.google.crypto.tink.mac.HmacKey.Builder
 
setIdRequirement(Integer) - Method in class com.google.crypto.tink.signature.EcdsaPublicKey.Builder
 
setIdRequirement(Integer) - Method in class com.google.crypto.tink.signature.RsaSsaPkcs1PublicKey.Builder
 
setIdRequirement(Integer) - Method in class com.google.crypto.tink.signature.RsaSsaPssPublicKey.Builder
 
setIssuedAt(Instant) - Method in class com.google.crypto.tink.jwt.RawJwt.Builder
Sets the iat claim that identifies the instant at which the JWT was issued.
setIssuer(String) - Method in class com.google.crypto.tink.jwt.RawJwt.Builder
Sets the issuer claim that identifies the principal that issued the JWT.
setIvSizeBytes(int) - Method in class com.google.crypto.tink.aead.AesCtrHmacAeadParameters.Builder
IV size must be between 12 and 16 bytes.
setIvSizeBytes(int) - Method in class com.google.crypto.tink.aead.AesEaxParameters.Builder
IV size must be 12 or 16 bytes.
setIvSizeBytes(int) - Method in class com.google.crypto.tink.aead.AesGcmParameters.Builder
IV size must greater than 0.
setJwtId(String) - Method in class com.google.crypto.tink.jwt.RawJwt.Builder
Sets the JWT ID claim that provides a unique identifier for the JWT.
setKdfId(HpkeParameters.KdfId) - Method in class com.google.crypto.tink.hybrid.HpkeParameters.Builder
 
setKekUri(String) - Method in class com.google.crypto.tink.aead.LegacyKmsEnvelopeAeadParameters.Builder
Sets the URI of the KMS to be used.
setKemId(HpkeParameters.KemId) - Method in class com.google.crypto.tink.hybrid.HpkeParameters.Builder
 
setKeyBytes(SecretBytes) - Method in class com.google.crypto.tink.aead.AesEaxKey.Builder
 
setKeyBytes(SecretBytes) - Method in class com.google.crypto.tink.aead.AesGcmKey.Builder
 
setKeyBytes(SecretBytes) - Method in class com.google.crypto.tink.aead.AesGcmSivKey.Builder
 
setKeyBytes(SecretBytes) - Method in class com.google.crypto.tink.daead.AesSivKey.Builder
 
setKeyBytes(SecretBytes) - Method in class com.google.crypto.tink.jwt.JwtHmacKey.Builder
 
setKeyBytes(SecretBytes) - Method in class com.google.crypto.tink.mac.HmacKey.Builder
 
setKeyBytes(SecretBytes) - Method in class com.google.crypto.tink.prf.HkdfPrfKey.Builder
 
setKeyBytes(SecretBytes) - Method in class com.google.crypto.tink.prf.HmacPrfKey.Builder
 
setKeySizeBytes(int) - Method in class com.google.crypto.tink.aead.AesEaxParameters.Builder
Accepts key sizes of 16, 24 or 32 bytes.
setKeySizeBytes(int) - Method in class com.google.crypto.tink.aead.AesGcmParameters.Builder
Accepts key sizes of 16, 24 or 32 bytes.
setKeySizeBytes(int) - Method in class com.google.crypto.tink.aead.AesGcmSivParameters.Builder
Accepts key sizes of 16 and 32 bytes.
setKeySizeBytes(int) - Method in class com.google.crypto.tink.daead.AesSivParameters.Builder
Accepts key sizes of 32, 48 or 64 bytes.
setKeySizeBytes(int) - Method in class com.google.crypto.tink.jwt.JwtHmacParameters.Builder
 
setKeySizeBytes(int) - Method in class com.google.crypto.tink.mac.AesCmacParameters.Builder
 
setKeySizeBytes(int) - Method in class com.google.crypto.tink.mac.HmacParameters.Builder
 
setKeySizeBytes(int) - Method in class com.google.crypto.tink.prf.HkdfPrfParameters.Builder
 
setKeySizeBytes(int) - Method in class com.google.crypto.tink.prf.HmacPrfParameters.Builder
 
setKeySizeBytes(int) - Method in class com.google.crypto.tink.streamingaead.AesCtrHmacStreamingParameters.Builder
Sets the size of the initial key material (used as input to HKDF).
setKeySizeBytes(int) - Method in class com.google.crypto.tink.streamingaead.AesGcmHkdfStreamingParameters.Builder
Sets the size of the initial key material (used as input to HKDF).
setKeyUri(String) - Method in class com.google.crypto.tink.integration.android.AndroidKeystoreKmsClient.Builder
 
setKidStrategy(JwtEcdsaParameters.KidStrategy) - Method in class com.google.crypto.tink.jwt.JwtEcdsaParameters.Builder
 
setKidStrategy(JwtHmacParameters.KidStrategy) - Method in class com.google.crypto.tink.jwt.JwtHmacParameters.Builder
 
setKidStrategy(JwtRsaSsaPkcs1Parameters.KidStrategy) - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1Parameters.Builder
 
setKidStrategy(JwtRsaSsaPssParameters.KidStrategy) - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPssParameters.Builder
 
setMgf1HashType(RsaSsaPssParameters.HashType) - Method in class com.google.crypto.tink.signature.RsaSsaPssParameters.Builder
 
setModulus(BigInteger) - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1PublicKey.Builder
 
setModulus(BigInteger) - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPssPublicKey.Builder
 
setModulus(BigInteger) - Method in class com.google.crypto.tink.signature.RsaSsaPkcs1PublicKey.Builder
 
setModulus(BigInteger) - Method in class com.google.crypto.tink.signature.RsaSsaPssPublicKey.Builder
 
setModulusSizeBits(int) - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1Parameters.Builder
 
setModulusSizeBits(int) - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPssParameters.Builder
 
setModulusSizeBits(int) - Method in class com.google.crypto.tink.signature.RsaSsaPkcs1Parameters.Builder
 
setModulusSizeBits(int) - Method in class com.google.crypto.tink.signature.RsaSsaPssParameters.Builder
 
setMonitoringAnnotations(MonitoringAnnotations) - Method in class com.google.crypto.tink.KeysetHandle.Builder
Sets MonitoringAnnotations.
setNistCurvePointFormat(EciesParameters.PointFormat) - Method in class com.google.crypto.tink.hybrid.EciesParameters.Builder
 
setNotBefore(Instant) - Method in class com.google.crypto.tink.jwt.RawJwt.Builder
Sets the nbf claim that identifies the instant before which the token MUST NOT be accepted for processing.
setParameters(AesCtrHmacAeadParameters) - Method in class com.google.crypto.tink.aead.AesCtrHmacAeadKey.Builder
 
setParameters(AesEaxParameters) - Method in class com.google.crypto.tink.aead.AesEaxKey.Builder
 
setParameters(AesGcmParameters) - Method in class com.google.crypto.tink.aead.AesGcmKey.Builder
 
setParameters(AesGcmSivParameters) - Method in class com.google.crypto.tink.aead.AesGcmSivKey.Builder
 
setParameters(AesSivParameters) - Method in class com.google.crypto.tink.daead.AesSivKey.Builder
 
setParameters(JwtEcdsaParameters) - Method in class com.google.crypto.tink.jwt.JwtEcdsaPublicKey.Builder
 
setParameters(JwtHmacParameters) - Method in class com.google.crypto.tink.jwt.JwtHmacKey.Builder
 
setParameters(JwtRsaSsaPkcs1Parameters) - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1PublicKey.Builder
 
setParameters(JwtRsaSsaPssParameters) - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPssPublicKey.Builder
 
setParameters(AesCmacParameters) - Method in class com.google.crypto.tink.mac.AesCmacKey.Builder
 
setParameters(HmacParameters) - Method in class com.google.crypto.tink.mac.HmacKey.Builder
 
setParameters(HkdfPrfParameters) - Method in class com.google.crypto.tink.prf.HkdfPrfKey.Builder
 
setParameters(HmacPrfParameters) - Method in class com.google.crypto.tink.prf.HmacPrfKey.Builder
 
setParameters(EcdsaParameters) - Method in class com.google.crypto.tink.signature.EcdsaPublicKey.Builder
 
setParameters(RsaSsaPkcs1Parameters) - Method in class com.google.crypto.tink.signature.RsaSsaPkcs1PublicKey.Builder
 
setParameters(RsaSsaPssParameters) - Method in class com.google.crypto.tink.signature.RsaSsaPssPublicKey.Builder
 
setPrfParameters(PrfParameters) - Method in class com.google.crypto.tink.keyderivation.PrfBasedKeyDerivationParameters.Builder
Sets the parameters of the PRF used to create randomness from the salt.
setPrimary(int) - Method in class com.google.crypto.tink.integration.android.AndroidKeysetManager
Sets the key with keyId as primary.
setPrimary(int) - Method in class com.google.crypto.tink.KeysetManager
Sets the key with keyId as primary.
setPrimeExponents(SecretBigInteger, SecretBigInteger) - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1PrivateKey.Builder
Sets the prime exponents dP and dQ.
setPrimeExponents(SecretBigInteger, SecretBigInteger) - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPssPrivateKey.Builder
Sets the prime exponents dP and dQ.
setPrimeExponents(SecretBigInteger, SecretBigInteger) - Method in class com.google.crypto.tink.signature.RsaSsaPkcs1PrivateKey.Builder
Sets the prime exponents dP and dQ.
setPrimeExponents(SecretBigInteger, SecretBigInteger) - Method in class com.google.crypto.tink.signature.RsaSsaPssPrivateKey.Builder
Sets the prime exponents dP and dQ.
setPrimes(SecretBigInteger, SecretBigInteger) - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1PrivateKey.Builder
Sets the prime factors p and q.
setPrimes(SecretBigInteger, SecretBigInteger) - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPssPrivateKey.Builder
Sets the prime factors p and q.
setPrimes(SecretBigInteger, SecretBigInteger) - Method in class com.google.crypto.tink.signature.RsaSsaPkcs1PrivateKey.Builder
Sets the prime factors p and q.
setPrimes(SecretBigInteger, SecretBigInteger) - Method in class com.google.crypto.tink.signature.RsaSsaPssPrivateKey.Builder
Sets the prime factors p and q.
setPrivateExponent(SecretBigInteger) - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1PrivateKey.Builder
Sets the private exponent d.
setPrivateExponent(SecretBigInteger) - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPssPrivateKey.Builder
Sets the private exponent d.
setPrivateExponent(SecretBigInteger) - Method in class com.google.crypto.tink.signature.RsaSsaPkcs1PrivateKey.Builder
Sets the private exponent d.
setPrivateExponent(SecretBigInteger) - Method in class com.google.crypto.tink.signature.RsaSsaPssPrivateKey.Builder
Sets the private exponent d.
setPrivateValue(SecretBigInteger) - Method in class com.google.crypto.tink.signature.EcdsaPrivateKey.Builder
 
setPublicExponent(BigInteger) - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1Parameters.Builder
 
setPublicExponent(BigInteger) - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPssParameters.Builder
 
setPublicExponent(BigInteger) - Method in class com.google.crypto.tink.signature.RsaSsaPkcs1Parameters.Builder
 
setPublicExponent(BigInteger) - Method in class com.google.crypto.tink.signature.RsaSsaPssParameters.Builder
 
setPublicKey(JwtRsaSsaPkcs1PublicKey) - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1PrivateKey.Builder
Sets the public key, which includes the parameters.
setPublicKey(JwtRsaSsaPssPublicKey) - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPssPrivateKey.Builder
Sets the public key, which includes the parameters.
setPublicKey(EcdsaPublicKey) - Method in class com.google.crypto.tink.signature.EcdsaPrivateKey.Builder
 
setPublicKey(RsaSsaPkcs1PublicKey) - Method in class com.google.crypto.tink.signature.RsaSsaPkcs1PrivateKey.Builder
Sets the public key, which includes the parameters.
setPublicKey(RsaSsaPssPublicKey) - Method in class com.google.crypto.tink.signature.RsaSsaPssPrivateKey.Builder
Sets the public key, which includes the parameters.
setPublicPoint(ECPoint) - Method in class com.google.crypto.tink.jwt.JwtEcdsaPublicKey.Builder
 
setPublicPoint(ECPoint) - Method in class com.google.crypto.tink.signature.EcdsaPublicKey.Builder
 
setSalt(Bytes) - Method in class com.google.crypto.tink.hybrid.EciesParameters.Builder
Defaults to null if not set.
setSalt(Bytes) - Method in class com.google.crypto.tink.prf.HkdfPrfParameters.Builder
 
setSaltLengthBytes(int) - Method in class com.google.crypto.tink.signature.RsaSsaPssParameters.Builder
 
setSigHashType(RsaSsaPssParameters.HashType) - Method in class com.google.crypto.tink.signature.RsaSsaPssParameters.Builder
 
setSignatureEncoding(EcdsaParameters.SignatureEncoding) - Method in class com.google.crypto.tink.signature.EcdsaParameters.Builder
 
setStatus(KeyStatus) - Method in class com.google.crypto.tink.KeysetHandle.Builder.Entry
Sets the status of this entry.
setSubject(String) - Method in class com.google.crypto.tink.jwt.RawJwt.Builder
Sets the subject claim identifying the principal that is the subject of the JWT.
setTagSizeBytes(int) - Method in class com.google.crypto.tink.aead.AesCtrHmacAeadParameters.Builder
 
setTagSizeBytes(int) - Method in class com.google.crypto.tink.aead.AesEaxParameters.Builder
The tag size accepts values between 0 and 16 bytes.
setTagSizeBytes(int) - Method in class com.google.crypto.tink.aead.AesGcmParameters.Builder
Tag size must be between 12 and 16 bytes.
setTagSizeBytes(int) - Method in class com.google.crypto.tink.mac.AesCmacParameters.Builder
 
setTagSizeBytes(int) - Method in class com.google.crypto.tink.mac.HmacParameters.Builder
 
setTypeHeader(String) - Method in class com.google.crypto.tink.jwt.RawJwt.Builder
Sets the Type Header Parameter.
setValue(boolean) - Method in interface com.google.crypto.tink.config.TinkFlag
Overrides the value to t for this flag.
setVariant(AesCtrHmacAeadParameters.Variant) - Method in class com.google.crypto.tink.aead.AesCtrHmacAeadParameters.Builder
 
setVariant(AesEaxParameters.Variant) - Method in class com.google.crypto.tink.aead.AesEaxParameters.Builder
 
setVariant(AesGcmParameters.Variant) - Method in class com.google.crypto.tink.aead.AesGcmParameters.Builder
 
setVariant(AesGcmSivParameters.Variant) - Method in class com.google.crypto.tink.aead.AesGcmSivParameters.Builder
 
setVariant(LegacyKmsEnvelopeAeadParameters.Variant) - Method in class com.google.crypto.tink.aead.LegacyKmsEnvelopeAeadParameters.Builder
 
setVariant(AesSivParameters.Variant) - Method in class com.google.crypto.tink.daead.AesSivParameters.Builder
 
setVariant(EciesParameters.Variant) - Method in class com.google.crypto.tink.hybrid.EciesParameters.Builder
 
setVariant(HpkeParameters.Variant) - Method in class com.google.crypto.tink.hybrid.HpkeParameters.Builder
 
setVariant(AesCmacParameters.Variant) - Method in class com.google.crypto.tink.mac.AesCmacParameters.Builder
 
setVariant(HmacParameters.Variant) - Method in class com.google.crypto.tink.mac.HmacParameters.Builder
 
setVariant(EcdsaParameters.Variant) - Method in class com.google.crypto.tink.signature.EcdsaParameters.Builder
 
setVariant(RsaSsaPkcs1Parameters.Variant) - Method in class com.google.crypto.tink.signature.RsaSsaPkcs1Parameters.Builder
 
setVariant(RsaSsaPssParameters.Variant) - Method in class com.google.crypto.tink.signature.RsaSsaPssParameters.Builder
 
SHA1 - com.google.crypto.tink.subtle.Enums.HashType
 
SHA1 - Static variable in class com.google.crypto.tink.aead.AesCtrHmacAeadParameters.HashType
 
SHA1 - Static variable in class com.google.crypto.tink.hybrid.EciesParameters.HashType
 
SHA1 - Static variable in class com.google.crypto.tink.mac.HmacParameters.HashType
 
SHA1 - Static variable in class com.google.crypto.tink.prf.HkdfPrfParameters.HashType
 
SHA1 - Static variable in class com.google.crypto.tink.prf.HmacPrfParameters.HashType
 
SHA1 - Static variable in class com.google.crypto.tink.streamingaead.AesCtrHmacStreamingParameters.HashType
 
SHA1 - Static variable in class com.google.crypto.tink.streamingaead.AesGcmHkdfStreamingParameters.HashType
 
SHA224 - com.google.crypto.tink.subtle.Enums.HashType
 
SHA224 - Static variable in class com.google.crypto.tink.aead.AesCtrHmacAeadParameters.HashType
 
SHA224 - Static variable in class com.google.crypto.tink.hybrid.EciesParameters.HashType
 
SHA224 - Static variable in class com.google.crypto.tink.mac.HmacParameters.HashType
 
SHA224 - Static variable in class com.google.crypto.tink.prf.HkdfPrfParameters.HashType
 
SHA224 - Static variable in class com.google.crypto.tink.prf.HmacPrfParameters.HashType
 
SHA256 - com.google.crypto.tink.subtle.Enums.HashType
 
SHA256 - Static variable in class com.google.crypto.tink.aead.AesCtrHmacAeadParameters.HashType
 
SHA256 - Static variable in class com.google.crypto.tink.hybrid.EciesParameters.HashType
 
SHA256 - Static variable in class com.google.crypto.tink.mac.HmacParameters.HashType
 
SHA256 - Static variable in class com.google.crypto.tink.prf.HkdfPrfParameters.HashType
 
SHA256 - Static variable in class com.google.crypto.tink.prf.HmacPrfParameters.HashType
 
SHA256 - Static variable in class com.google.crypto.tink.signature.EcdsaParameters.HashType
 
SHA256 - Static variable in class com.google.crypto.tink.signature.RsaSsaPkcs1Parameters.HashType
 
SHA256 - Static variable in class com.google.crypto.tink.signature.RsaSsaPssParameters.HashType
 
SHA256 - Static variable in class com.google.crypto.tink.streamingaead.AesCtrHmacStreamingParameters.HashType
 
SHA256 - Static variable in class com.google.crypto.tink.streamingaead.AesGcmHkdfStreamingParameters.HashType
 
SHA384 - com.google.crypto.tink.subtle.Enums.HashType
 
SHA384 - Static variable in class com.google.crypto.tink.aead.AesCtrHmacAeadParameters.HashType
 
SHA384 - Static variable in class com.google.crypto.tink.hybrid.EciesParameters.HashType
 
SHA384 - Static variable in class com.google.crypto.tink.mac.HmacParameters.HashType
 
SHA384 - Static variable in class com.google.crypto.tink.prf.HkdfPrfParameters.HashType
 
SHA384 - Static variable in class com.google.crypto.tink.prf.HmacPrfParameters.HashType
 
SHA384 - Static variable in class com.google.crypto.tink.signature.EcdsaParameters.HashType
 
SHA384 - Static variable in class com.google.crypto.tink.signature.RsaSsaPkcs1Parameters.HashType
 
SHA384 - Static variable in class com.google.crypto.tink.signature.RsaSsaPssParameters.HashType
 
SHA512 - com.google.crypto.tink.subtle.Enums.HashType
 
SHA512 - Static variable in class com.google.crypto.tink.aead.AesCtrHmacAeadParameters.HashType
 
SHA512 - Static variable in class com.google.crypto.tink.hybrid.EciesParameters.HashType
 
SHA512 - Static variable in class com.google.crypto.tink.mac.HmacParameters.HashType
 
SHA512 - Static variable in class com.google.crypto.tink.prf.HkdfPrfParameters.HashType
 
SHA512 - Static variable in class com.google.crypto.tink.prf.HmacPrfParameters.HashType
 
SHA512 - Static variable in class com.google.crypto.tink.signature.EcdsaParameters.HashType
 
SHA512 - Static variable in class com.google.crypto.tink.signature.RsaSsaPkcs1Parameters.HashType
 
SHA512 - Static variable in class com.google.crypto.tink.signature.RsaSsaPssParameters.HashType
 
SHA512 - Static variable in class com.google.crypto.tink.streamingaead.AesCtrHmacStreamingParameters.HashType
 
SHA512 - Static variable in class com.google.crypto.tink.streamingaead.AesGcmHkdfStreamingParameters.HashType
 
SharedPrefKeysetReader - Class in com.google.crypto.tink.integration.android
A KeysetReader that can read keysets from private shared preferences on Android.
SharedPrefKeysetReader(Context, String, String) - Constructor for class com.google.crypto.tink.integration.android.SharedPrefKeysetReader
Creates a KeysetReader that reads and hex-decodes keysets from the preference name keysetName in the private shared preferences file prefFilename.
SharedPrefKeysetWriter - Class in com.google.crypto.tink.integration.android
A KeysetWriter that can write keysets to private shared preferences on Android.
SharedPrefKeysetWriter(Context, String, String) - Constructor for class com.google.crypto.tink.integration.android.SharedPrefKeysetWriter
Creates a KeysetReader that hex-encodes and writes keysets to the preference name keysetName in the private shared preferences file prefFileName.
sign(byte[]) - Method in interface com.google.crypto.tink.PublicKeySign
Computes the signature for data.
sign(byte[]) - Method in class com.google.crypto.tink.signature.internal.EcdsaSignJce
 
sign(byte[]) - Method in class com.google.crypto.tink.signature.internal.Ed25519SignJce
 
sign(byte[]) - Method in class com.google.crypto.tink.signature.internal.LegacyFullSign
 
sign(byte[]) - Method in class com.google.crypto.tink.signature.internal.RsaSsaPkcs1SignJce
 
sign(byte[]) - Method in class com.google.crypto.tink.signature.internal.RsaSsaPssSignConscrypt
 
sign(byte[]) - Method in class com.google.crypto.tink.subtle.EcdsaSignJce
 
sign(byte[]) - Method in class com.google.crypto.tink.subtle.Ed25519Sign
 
sign(byte[]) - Method in class com.google.crypto.tink.subtle.RsaSsaPkcs1SignJce
 
sign(byte[]) - Method in class com.google.crypto.tink.subtle.RsaSsaPssSignJce
 
sign(byte[], byte[], byte[]) - Static method in class com.google.crypto.tink.internal.Ed25519
Returns the EdDSA signature for the message based on the hashedPrivateKey.
signAndEncode(RawJwt) - Method in interface com.google.crypto.tink.jwt.JwtPublicKeySign
Computes a signature, and encodes the JWT and the signature in the JWS compact serialization format.
signAndEncodeWithKid(RawJwt, Optional<String>) - Method in interface com.google.crypto.tink.jwt.JwtPublicKeySignInternal
Computes a signature, and encodes the JWT and the signature in the JWS compact serialization format.
SIGNATURE - Static variable in class com.google.crypto.tink.subtle.EngineFactory
 
SIGNATURE_LEN - Static variable in class com.google.crypto.tink.internal.Ed25519
 
SIGNATURE_LEN - Static variable in class com.google.crypto.tink.signature.internal.Ed25519SignJce
 
SIGNATURE_LEN - Static variable in class com.google.crypto.tink.subtle.Ed25519Verify
 
SignatureConfig - Class in com.google.crypto.tink.signature
Static methods and constants for registering with the Registry all instances of PublicKeySign and PublicKeyVerify key types supported in a particular release of Tink.
SignatureKeyTemplates - Class in com.google.crypto.tink.signature
Pre-generated KeyTemplate for PublicKeySign and PublicKeyVerify.
SignatureParameters - Class in com.google.crypto.tink.signature
Represents a description of a SignaturePrivateKey and the coresponding SignaturePublicKey excluding the randomly chosen key material.
SignatureParameters() - Constructor for class com.google.crypto.tink.signature.SignatureParameters
 
SignaturePemKeysetReader - Class in com.google.crypto.tink.signature
SignaturePemKeysetReader is a KeysetReader that can read digital signature keys in PEM format (RFC 7468).
SignaturePemKeysetReader.Builder - Class in com.google.crypto.tink.signature
Builder for SignaturePemKeysetReader
SignaturePrivateKey - Class in com.google.crypto.tink.signature
A SignaturePrivateKey represents a digital signature primitive, which consists of a sign and a verify function.
SignaturePrivateKey() - Constructor for class com.google.crypto.tink.signature.SignaturePrivateKey
 
SignaturePublicKey - Class in com.google.crypto.tink.signature
A SignaturePublicKey represents the verification portion of a digital signature primitive.
SignaturePublicKey() - Constructor for class com.google.crypto.tink.signature.SignaturePublicKey
 
SigUtil - Class in com.google.crypto.tink.signature.internal
Utility functions to convert to and from signature-related proto.
size() - Method in interface com.google.crypto.tink.internal.KeysetHandleInterface
 
size() - Method in class com.google.crypto.tink.KeysetHandle.Builder
Returns the number of entries in this builder.
size() - Method in class com.google.crypto.tink.KeysetHandle
Returns the size of this keyset.
size() - Method in class com.google.crypto.tink.util.Bytes
 
size() - Method in class com.google.crypto.tink.util.SecretBytes
Returns the length of the bytes wrapped by this object.
staticKeyType() - Static method in class com.google.crypto.tink.prf.HkdfPrfKeyManager
 
StreamingAead - Interface in com.google.crypto.tink
An interface for streaming authenticated encryption with associated data.
StreamingAeadConfig - Class in com.google.crypto.tink.streamingaead
Static methods and constants for registering with the Registry all instances of StreamingAead key types supported in a particular release of Tink.
StreamingAeadFactory - Class in com.google.crypto.tink.streamingaead
Deprecated.
Use keysetHandle.getPrimitive(RegistryConfiguration.get(), StreamingAead.class) after registering the StreamingAeadWrapper instead.
StreamingAeadKey - Class in com.google.crypto.tink.streamingaead
Represents functions to encrypt and decrypt data using a StreamingAead.
StreamingAeadKey() - Constructor for class com.google.crypto.tink.streamingaead.StreamingAeadKey
 
StreamingAeadKeyTemplates - Class in com.google.crypto.tink.streamingaead
Deprecated.
Try using our refaster templates to replace them (see https://github.com/tink-crypto/tink-java/tree/main/tools/refaster). If migration is unclear, please file an issue on https://github.com/tink-crypto/tink-java.
StreamingAeadParameters - Class in com.google.crypto.tink.streamingaead
Represents a description of a StreamingAeadKey.
StreamingAeadParameters() - Constructor for class com.google.crypto.tink.streamingaead.StreamingAeadParameters
 
StreamingAeadWrapper - Class in com.google.crypto.tink.streamingaead
StreamingAeadWrapper is the implementation of PrimitiveWrapper for the StreamingAead primitive.
StreamingPrf - Interface in com.google.crypto.tink.subtle.prf
Streaming API Interface for Pseudo Random Function (Prf)
StreamSegmentDecrypter - Interface in com.google.crypto.tink.subtle
StreamSegmentDecrypter is a helper class that decrypts individual segments of a stream.
StreamSegmentEncrypter - Interface in com.google.crypto.tink.subtle
StreamSegmentEncrypter is a helper class that encrypts individual segments of a stream.
SubtleUtil - Class in com.google.crypto.tink.subtle
Helper methods.

T

TAG_SIZE_IN_BYTES - Static variable in class com.google.crypto.tink.aead.internal.AesGcmJceUtil
 
TAG_SIZE_IN_BYTES - Static variable in class com.google.crypto.tink.aead.internal.InsecureNonceAesGcmJce
 
TCipher() - Constructor for class com.google.crypto.tink.subtle.EngineWrapper.TCipher
 
TINK - com.google.crypto.tink.KeyTemplate.OutputPrefixType
 
TINK - Static variable in class com.google.crypto.tink.aead.AesCtrHmacAeadParameters.Variant
 
TINK - Static variable in class com.google.crypto.tink.aead.AesEaxParameters.Variant
 
TINK - Static variable in class com.google.crypto.tink.aead.AesGcmParameters.Variant
 
TINK - Static variable in class com.google.crypto.tink.aead.AesGcmSivParameters.Variant
 
TINK - Static variable in class com.google.crypto.tink.aead.ChaCha20Poly1305Parameters.Variant
 
TINK - Static variable in class com.google.crypto.tink.aead.LegacyKmsAeadParameters.Variant
 
TINK - Static variable in class com.google.crypto.tink.aead.LegacyKmsEnvelopeAeadParameters.Variant
 
TINK - Static variable in class com.google.crypto.tink.aead.XAesGcmParameters.Variant
 
TINK - Static variable in class com.google.crypto.tink.aead.XChaCha20Poly1305Parameters.Variant
 
TINK - Static variable in class com.google.crypto.tink.daead.AesSivParameters.Variant
 
TINK - Static variable in class com.google.crypto.tink.hybrid.EciesParameters.Variant
Leading 0x01-byte followed by 4-byte key id (big endian format).
TINK - Static variable in class com.google.crypto.tink.hybrid.HpkeParameters.Variant
TINK: Leading 0x01-byte followed by 4-byte key id (big endian format).
TINK - Static variable in class com.google.crypto.tink.mac.AesCmacParameters.Variant
 
TINK - Static variable in class com.google.crypto.tink.mac.HmacParameters.Variant
 
TINK - Static variable in class com.google.crypto.tink.signature.EcdsaParameters.Variant
 
TINK - Static variable in class com.google.crypto.tink.signature.Ed25519Parameters.Variant
 
TINK - Static variable in class com.google.crypto.tink.signature.MlDsaParameters.Variant
 
TINK - Static variable in class com.google.crypto.tink.signature.RsaSsaPkcs1Parameters.Variant
 
TINK - Static variable in class com.google.crypto.tink.signature.RsaSsaPssParameters.Variant
 
TINK_1_0_0 - Static variable in class com.google.crypto.tink.aead.AeadConfig
Deprecated.
TINK_1_0_0 - Static variable in class com.google.crypto.tink.config.TinkConfig
Deprecated.
Configs are not supported anymore. Please call TinkConfig.register(); instead of accessing this variable.
TINK_1_0_0 - Static variable in class com.google.crypto.tink.hybrid.HybridConfig
Deprecated. 
TINK_1_0_0 - Static variable in class com.google.crypto.tink.mac.MacConfig
Deprecated.
TINK_1_0_0 - Static variable in class com.google.crypto.tink.signature.SignatureConfig
Deprecated.
TINK_1_1_0 - Static variable in class com.google.crypto.tink.aead.AeadConfig
Deprecated.
TINK_1_1_0 - Static variable in class com.google.crypto.tink.config.TinkConfig
Deprecated.
Configs are not supported anymore. Please call TinkConfig.register(); instead of accessing this variable.
TINK_1_1_0 - Static variable in class com.google.crypto.tink.daead.DeterministicAeadConfig
TINK_1_1_0 - Static variable in class com.google.crypto.tink.hybrid.HybridConfig
Deprecated. 
TINK_1_1_0 - Static variable in class com.google.crypto.tink.mac.MacConfig
Deprecated.
TINK_1_1_0 - Static variable in class com.google.crypto.tink.signature.SignatureConfig
Deprecated.
TINK_1_1_0 - Static variable in class com.google.crypto.tink.streamingaead.StreamingAeadConfig
Deprecated. 
TINK_PREFIX_SIZE - Static variable in class com.google.crypto.tink.CryptoFormat
Tink prefix starts with \x01 and followed by a 4-byte key id.
TINK_START_BYTE - Static variable in class com.google.crypto.tink.CryptoFormat
 
TINK_START_BYTE - Static variable in class com.google.crypto.tink.internal.OutputPrefixUtil
 
TINK_VERSION - Static variable in class com.google.crypto.tink.Version
Version of the current Tink release.
TinkBugException - Exception in com.google.crypto.tink.internal
An exception to be thrown in case there is a bug in Tink.
TinkBugException(String) - Constructor for exception com.google.crypto.tink.internal.TinkBugException
Constructs a new TinkBugException with the specified detail message.
TinkBugException(String, Throwable) - Constructor for exception com.google.crypto.tink.internal.TinkBugException
Constructs a new TinkBugException with the specified detail message and cause.
TinkBugException(Throwable) - Constructor for exception com.google.crypto.tink.internal.TinkBugException
Constructs a new TinkBugException as a wrapper on a root cause
TinkBugException.ThrowingRunnable - Interface in com.google.crypto.tink.internal
A function which returns void and may throw an Exception.
TinkBugException.ThrowingSupplier<T> - Interface in com.google.crypto.tink.internal
A function which produces a T and may throw an Exception.
TinkConfig - Class in com.google.crypto.tink.config
Static methods and constants for registering with the Registry all instances of all key types supported in a particular release of Tink.
TinkFips - Class in com.google.crypto.tink.config
Static methods for checking if Tink has been built in FIPS-mode.
TinkFipsUtil - Class in com.google.crypto.tink.config.internal
Static methods for checking if Tink was built in FIPS mode and to check for algorithm compatibility.
TinkFipsUtil.AlgorithmFipsCompatibility - Enum in com.google.crypto.tink.config.internal
The status of FIPS compatibility of an algorithm.
TinkFlag - Interface in com.google.crypto.tink.config
Describes a change to Tink behavior.
TinkJsonProtoKeysetFormat - Class in com.google.crypto.tink
Functions to parse and serialize Keyset in Tink's JSON format based on Protobufs.
TinkKey - Interface in com.google.crypto.tink.tinkkey
TinkKey represents how Tink views individual keys.
TinkProtoKeysetFormat - Class in com.google.crypto.tink
Functions to parse and serialize Keyset in Tink's binary format based on Protobufs.
TinkProtoParametersFormat - Class in com.google.crypto.tink
Functions to parse and serialize Parameters in Tink's binary format based on Protobufs.
TKeyAgreement() - Constructor for class com.google.crypto.tink.subtle.EngineWrapper.TKeyAgreement
 
TKeyFactory() - Constructor for class com.google.crypto.tink.subtle.EngineWrapper.TKeyFactory
 
TKeyPairGenerator() - Constructor for class com.google.crypto.tink.subtle.EngineWrapper.TKeyPairGenerator
 
TMac() - Constructor for class com.google.crypto.tink.subtle.EngineWrapper.TMac
 
TMessageDigest() - Constructor for class com.google.crypto.tink.subtle.EngineWrapper.TMessageDigest
 
toBigEndianBytes(BigInteger) - Static method in class com.google.crypto.tink.internal.BigIntegerEncoding
Encodes a non-negative BigInteger into the minimal two's-complement representation in big-endian byte-order.
toBigEndianBytesOfFixedLength(BigInteger, int) - Static method in class com.google.crypto.tink.internal.BigIntegerEncoding
Encodes a non-negative BigInteger into a byte array of a specified length, using big-endian byte-order.
toByteArray() - Method in class com.google.crypto.tink.util.Bytes
 
toByteArray(KeyTemplate) - Static method in class com.google.crypto.tink.internal.KeyTemplateProtoConverter
 
toByteArray(SecretKeyAccess) - Method in class com.google.crypto.tink.util.SecretBytes
Returns a copy of the bytes wrapped by this object.
toBytesFromPrintableAscii(String) - Static method in class com.google.crypto.tink.internal.Util
Converts a string s to a corresponding Bytes object.
toCurveType(EllipticCurveType) - Static method in class com.google.crypto.tink.signature.internal.SigUtil
Converts protobuf enum EllipticCurveType to raw Java enum {code CurveType}.
toDigestAlgo(Enums.HashType) - Static method in class com.google.crypto.tink.subtle.SubtleUtil
Returns the digest algorithm name corresponding to a hash type.
toEcdsaAlgo(Enums.HashType) - Static method in class com.google.crypto.tink.subtle.SubtleUtil
Returns the Ecdsa algorithm name corresponding to a hash type.
toEcdsaEncoding(EcdsaSignatureEncoding) - Static method in class com.google.crypto.tink.signature.internal.SigUtil
Converts protobuf enum EcdsaSignatureEncoding to raw Java enum {code EllipticCurves.EcdsaEncoding}.
toHashType(HashType) - Static method in class com.google.crypto.tink.signature.internal.SigUtil
Converts protobuf enum HashType to raw Java enum Enums.HashType.
toKeysetHandle(String, KeyAccess) - Static method in class com.google.crypto.tink.jwt.JwkSetConverter
Deprecated.
Use JwkSetConverter.toPublicKeysetHandle(jwkSet) instead.
toMap() - Method in class com.google.crypto.tink.internal.MonitoringAnnotations
Returns an immutable map that contains the annotations.
toParameters() - Method in class com.google.crypto.tink.KeyTemplate
 
toParameterSpec() - Method in class com.google.crypto.tink.signature.EcdsaParameters.CurveType
 
toProto(KeyTemplate) - Static method in class com.google.crypto.tink.internal.KeyTemplateProtoConverter
 
toProto(KeyHandle.KeyStatusType) - Static method in class com.google.crypto.tink.internal.KeyStatusTypeProtoConverter
Converts a KeyHandle.KeyStatusType enum into a KeyHandle.KeyStatusType proto enum
toProtoEnum(O) - Method in class com.google.crypto.tink.internal.EnumTypeProtoConverter
Converts objectEnum to the equivalent proto enum.
toProviderList(String...) - Static method in class com.google.crypto.tink.subtle.EngineFactory
Helper function to get a list of Providers from names.
toPublicKeysetHandle(String) - Static method in class com.google.crypto.tink.jwt.JwkSetConverter
Converts a Json Web Key (JWK) set with public keys into a Tink KeysetHandle.
toRsaSsaPkcs1Algo(RsaSsaPkcs1Parameters.HashType) - Static method in class com.google.crypto.tink.signature.internal.RsaSsaPkcs1VerifyConscrypt
 
toRsaSsaPkcs1Algo(Enums.HashType) - Static method in class com.google.crypto.tink.subtle.SubtleUtil
Returns the RSA SSA (Signature with Appendix) PKCS1 algorithm name corresponding to a hash type.
toString() - Method in class com.google.crypto.tink.aead.AesCtrHmacAeadParameters.HashType
 
toString() - Method in class com.google.crypto.tink.aead.AesCtrHmacAeadParameters
 
toString() - Method in class com.google.crypto.tink.aead.AesCtrHmacAeadParameters.Variant
 
toString() - Method in class com.google.crypto.tink.aead.AesEaxParameters
 
toString() - Method in class com.google.crypto.tink.aead.AesEaxParameters.Variant
 
toString() - Method in class com.google.crypto.tink.aead.AesGcmParameters
 
toString() - Method in class com.google.crypto.tink.aead.AesGcmParameters.Variant
 
toString() - Method in class com.google.crypto.tink.aead.AesGcmSivParameters
 
toString() - Method in class com.google.crypto.tink.aead.AesGcmSivParameters.Variant
 
toString() - Method in class com.google.crypto.tink.aead.ChaCha20Poly1305Parameters
 
toString() - Method in class com.google.crypto.tink.aead.ChaCha20Poly1305Parameters.Variant
 
toString() - Method in class com.google.crypto.tink.aead.LegacyKmsAeadParameters
 
toString() - Method in class com.google.crypto.tink.aead.LegacyKmsAeadParameters.Variant
 
toString() - Method in class com.google.crypto.tink.aead.LegacyKmsEnvelopeAeadParameters.DekParsingStrategy
 
toString() - Method in class com.google.crypto.tink.aead.LegacyKmsEnvelopeAeadParameters
 
toString() - Method in class com.google.crypto.tink.aead.LegacyKmsEnvelopeAeadParameters.Variant
 
toString() - Method in class com.google.crypto.tink.aead.XAesGcmParameters
 
toString() - Method in class com.google.crypto.tink.aead.XAesGcmParameters.Variant
 
toString() - Method in class com.google.crypto.tink.aead.XChaCha20Poly1305Parameters
 
toString() - Method in class com.google.crypto.tink.aead.XChaCha20Poly1305Parameters.Variant
 
toString() - Method in class com.google.crypto.tink.daead.AesSivParameters
 
toString() - Method in class com.google.crypto.tink.daead.AesSivParameters.Variant
 
toString() - Method in class com.google.crypto.tink.hybrid.EciesParameters.CurveType
 
toString() - Method in class com.google.crypto.tink.hybrid.EciesParameters.HashType
 
toString() - Method in class com.google.crypto.tink.hybrid.EciesParameters.PointFormat
 
toString() - Method in class com.google.crypto.tink.hybrid.EciesParameters
 
toString() - Method in class com.google.crypto.tink.hybrid.EciesParameters.Variant
 
toString() - Method in class com.google.crypto.tink.hybrid.HpkeParameters
 
toString() - Method in class com.google.crypto.tink.hybrid.HpkeParameters.Variant
 
toString() - Method in class com.google.crypto.tink.internal.LegacyProtoParameters
 
toString() - Method in class com.google.crypto.tink.internal.MonitoringAnnotations
 
toString() - Method in class com.google.crypto.tink.jwt.JwtEcdsaParameters.Algorithm
 
toString() - Method in class com.google.crypto.tink.jwt.JwtEcdsaParameters.KidStrategy
 
toString() - Method in class com.google.crypto.tink.jwt.JwtEcdsaParameters
 
toString() - Method in class com.google.crypto.tink.jwt.JwtHmacParameters.Algorithm
 
toString() - Method in class com.google.crypto.tink.jwt.JwtHmacParameters.KidStrategy
 
toString() - Method in class com.google.crypto.tink.jwt.JwtHmacParameters
 
toString() - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1Parameters.Algorithm
 
toString() - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1Parameters.KidStrategy
 
toString() - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPkcs1Parameters
 
toString() - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPssParameters.Algorithm
 
toString() - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPssParameters.KidStrategy
 
toString() - Method in class com.google.crypto.tink.jwt.JwtRsaSsaPssParameters
 
toString() - Method in class com.google.crypto.tink.jwt.JwtValidator
Returns a brief description of a JwtValidator object.
toString() - Method in class com.google.crypto.tink.jwt.RawJwt
Returns a brief description of a RawJwt object.
toString() - Method in class com.google.crypto.tink.jwt.VerifiedJwt
Returns a brief description of a VerifiedJwt object.
toString() - Method in class com.google.crypto.tink.keyderivation.PrfBasedKeyDerivationParameters
 
toString() - Method in class com.google.crypto.tink.KeysetHandle
Extracts and returns the string representation of the KeysetInfo of the managed keyset.
toString() - Method in class com.google.crypto.tink.KeyStatus
 
toString() - Method in class com.google.crypto.tink.mac.AesCmacParameters
 
toString() - Method in class com.google.crypto.tink.mac.AesCmacParameters.Variant
 
toString() - Method in class com.google.crypto.tink.mac.HmacParameters.HashType
 
toString() - Method in class com.google.crypto.tink.mac.HmacParameters
 
toString() - Method in class com.google.crypto.tink.mac.HmacParameters.Variant
 
toString() - Method in class com.google.crypto.tink.prf.AesCmacPrfParameters
 
toString() - Method in class com.google.crypto.tink.prf.HkdfPrfParameters.HashType
 
toString() - Method in class com.google.crypto.tink.prf.HkdfPrfParameters
 
toString() - Method in class com.google.crypto.tink.prf.HmacPrfParameters.HashType
 
toString() - Method in class com.google.crypto.tink.prf.HmacPrfParameters
 
toString() - Method in class com.google.crypto.tink.signature.EcdsaParameters.CurveType
 
toString() - Method in class com.google.crypto.tink.signature.EcdsaParameters.HashType
 
toString() - Method in class com.google.crypto.tink.signature.EcdsaParameters.SignatureEncoding
 
toString() - Method in class com.google.crypto.tink.signature.EcdsaParameters
 
toString() - Method in class com.google.crypto.tink.signature.EcdsaParameters.Variant
 
toString() - Method in class com.google.crypto.tink.signature.Ed25519Parameters
 
toString() - Method in class com.google.crypto.tink.signature.Ed25519Parameters.Variant
 
toString() - Method in class com.google.crypto.tink.signature.MlDsaParameters.MlDsaInstance
 
toString() - Method in class com.google.crypto.tink.signature.MlDsaParameters
 
toString() - Method in class com.google.crypto.tink.signature.MlDsaParameters.Variant
 
toString() - Method in class com.google.crypto.tink.signature.RsaSsaPkcs1Parameters.HashType
 
toString() - Method in class com.google.crypto.tink.signature.RsaSsaPkcs1Parameters
 
toString() - Method in class com.google.crypto.tink.signature.RsaSsaPkcs1Parameters.Variant
 
toString() - Method in class com.google.crypto.tink.signature.RsaSsaPssParameters.HashType
 
toString() - Method in class com.google.crypto.tink.signature.RsaSsaPssParameters
 
toString() - Method in class com.google.crypto.tink.signature.RsaSsaPssParameters.Variant
 
toString() - Method in class com.google.crypto.tink.streamingaead.AesCtrHmacStreamingParameters.HashType
 
toString() - Method in class com.google.crypto.tink.streamingaead.AesCtrHmacStreamingParameters
 
toString() - Method in class com.google.crypto.tink.streamingaead.AesGcmHkdfStreamingParameters.HashType
 
toString() - Method in class com.google.crypto.tink.streamingaead.AesGcmHkdfStreamingParameters
 
toString() - Method in class com.google.crypto.tink.util.Bytes
 
toUnsignedBigEndianBytes(BigInteger) - Static method in class com.google.crypto.tink.internal.BigIntegerEncoding
Encodes a non-negative BigInteger into the minimal unsigned representation in big-endian byte-order.
toUnsignedIntByteString(BigInteger) - Static method in class com.google.crypto.tink.signature.internal.SigUtil
Returns the unsigned byte representation of the input BigInteger.
TSignature() - Constructor for class com.google.crypto.tink.subtle.EngineWrapper.TSignature
 
typeUrlExists(String) - Method in class com.google.crypto.tink.internal.KeyManagerRegistry
 

U

UNCOMPRESSED - com.google.crypto.tink.subtle.EllipticCurves.PointFormatType
 
UNCOMPRESSED - Static variable in class com.google.crypto.tink.hybrid.EciesParameters.PointFormat
 
unsetFipsRestricted() - Static method in class com.google.crypto.tink.config.internal.TinkFipsUtil
This method is only exposed for tests and should not be used to disable the FIPS restrictions.
unwrap(byte[]) - Method in interface com.google.crypto.tink.KeyWrap
Unwraps a wrapped key.
unwrap(byte[]) - Method in class com.google.crypto.tink.subtle.Kwp
Deprecated.
Unwraps a wrapped key.
update(ByteBuffer) - Method in interface com.google.crypto.tink.mac.ChunkedMacComputation
Processes the next chunk of input, represented by ByteBuffer data.
update(ByteBuffer) - Method in interface com.google.crypto.tink.mac.ChunkedMacVerification
Processes the next chunk of input, represented by ByteBuffer data.
URL_SAFE - Static variable in class com.google.crypto.tink.subtle.Base64
Encoder/decoder flag bit to indicate using the "URL and filename safe" variant of Base64 (see RFC 3548 section 4) where - and _ are used in place of + and /.
urlSafeDecode(String) - Static method in class com.google.crypto.tink.subtle.Base64
Decodes a url-safe base64 string to a byte array.
urlSafeEncode(byte[]) - Static method in class com.google.crypto.tink.subtle.Base64
Url-safe base64 encodes a byte array to a string.
useOnlyFips() - Static method in class com.google.crypto.tink.config.internal.TinkFipsUtil
 
useOnlyFips() - Static method in class com.google.crypto.tink.config.TinkFips
Returns true if the FIPS-mode has been enabled at build time or runtime.
UTF_8 - Static variable in class com.google.crypto.tink.internal.Util
Android 18-compatible alternative to StandardCharsets.UTF_8.
Util - Class in com.google.crypto.tink.internal
Helper functions used throughout Tink, for Tink internal use only.

V

validateAesKeySize(int) - Static method in class com.google.crypto.tink.subtle.Validators
 
validateCryptoKeyUri(String) - Static method in class com.google.crypto.tink.subtle.Validators
 
validateEcdsa(ECPrivateKey, ECPublicKey, Enums.HashType, EllipticCurves.EcdsaEncoding) - Static method in class com.google.crypto.tink.subtle.SelfKeyTestValidators
 
validateExists(File) - Static method in class com.google.crypto.tink.subtle.Validators
 
validateKeysetsOnParsing - Static variable in class com.google.crypto.tink.config.GlobalTinkFlags
If true, Tink validates keysets when parsing a KeysetHandle.
validateKmsKeyUriAndRemovePrefix(String, String) - Static method in class com.google.crypto.tink.subtle.Validators
Validates that kmsKeyUri starts with expectedPrefix, and removes the prefix.
validateNotExists(File) - Static method in class com.google.crypto.tink.subtle.Validators
 
validatePublicKey(ECPublicKey, ECPrivateKey) - Static method in class com.google.crypto.tink.subtle.EllipticCurves
Checks that the public key's params is the same as the private key's params, and the public key is a valid point on the private key's curve.
validateRsaModulusSize(int) - Static method in class com.google.crypto.tink.subtle.Validators
Validates whether modulusSize is at least 2048-bit.
validateRsaPublicExponent(BigInteger) - Static method in class com.google.crypto.tink.subtle.Validators
Validates whether publicExponent is odd and greater than 65536.
validateRsaSsaPkcs1(RSAPrivateCrtKey, RSAPublicKey, Enums.HashType) - Static method in class com.google.crypto.tink.subtle.SelfKeyTestValidators
 
validateRsaSsaPss(RSAPrivateCrtKey, RSAPublicKey, Enums.HashType, Enums.HashType, int) - Static method in class com.google.crypto.tink.subtle.SelfKeyTestValidators
 
validateSignatureHash(Enums.HashType) - Static method in class com.google.crypto.tink.subtle.Validators
Validates whether hash is safe to use for digital signature.
validateTypeUrl(String) - Static method in class com.google.crypto.tink.subtle.Validators
 
validateUsesConscrypt() - Static method in class com.google.crypto.tink.internal.Random
Throws a GeneralSecurityException if the provider is not Conscrypt.
validateVersion(int, int) - Static method in class com.google.crypto.tink.subtle.Validators
 
Validators - Class in com.google.crypto.tink.subtle
Validation helper methods.
valueOf(String) - Static method in enum com.google.crypto.tink.config.internal.TinkFipsUtil.AlgorithmFipsCompatibility
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.crypto.tink.KeyTemplate.OutputPrefixType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.crypto.tink.PemKeyType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.crypto.tink.subtle.EllipticCurves.CurveType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.crypto.tink.subtle.EllipticCurves.EcdsaEncoding
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.crypto.tink.subtle.EllipticCurves.PointFormatType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.crypto.tink.subtle.Enums.HashType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.crypto.tink.subtle.PemKeyType
Deprecated.
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.crypto.tink.tinkkey.KeyHandle.KeyStatusType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.google.crypto.tink.config.internal.TinkFipsUtil.AlgorithmFipsCompatibility
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.crypto.tink.KeyTemplate.OutputPrefixType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.crypto.tink.PemKeyType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.crypto.tink.subtle.EllipticCurves.CurveType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.crypto.tink.subtle.EllipticCurves.EcdsaEncoding
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.crypto.tink.subtle.EllipticCurves.PointFormatType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.crypto.tink.subtle.Enums.HashType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.crypto.tink.subtle.PemKeyType
Deprecated.
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.crypto.tink.tinkkey.KeyHandle.KeyStatusType
Returns an array containing the constants of this enum type, in the order they are declared.
variant() - Method in class com.google.crypto.tink.aead.LegacyKmsAeadParameters
 
VerifiedJwt - Class in com.google.crypto.tink.jwt
A decoded and verified JSON Web Token (JWT).
verify(byte[], byte[]) - Method in interface com.google.crypto.tink.PublicKeyVerify
Verifies whether signature is a valid signature for data.
verify(byte[], byte[]) - Method in class com.google.crypto.tink.signature.internal.EcdsaVerifyJce
 
verify(byte[], byte[]) - Method in class com.google.crypto.tink.signature.internal.Ed25519VerifyJce
 
verify(byte[], byte[]) - Method in class com.google.crypto.tink.signature.internal.LegacyFullVerify
 
verify(byte[], byte[]) - Method in class com.google.crypto.tink.signature.internal.RsaSsaPkcs1VerifyConscrypt
 
verify(byte[], byte[]) - Method in class com.google.crypto.tink.signature.internal.RsaSsaPssVerifyConscrypt
 
verify(byte[], byte[]) - Method in class com.google.crypto.tink.subtle.EcdsaVerifyJce
 
verify(byte[], byte[]) - Method in class com.google.crypto.tink.subtle.Ed25519Verify
 
verify(byte[], byte[]) - Method in class com.google.crypto.tink.subtle.RsaSsaPkcs1VerifyJce
 
verify(byte[], byte[]) - Method in class com.google.crypto.tink.subtle.RsaSsaPssVerifyJce
 
verify(byte[], byte[], byte[]) - Static method in class com.google.crypto.tink.internal.Ed25519
Returns true if the EdDSA signature with message, can be verified with publicKey.
verifyAndDecode(String, JwtValidator) - Method in interface com.google.crypto.tink.jwt.JwtPublicKeyVerify
Verifies and decodes a JWT in the JWS compact serialization format.
verifyAndDecodeWithKid(String, JwtValidator, Optional<String>) - Method in interface com.google.crypto.tink.jwt.JwtPublicKeyVerifyInternal
Verifies and decodes a JWT in the JWS compact serialization format.
verifyMac() - Method in interface com.google.crypto.tink.mac.ChunkedMacVerification
Verifies that the provided data matches the tag.
verifyMac(byte[], byte[]) - Method in class com.google.crypto.tink.mac.internal.LegacyFullMac
 
verifyMac(byte[], byte[]) - Method in interface com.google.crypto.tink.Mac
Verifies whether mac is a correct authentication code (MAC) for data.
verifyMac(byte[], byte[]) - Method in class com.google.crypto.tink.subtle.PrfMac
 
verifyMac(byte[], byte[], byte[]) - Static method in class com.google.crypto.tink.aead.internal.Poly1305
Verifies Poly1305 {@ mac} over data using key.
verifyMacAndDecode(String, JwtValidator) - Method in interface com.google.crypto.tink.jwt.JwtMac
Decodes and verifies a JWT in the JWS compact serialization format.
Version - Class in com.google.crypto.tink
Version of the Tink library.
Version() - Constructor for class com.google.crypto.tink.Version
 

W

withBytes(byte[]) - Static method in class com.google.crypto.tink.BinaryKeysetReader
Static method to create a BinaryKeysetReader from a byte arrary.
withBytes(byte[]) - Static method in class com.google.crypto.tink.JsonKeysetReader
Deprecated.
Use TinkJsonProtoKeysetFormat.parseKeyset() instead.
withCredentials(String) - Method in class com.google.crypto.tink.integration.android.AndroidKeystoreKmsClient
Initializes a KmsClient for Android Keystore.
withCredentials(String) - Method in interface com.google.crypto.tink.KmsClient
Loads the credentials in credentialPath.
withDefaultCredentials() - Method in class com.google.crypto.tink.integration.android.AndroidKeystoreKmsClient
Initializes a KmsClient for Android Keystore.
withDefaultCredentials() - Method in interface com.google.crypto.tink.KmsClient
Loads the default credentials.
withEmptyKeyset() - Static method in class com.google.crypto.tink.KeysetManager
 
withFile(File) - Static method in class com.google.crypto.tink.BinaryKeysetReader
Deprecated.
Inline the function.
withFile(File) - Static method in class com.google.crypto.tink.BinaryKeysetWriter
Deprecated.
Inline the function.
withFile(File) - Static method in class com.google.crypto.tink.JsonKeysetReader
Deprecated.
Method should be inlined.
withFile(File) - Static method in class com.google.crypto.tink.JsonKeysetWriter
Deprecated.
Method should be inlined.
withFixedId(int) - Method in class com.google.crypto.tink.KeysetHandle.Builder.Entry
Tells Tink to assign a fixed id when this keyset is built.
withInputStream(InputStream) - Static method in class com.google.crypto.tink.BinaryKeysetReader
Static method to create a BinaryKeysetReader from an InputStream.
withInputStream(InputStream) - Static method in class com.google.crypto.tink.JsonKeysetReader
Static method to create a JsonKeysetReader from an InputStream.
withJsonObject(Object) - Static method in class com.google.crypto.tink.JsonKeysetReader
Deprecated.
Use #withString
withKeysetHandle(KeysetHandle) - Static method in class com.google.crypto.tink.KeysetManager
 
withKeyTemplate(KeyTemplate) - Method in class com.google.crypto.tink.integration.android.AndroidKeysetManager.Builder
If the keyset is not found or valid, generates a new one using val.
withKeyTemplate(KeyTemplate) - Method in class com.google.crypto.tink.integration.android.AndroidKeysetManager.Builder
If the keyset is not found or valid, generates a new one using val.
withMasterKeyUri(String) - Method in class com.google.crypto.tink.integration.android.AndroidKeysetManager.Builder
Sets the master key URI that references the key in Android Keystore with which the keyset gets encrypted.
withoutExpiration() - Method in class com.google.crypto.tink.jwt.RawJwt.Builder
Allow generating tokens without an expiration.
withOutputStream(OutputStream) - Static method in class com.google.crypto.tink.BinaryKeysetWriter
Static method to create a BinaryKeysetWriter that writes to an OutputStream.
withOutputStream(OutputStream) - Static method in class com.google.crypto.tink.JsonKeysetWriter
Deprecated.
Static method to create a JsonKeysetWriter that writes to an OutputStream.
withPath(String) - Static method in class com.google.crypto.tink.JsonKeysetReader
Deprecated.
Method should be inlined.
withPath(String) - Static method in class com.google.crypto.tink.JsonKeysetWriter
Deprecated.
Method should be inlined.
withPath(Path) - Static method in class com.google.crypto.tink.JsonKeysetReader
Deprecated.
Method should be inlined.
withPath(Path) - Static method in class com.google.crypto.tink.JsonKeysetWriter
Deprecated.
Method should be inlined.
withRandomId() - Method in class com.google.crypto.tink.KeysetHandle.Builder.Entry
Tells Tink to assign an unused uniform random id when this keyset is built.
withSharedPref(Context, String, String) - Method in class com.google.crypto.tink.integration.android.AndroidKeysetManager.Builder
Reads and writes the keyset from shared preferences.
withString(String) - Static method in class com.google.crypto.tink.JsonKeysetReader
Static method to create a JsonKeysetReader from a string.
withUrlSafeBase64() - Method in class com.google.crypto.tink.JsonKeysetReader
 
wrap(byte[]) - Method in interface com.google.crypto.tink.KeyWrap
Wraps some key material data.
wrap(byte[]) - Method in class com.google.crypto.tink.subtle.Kwp
Deprecated.
Wraps some key material data.
wrap(KeysetHandleInterface, MonitoringAnnotations, PrimitiveWrapper.PrimitiveFactory<B>) - Method in interface com.google.crypto.tink.internal.PrimitiveWrapper
Wraps a PrimitiveSet and returns a single instance.
wrap(KeysetHandleInterface, MonitoringAnnotations, PrimitiveWrapper.PrimitiveFactory<Aead>) - Method in class com.google.crypto.tink.aead.AeadWrapper
 
wrap(KeysetHandleInterface, MonitoringAnnotations, PrimitiveWrapper.PrimitiveFactory<DeterministicAead>) - Method in class com.google.crypto.tink.daead.DeterministicAeadWrapper
 
wrap(KeysetHandleInterface, MonitoringAnnotations, PrimitiveWrapper.PrimitiveFactory<HybridDecrypt>) - Method in class com.google.crypto.tink.hybrid.HybridDecryptWrapper
 
wrap(KeysetHandleInterface, MonitoringAnnotations, PrimitiveWrapper.PrimitiveFactory<HybridEncrypt>) - Method in class com.google.crypto.tink.hybrid.HybridEncryptWrapper
 
wrap(KeysetHandleInterface, MonitoringAnnotations, PrimitiveWrapper.PrimitiveFactory<KeyDeriver>) - Method in class com.google.crypto.tink.keyderivation.internal.KeysetDeriverWrapper
 
wrap(KeysetHandleInterface, MonitoringAnnotations, PrimitiveWrapper.PrimitiveFactory<ChunkedMac>) - Method in class com.google.crypto.tink.mac.ChunkedMacWrapper
 
wrap(KeysetHandleInterface, MonitoringAnnotations, PrimitiveWrapper.PrimitiveFactory<Mac>) - Method in class com.google.crypto.tink.mac.MacWrapper
 
wrap(KeysetHandleInterface, MonitoringAnnotations, PrimitiveWrapper.PrimitiveFactory<Prf>) - Method in class com.google.crypto.tink.prf.PrfSetWrapper
 
wrap(KeysetHandleInterface, MonitoringAnnotations, PrimitiveWrapper.PrimitiveFactory<PublicKeySign>) - Method in class com.google.crypto.tink.signature.PublicKeySignWrapper
 
wrap(KeysetHandleInterface, MonitoringAnnotations, PrimitiveWrapper.PrimitiveFactory<PublicKeyVerify>) - Method in class com.google.crypto.tink.signature.PublicKeyVerifyWrapper
 
wrap(KeysetHandleInterface, MonitoringAnnotations, PrimitiveWrapper.PrimitiveFactory<StreamingAead>) - Method in class com.google.crypto.tink.streamingaead.StreamingAeadWrapper
 
wrap(KeysetHandleInterface, MonitoringAnnotations, Class<P>) - Method in class com.google.crypto.tink.internal.InternalConfiguration
Creates a primitive from a KeysetHandle.
wrap(KeysetHandleInterface, MonitoringAnnotations, Class<P>) - Method in class com.google.crypto.tink.internal.RegistryConfiguration
 
wrap(KeysetHandleInterface, MonitoringAnnotations, Class<WrappedPrimitiveT>) - Method in class com.google.crypto.tink.internal.PrimitiveRegistry
 
wrap(KeysetHandleInterface, MonitoringAnnotations, Class<WrapperPrimitiveT>) - Method in class com.google.crypto.tink.internal.MutablePrimitiveRegistry
 
wrap(StreamingPrf) - Static method in class com.google.crypto.tink.subtle.prf.PrfImpl
Creates a Prf primitive from a StreamingPrf primitive.
write(KeysetHandle, KeysetWriter) - Static method in class com.google.crypto.tink.CleartextKeysetHandle
Serializes and writes the Keyset managed by handle to keysetWriter.
write(KeysetWriter, Aead) - Method in class com.google.crypto.tink.KeysetHandle
Deprecated.
New users should prefer TinkProtoKeysetFormat. Existing users can use LegacyKeysetSerialization for exactly the same behavior.
write(EncryptedKeyset) - Method in class com.google.crypto.tink.BinaryKeysetWriter
 
write(EncryptedKeyset) - Method in class com.google.crypto.tink.integration.android.SharedPrefKeysetWriter
 
write(EncryptedKeyset) - Method in class com.google.crypto.tink.JsonKeysetWriter
Deprecated.
 
write(EncryptedKeyset) - Method in interface com.google.crypto.tink.KeysetWriter
Tries to write an EncryptedKeyset to some storage system.
write(Keyset) - Method in class com.google.crypto.tink.BinaryKeysetWriter
 
write(Keyset) - Method in class com.google.crypto.tink.integration.android.SharedPrefKeysetWriter
 
write(Keyset) - Method in class com.google.crypto.tink.JsonKeysetWriter
Deprecated.
 
write(Keyset) - Method in interface com.google.crypto.tink.KeysetWriter
Tries to write a Keyset to some storage system.
writeNoSecret(KeysetWriter) - Method in class com.google.crypto.tink.KeysetHandle
Deprecated.
New users should prefer TinkProtoKeysetFormat. Existing users can use LegacyKeysetSerialization for exactly the same behavior.
writeWithAssociatedData(KeysetWriter, Aead, byte[]) - Method in class com.google.crypto.tink.KeysetHandle
Deprecated.
New users should prefer TinkProtoKeysetFormat. Existing users can use LegacyKeysetSerialization for exactly the same behavior.

X

X_AES_GCM_8_BYTE_SALT_NO_PREFIX - Static variable in class com.google.crypto.tink.aead.PredefinedAeadParameters
X25519 - Class in com.google.crypto.tink.subtle
Defines the ECDH Curve25519 function, also known as the X25519 function.
X25519 - Interface in com.google.crypto.tink.hybrid.internal
Interface for X25519.
X25519 - Static variable in class com.google.crypto.tink.hybrid.EciesParameters.CurveType
 
X25519_HKDF_SHA256_KEM_ID - Static variable in class com.google.crypto.tink.hybrid.internal.HpkeUtil
 
X25519.KeyPair - Class in com.google.crypto.tink.hybrid.internal
Keypair.
X25519Conscrypt - Class in com.google.crypto.tink.hybrid.internal
X25519 implementation using Conscrypt.
XAES_256_GCM_160_BIT_NONCE_NO_PREFIX - Static variable in class com.google.crypto.tink.aead.PredefinedAeadParameters
A Parameters object for generating new instances of XAesGcmKey.
XAES_256_GCM_192_BIT_NONCE - Static variable in class com.google.crypto.tink.aead.PredefinedAeadParameters
A Parameters object for generating new instances of XAesGcmKey.
XAES_256_GCM_192_BIT_NONCE_NO_PREFIX - Static variable in class com.google.crypto.tink.aead.PredefinedAeadParameters
A Parameters object for generating new instances of XAesGcmKey.
XAesGcm - Class in com.google.crypto.tink.aead.internal
This primitive implements XAesGcm.
XAesGcmKey - Class in com.google.crypto.tink.aead
Represents an X-AES-GCM key used for computing AEAD.
XAesGcmKeyManager - Class in com.google.crypto.tink.aead
This key manager generates new XAesGcmKey keys.
XAesGcmParameters - Class in com.google.crypto.tink.aead
Describes the parameters of an XAesGcmKey
XAesGcmParameters.Variant - Class in com.google.crypto.tink.aead
Describes how the prefix is computed.
XAesGcmProtoSerialization - Class in com.google.crypto.tink.aead.internal
Methods to serialize and parse XAesGcmKey objects and XAesGcmParameters objects
XCHACHA20_POLY1305 - Static variable in class com.google.crypto.tink.aead.AeadKeyTemplates
A KeyTemplate that generates new instances of XChaCha20Poly1305Key.
XCHACHA20_POLY1305 - Static variable in class com.google.crypto.tink.aead.PredefinedAeadParameters
A Parameters object that generates new instances of XChaCha20Poly1305Key.
XCHACHA20_POLY1305_TYPE_URL - Static variable in class com.google.crypto.tink.aead.AeadConfig
 
XChaCha20Poly1305 - Class in com.google.crypto.tink.subtle
XChaCha20Poly1305 AEAD construction, as described in https://tools.ietf.org/html/draft-arciszewski-xchacha-01.
XChaCha20Poly1305(byte[]) - Constructor for class com.google.crypto.tink.subtle.XChaCha20Poly1305
 
XChaCha20Poly1305Jce - Class in com.google.crypto.tink.aead.internal
ChaCha20Poly1305Jce implements an AEAD for ChaCha20Poly1305, as described in RFC 8439, section 2.8.
XChaCha20Poly1305Key - Class in com.google.crypto.tink.aead
Represents the Aead XChaCha20-Poly1305 proposed in the RFC draft at https://datatracker.ietf.org/doc/html/draft-arciszewski-xchacha-03.
XChaCha20Poly1305KeyManager - Class in com.google.crypto.tink.aead
This instance of KeyManager generates new XChaCha20Poly1305 keys and produces new instances of XChaCha20Poly1305.
XChaCha20Poly1305Parameters - Class in com.google.crypto.tink.aead
Describes the parameters of an XChaChaPoly1305Key.
XChaCha20Poly1305Parameters.Variant - Class in com.google.crypto.tink.aead
Describes how the prefix is computed.
XChaCha20Poly1305ProtoSerialization - Class in com.google.crypto.tink.aead.internal
Methods to serialize and parse XChaCha20Poly1305Key objects and XChaCha20Poly1305Parameters objects
xChaCha20Poly1305Template() - Static method in class com.google.crypto.tink.aead.XChaCha20Poly1305KeyManager
 
xor(byte[], byte[]) - Static method in class com.google.crypto.tink.subtle.Bytes
Computes the xor of two byte arrays of equal size.
xor(byte[], int, byte[], int, int) - Static method in class com.google.crypto.tink.subtle.Bytes
Computes the xor of two byte arrays, specifying offsets and the length to xor.
xor(ByteBuffer, ByteBuffer, ByteBuffer, int) - Static method in class com.google.crypto.tink.subtle.Bytes
Computes the xor of two byte buffers, specifying the length to xor, and stores the result to output.
xorEnd(byte[], byte[]) - Static method in class com.google.crypto.tink.subtle.Bytes
xors b to the end of a.
A B C D E F G H I J K L M N O P R S T U V W X 
All Classes All Packages