Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W X 

A

add(KeyTemplate) - Method in class com.google.crypto.tink.integration.android.AndroidKeysetManager
Deprecated.
This method takes a KeyTemplate proto, which is an internal implementation detail. Please use the add method that takes a KeyTemplate POJO.
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
Deprecated.
This method takes a KeyTemplate proto, which is an internal implementation detail. Please use the add method that takes a KeyTemplate POJO.
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.
addCatalogue(String, Catalogue<?>) - Static method in class com.google.crypto.tink.Registry
Deprecated.
Catalogues are no longer supported.
addNewKey(KeyTemplate, boolean) - Method in class com.google.crypto.tink.KeysetManager
Deprecated.
Please use KeysetManager.add(com.google.crypto.tink.proto.KeyTemplate). This method adds a new key and when asPrimary is true 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.
addPem(String, PemKeyType) - Method in class com.google.crypto.tink.signature.SignaturePemKeysetReader.Builder
Adds a PEM.
addPrimitive(P, Keyset.Key) - Method in class com.google.crypto.tink.PrimitiveSet
Creates an entry in the primitive table.
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 - Interface in com.google.crypto.tink.aead.subtle
Provides AEAD instances with a specific raw key.
AeadKeyTemplates - Class in com.google.crypto.tink.aead
Deprecated.
use the key template methods in the key managers, e.g., AesGcmKeyManager.aes128GcmTemplate().
AeadKeyTemplates() - Constructor for class com.google.crypto.tink.aead.AeadKeyTemplates
Deprecated.
 
AeadWrapper - Class in com.google.crypto.tink.aead
AeadWrapper is the implementation of SetWrapper for the Aead primitive.
AES128_CTR_HMAC_SHA256 - Static variable in class com.google.crypto.tink.aead.AeadKeyTemplates
Deprecated.
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_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
Deprecated.
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_GCM - Static variable in class com.google.crypto.tink.aead.AeadKeyTemplates
Deprecated.
A KeyTemplate that generates new instances of AesGcmKey with the following parameters: Key size: 16 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
Deprecated.
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_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
Deprecated.
A KeyTemplate that generates 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
Deprecated.
A KeyTemplate that generates 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.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.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.
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
 
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_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
 
AesCmacKeyManager - Class in com.google.crypto.tink.mac
This key manager generates new AesCmacKey keys and produces new instances of AesCmac.
AesCmacPrfKeyManager - Class in com.google.crypto.tink.prf
This key manager generates new AesCmacKeyPrf keys and produces new instances of AesCmacPrf.
AesCtrHmacAeadKeyManager - Class in com.google.crypto.tink.aead
This key manager generates new AesCtrHmacAeadKey keys and produces new instances of EncryptThenAuthenticate.
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.
AesCtrHmacStreamingKeyManager - Class in com.google.crypto.tink.streamingaead
This key manager generates new AesCtrHmacStreamingKey keys and produces new instances of AesCtrHmacStreaming.
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
 
AesCtrKeyManager - Class in com.google.crypto.tink.aead
This key manager generates new AesCtrKey keys and produces new instances of 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
 
AesEaxKeyManager - Class in com.google.crypto.tink.aead
This key manager generates new AesEaxKey keys and produces new instances of AesEaxJce.
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.
AesGcmHkdfStreamingKeyManager - Class in com.google.crypto.tink.streamingaead
This key manager generates new AesGcmHkdfStreamingKey keys and produces new instances of AesGcmHkdfStreaming.
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
 
AesGcmKeyManager - Class in com.google.crypto.tink.aead
This key manager generates new AesGcmKey keys and produces new instances of AesGcmJce.
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
 
AesGcmSivKeyManager - Class in com.google.crypto.tink.aead
This key manager generates new AesGcmSivKey keys and produces new instances of AesGcmSiv.
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
 
AesSivKeyManager - Class in com.google.crypto.tink.daead
This key manager generates new AesSivKey keys and produces new instances of AesSiv.
algorithm - Variable in enum com.google.crypto.tink.subtle.PemKeyType
 
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
Returns the Android API level or -1 if Tink isn't running on Android
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.
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
assertEnoughEncryptedKeyMaterial(EncryptedKeyset) - Static method in class com.google.crypto.tink.KeysetHandle
Validates that an encrypted keyset contains enough key material to build a keyset on.
assertEnoughKeyMaterial(Keyset) - Static method in class com.google.crypto.tink.KeysetHandle
Validates that a keyset handle contains enough key material to build a keyset on.

B

Base64 - Class in com.google.crypto.tink.subtle
Utilities for encoding and decoding the Base64 representation of binary data.
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.
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.signature.SignaturePemKeysetReader.Builder
 
Builder() - Constructor for class com.google.crypto.tink.integration.android.AndroidKeysetManager.Builder
 
Builder() - Constructor for class com.google.crypto.tink.integration.android.AndroidKeystoreKmsClient.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() - Constructor for class com.google.crypto.tink.subtle.Bytes
 
bytes2Integer(byte[]) - Static method in class com.google.crypto.tink.subtle.SubtleUtil
Converts an byte array to a nonnegative integer (https://tools.ietf.org/html/rfc8017#section-4.1).

C

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
Deprecated.
A KeyTemplate that generates new instances of ChaCha20Poly1305Key.
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
 
ChaCha20Poly1305KeyManager - Class in com.google.crypto.tink.aead
This instance of KeyManager generates new ChaCha20Poly1305 keys and produces new instances of ChaCha20Poly1305.
chaCha20Poly1305Template() - Static method in class com.google.crypto.tink.aead.ChaCha20Poly1305KeyManager
 
CIPHER - Static variable in class com.google.crypto.tink.subtle.EngineFactory
 
CleartextKeysetHandle - Class in com.google.crypto.tink
Static methods for reading or writing cleartext keysets.
CleartextKeysetHandle() - Constructor for class com.google.crypto.tink.CleartextKeysetHandle
 
close() - Method in class com.google.crypto.tink.subtle.RewindableReadableByteChannel
 
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.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.daead - package com.google.crypto.tink.daead
 
com.google.crypto.tink.hybrid - package com.google.crypto.tink.hybrid
 
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.mac - package com.google.crypto.tink.mac
 
com.google.crypto.tink.prf - package com.google.crypto.tink.prf
 
com.google.crypto.tink.signature - package com.google.crypto.tink.signature
 
com.google.crypto.tink.streamingaead - package com.google.crypto.tink.streamingaead
 
com.google.crypto.tink.subtle - package com.google.crypto.tink.subtle
 
com.google.crypto.tink.subtle.prf - package com.google.crypto.tink.subtle.prf
 
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(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.subtle.PrfMac
 
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(ECPrivateKey, ECPublicKey) - Static method in class com.google.crypto.tink.subtle.EllipticCurves
 
computeSharedSecret(ECPrivateKey, ECPoint) - Static method in class com.google.crypto.tink.subtle.EllipticCurves
Generates the DH shared secret using myPrivateKey and publicPoint
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).
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.
Config() - Constructor for class com.google.crypto.tink.Config
 
create(String, byte[], KeyTemplate.OutputPrefixType) - Static method in class com.google.crypto.tink.KeyTemplate
 
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
 
createAesCtrHmacAeadKeyTemplate(int, int, int, int, HashType) - Static method in class com.google.crypto.tink.aead.AeadKeyTemplates
Deprecated.
 
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
Deprecated.
 
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
Deprecated.
 
createAesSivKeyTemplate(int) - Static method in class com.google.crypto.tink.daead.DeterministicAeadKeyTemplates
Deprecated.
 
createEcdsaKeyTemplate(HashType, EllipticCurveType, EcdsaSignatureEncoding, OutputPrefixType) - Static method in class com.google.crypto.tink.signature.SignatureKeyTemplates
Deprecated.
 
createEciesAeadHkdfKeyTemplate(EllipticCurveType, HashType, EcPointFormat, KeyTemplate, OutputPrefixType, byte[]) - Static method in class com.google.crypto.tink.hybrid.HybridKeyTemplates
Deprecated.
 
createEciesAeadHkdfParams(EllipticCurveType, HashType, EcPointFormat, KeyTemplate, byte[]) - Static method in class com.google.crypto.tink.hybrid.HybridKeyTemplates
Deprecated.
 
createHmacKeyTemplate(int, int, HashType) - Static method in class com.google.crypto.tink.mac.MacKeyTemplates
Deprecated.
 
createKey(KeyFormatProtoT) - Method in class com.google.crypto.tink.KeyTypeManager.KeyFactory
Creates a new key from a given format.
createKeyTemplate(HashType, EllipticCurveType, EcdsaSignatureEncoding, KeyTemplate.OutputPrefixType) - Static method in class com.google.crypto.tink.signature.EcdsaSignKeyManager
 
createKmsAeadKeyTemplate(String) - Static method in class com.google.crypto.tink.aead.AeadKeyTemplates
Deprecated.
 
createKmsEnvelopeAeadKeyTemplate(String, KeyTemplate) - Static method in class com.google.crypto.tink.aead.AeadKeyTemplates
Deprecated.
 
createRsaSsaPkcs1KeyTemplate(HashType, int, BigInteger, OutputPrefixType) - Static method in class com.google.crypto.tink.signature.SignatureKeyTemplates
Deprecated.
 
createRsaSsaPssKeyTemplate(HashType, HashType, int, int, BigInteger) - Static method in class com.google.crypto.tink.signature.SignatureKeyTemplates
Deprecated.
 
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.
CryptoFormat - Class in com.google.crypto.tink
Constants and convenience methods that deal with crypto format.
CryptoFormat() - Constructor for class com.google.crypto.tink.CryptoFormat
 

D

decode(String) - Static method in class com.google.crypto.tink.subtle.Base64
Decodes a base64 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.
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.Hex
Decodes a hex string to a byte array.
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.KmsEnvelopeAead
 
decrypt(byte[], byte[]) - Method in class com.google.crypto.tink.aead.subtle.AesGcmSiv
 
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[]) - Method in class com.google.crypto.tink.subtle.AesCtrJceCipher
Decrypts the ciphertext with counter mode decryption.
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.EciesAeadHkdfHybridDecrypt
 
decrypt(byte[], byte[]) - Method in class com.google.crypto.tink.subtle.EncryptThenAuthenticate
Decrypts ciphertext with aad as additional authenticated data.
decrypt(byte[]) - Method in interface com.google.crypto.tink.subtle.IndCpaCipher
Decrypts ciphertext.
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.
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.
deleteKey(String) - Method in class com.google.crypto.tink.integration.android.AndroidKeystoreKmsClient
Deletes a key in Android Keystore.
deriveKey(KeyFormatProtoT, InputStream) - Method in class com.google.crypto.tink.KeyTypeManager.KeyFactory
Derives a new key from a given format, using the given .
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.
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(DeterministicAead.class) after registering the DeterministicAeadWrapper instead.
DeterministicAeadFactory() - Constructor for class com.google.crypto.tink.daead.DeterministicAeadFactory
Deprecated.
 
DeterministicAeadKeyTemplates - Class in com.google.crypto.tink.daead
Deprecated.
use the key template methods in the key managers, e.g., AesSivKeyManager.aes256SivTemplate().
DeterministicAeadKeyTemplates() - Constructor for class com.google.crypto.tink.daead.DeterministicAeadKeyTemplates
Deprecated.
 
DeterministicAeadWrapper - Class in com.google.crypto.tink.daead
The implementation of PrimitiveWrapper<DeterministicAead>.
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.
disableRewinding() - Method in class com.google.crypto.tink.subtle.RewindableReadableByteChannel
Disables the rewinding feature.
doesSupport(String) - Method in class com.google.crypto.tink.integration.android.AndroidKeystoreKmsClient
 
doesSupport(String) - Method in interface com.google.crypto.tink.KeyManager
 
doesSupport(String) - Method in class com.google.crypto.tink.KeyManagerImpl
 
doesSupport(String) - Method in interface com.google.crypto.tink.KmsClient
 
doNotUseKeystore() - Method in class com.google.crypto.tink.integration.android.AndroidKeysetManager.Builder
Deprecated.
Android Keystore can be disabled by not setting a master key URI.

E

ECDSA_P256 - Static variable in class com.google.crypto.tink.signature.SignatureKeyTemplates
Deprecated.
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.SignatureKeyTemplates
Deprecated.
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.SignatureKeyTemplates
Deprecated.
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_P384 - Static variable in class com.google.crypto.tink.signature.SignatureKeyTemplates
Deprecated.
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.SignatureKeyTemplates
Deprecated.
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_P521 - Static variable in class com.google.crypto.tink.signature.SignatureKeyTemplates
Deprecated.
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.SignatureKeyTemplates
Deprecated.
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_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
 
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.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.subtle
ECDSA verifying with JCE.
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
Deprecated.
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
Deprecated.
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
Deprecated.
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
EciesAeadHkdfDemHelper - Interface in com.google.crypto.tink.subtle
A helper for DEM (data encapsulation mechanism) of ECIES-AEAD-HKDF.
EciesAeadHkdfHybridDecrypt - Class in com.google.crypto.tink.subtle
ECIES encryption with HKDF-KEM (key encapsulation mechanism) and AEAD-DEM (data encapsulation mechanism).
EciesAeadHkdfHybridDecrypt(ECPrivateKey, byte[], String, EllipticCurves.PointFormatType, EciesAeadHkdfDemHelper) - Constructor for class com.google.crypto.tink.subtle.EciesAeadHkdfHybridDecrypt
 
EciesAeadHkdfHybridEncrypt - Class in com.google.crypto.tink.subtle
ECIES encryption with HKDF-KEM (key encapsulation mechanism) and AEAD-DEM (data encapsulation mechanism).
EciesAeadHkdfHybridEncrypt(ECPublicKey, byte[], String, EllipticCurves.PointFormatType, EciesAeadHkdfDemHelper) - Constructor for class com.google.crypto.tink.subtle.EciesAeadHkdfHybridEncrypt
 
EciesAeadHkdfPrivateKeyManager - Class in com.google.crypto.tink.hybrid
This key manager generates new EciesAeadHkdfPrivateKey keys and produces new instances of EciesAeadHkdfHybridDecrypt.
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
 
ecPointDecode(EllipticCurve, EllipticCurves.PointFormatType, byte[]) - Static method in class com.google.crypto.tink.subtle.EllipticCurves
Deprecated.
use {#pointDecode}
ED25519 - Static variable in class com.google.crypto.tink.signature.SignatureKeyTemplates
Deprecated.
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
 
Ed25519PrivateKeyManager - Class in com.google.crypto.tink.signature
This instance of KeyManager generates new Ed25519PrivateKey keys and produces new instances of Ed25519Sign.
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.
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
 
ED25519WithRawOutput - Static variable in class com.google.crypto.tink.signature.SignatureKeyTemplates
Deprecated.
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() - Constructor for class com.google.crypto.tink.subtle.EllipticCurves
 
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 formats.
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.
encode(byte[]) - Static method in class com.google.crypto.tink.subtle.Base64
Base64 encodes a byte array to a string.
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.
encode(byte[]) - Static method in class com.google.crypto.tink.subtle.Hex
Encodes a byte array to hex.
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(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[], 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.KmsEnvelopeAead
 
encrypt(byte[], byte[]) - Method in class com.google.crypto.tink.aead.subtle.AesGcmSiv
 
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[]) - Method in class com.google.crypto.tink.subtle.AesCtrJceCipher
Encrypts the plaintext with counter mode encryption using randomly generated iv.
encrypt(byte[], byte[]) - Method in class com.google.crypto.tink.subtle.AesEaxJce
 
encrypt(byte[], byte[]) - Method in class com.google.crypto.tink.subtle.AesGcmJce
 
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 aad as additional authenticated data.
encrypt(byte[]) - Method in interface com.google.crypto.tink.subtle.IndCpaCipher
Encrypts plaintext.
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 additional authenticated data (aad).
EncryptThenAuthenticate(IndCpaCipher, Mac, int) - Constructor for class com.google.crypto.tink.subtle.EncryptThenAuthenticate
 
EngineFactory<T_WRAPPER extends EngineWrapper<T_ENGINE>,T_ENGINE> - 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
 
EngineFactory(T_WRAPPER, List<Provider>) - Constructor for class com.google.crypto.tink.subtle.EngineFactory
 
EngineFactory(T_WRAPPER, List<Provider>, boolean) - 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() - Constructor for class com.google.crypto.tink.subtle.Enums
 
Enums.HashType - Enum in com.google.crypto.tink.subtle
Hash type.
equal(byte[], byte[]) - Static method in class com.google.crypto.tink.subtle.Bytes
Best effort fix-timing array comparison.
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.

F

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.
fromKeyset(Keyset) - Static method in class com.google.crypto.tink.CleartextKeysetHandle
Returns a KeysetHandle for keyset.

G

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(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
Deprecated.
This method takes a KeyTemplate proto, which is an internal implementation detail. Please use the generateNew method that takes a KeyTemplate POJO.
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.
generateNewAeadKey(String) - Static method in class com.google.crypto.tink.integration.android.AndroidKeystoreKmsClient
Generates a new key in Android Keystore.
generatePrivateKey() - Static method in class com.google.crypto.tink.subtle.X25519
Returns a 32-byte private key for Curve25519.
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) - 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.
getAead(byte[]) - Method in interface com.google.crypto.tink.subtle.EciesAeadHkdfDemHelper
Creates a new Aead-primitive that uses the key material given in 'symmetric_key', which must be of length dem_key_size_in_bytes().
getAll() - Method in class com.google.crypto.tink.PrimitiveSet
 
getAutoLoaded(String) - Static method in class com.google.crypto.tink.KmsClients
Returns the first KmsClient automatically loaded with ServiceLoader that supports keyUri.
getBytes() - Method in class com.google.crypto.tink.subtle.ImmutableByteArray
 
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
 
getCiphertextSegmentSize() - Method in class com.google.crypto.tink.subtle.AesCtrHmacStreaming
 
getCiphertextSegmentSize() - Method in class com.google.crypto.tink.subtle.AesGcmHkdfStreaming
 
getCurveSpec(EllipticCurves.CurveType) - Static method in class com.google.crypto.tink.subtle.EllipticCurves
Returns the ECParameterSpec for a named curve.
getCustomCipherProvider(boolean, String...) - Static method in class com.google.crypto.tink.subtle.EngineFactory
 
getCustomKeyAgreementProvider(boolean, String...) - Static method in class com.google.crypto.tink.subtle.EngineFactory
 
getCustomKeyFactoryProvider(boolean, String...) - Static method in class com.google.crypto.tink.subtle.EngineFactory
 
getCustomKeyPairGeneratorProvider(boolean, String...) - Static method in class com.google.crypto.tink.subtle.EngineFactory
 
getCustomMacProvider(boolean, String...) - Static method in class com.google.crypto.tink.subtle.EngineFactory
 
getCustomMessageDigestProvider(boolean, String...) - Static method in class com.google.crypto.tink.subtle.EngineFactory
 
getCustomSignatureProvider(boolean, String...) - Static method in class com.google.crypto.tink.subtle.EngineFactory
 
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, 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.
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.
getFirstSegmentOffset() - Method in class com.google.crypto.tink.subtle.AesCtrHmacStreaming
 
getFirstSegmentOffset() - Method in class com.google.crypto.tink.subtle.AesGcmHkdfStreaming
 
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
 
getIdentifier() - Method in class com.google.crypto.tink.PrimitiveSet.Entry
 
getInputPrimitive(Class<?>) - Static method in class com.google.crypto.tink.Registry
Returns the input primitive required when creating a wrappedPrimitive.
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.prf.PrfSetWrapper
 
getInputPrimitiveClass() - Method in interface com.google.crypto.tink.PrimitiveWrapper
Returns the primitive class object of the primitive used to create B.
getInputPrimitiveClass() - Method in class com.google.crypto.tink.signature.PublicKeySignWrapper
 
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
 
getKemBytes() - Method in class com.google.crypto.tink.subtle.EciesHkdfSenderKem.KemKey
 
getKeyClass() - Method in class com.google.crypto.tink.KeyTypeManager
Returns the class corresponding to the key protobuffer.
getKeyFormatClass() - Method in class com.google.crypto.tink.KeyTypeManager.KeyFactory
Returns the class corresponding to the key format protobuffer.
getKeyId() - Method in class com.google.crypto.tink.PrimitiveSet.Entry
 
getKeyManager(String, String, int) - Method in interface com.google.crypto.tink.Catalogue
Deprecated.
 
getKeyManager(String) - Static method in class com.google.crypto.tink.Registry
Deprecated.
Use getKeyManager(typeUrl, Primitive.class) or getUntypedKeyManager typeUrl instead.
getKeyManager(String, Class<P>) - Static method in class com.google.crypto.tink.Registry
 
getKeyset(KeysetHandle) - Static method in class com.google.crypto.tink.CleartextKeysetHandle
 
getKeysetHandle() - Method in class com.google.crypto.tink.integration.android.AndroidKeysetManager
 
getKeysetHandle() - Method in class com.google.crypto.tink.KeysetManager
 
getKeysetInfo() - Method in class com.google.crypto.tink.KeysetHandle
 
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
 
getKeyType() - Method in class com.google.crypto.tink.aead.AesCtrHmacAeadKeyManager
 
getKeyType() - Method in class com.google.crypto.tink.aead.AesCtrKeyManager
 
getKeyType() - Method in class com.google.crypto.tink.aead.AesEaxKeyManager
 
getKeyType() - Method in class com.google.crypto.tink.aead.AesGcmKeyManager
 
getKeyType() - Method in class com.google.crypto.tink.aead.AesGcmSivKeyManager
 
getKeyType() - Method in class com.google.crypto.tink.aead.ChaCha20Poly1305KeyManager
 
getKeyType() - Method in class com.google.crypto.tink.aead.KmsAeadKeyManager
 
getKeyType() - Method in class com.google.crypto.tink.aead.KmsEnvelopeAeadKeyManager
 
getKeyType() - Method in class com.google.crypto.tink.aead.XChaCha20Poly1305KeyManager
 
getKeyType() - Method in class com.google.crypto.tink.daead.AesSivKeyManager
 
getKeyType() - Method in class com.google.crypto.tink.hybrid.EciesAeadHkdfPrivateKeyManager
 
getKeyType() - Method in interface com.google.crypto.tink.KeyManager
 
getKeyType() - Method in class com.google.crypto.tink.KeyManagerImpl
 
getKeyType() - Method in class com.google.crypto.tink.KeyTypeManager
Returns the type URL that identifies the key type of keys managed by this KeyManager.
getKeyType() - Method in class com.google.crypto.tink.mac.AesCmacKeyManager
 
getKeyType() - Method in class com.google.crypto.tink.mac.HmacKeyManager
 
getKeyType() - Method in class com.google.crypto.tink.prf.AesCmacPrfKeyManager
 
getKeyType() - Method in class com.google.crypto.tink.prf.HkdfPrfKeyManager
 
getKeyType() - Method in class com.google.crypto.tink.prf.HmacPrfKeyManager
 
getKeyType() - Method in class com.google.crypto.tink.signature.EcdsaSignKeyManager
 
getKeyType() - Method in class com.google.crypto.tink.signature.Ed25519PrivateKeyManager
 
getKeyType() - Method in class com.google.crypto.tink.signature.RsaSsaPkcs1SignKeyManager
 
getKeyType() - Method in class com.google.crypto.tink.signature.RsaSsaPssSignKeyManager
 
getKeyType() - Method in class com.google.crypto.tink.streamingaead.AesCtrHmacStreamingKeyManager
 
getKeyType() - Method in class com.google.crypto.tink.streamingaead.AesGcmHkdfStreamingKeyManager
 
getLength() - Method in class com.google.crypto.tink.subtle.ImmutableByteArray
 
getMaxOutputLength() - Method in class com.google.crypto.tink.subtle.PrfHmacJce
Returns the maximum supported tag length.
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.
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
 
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(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.KeyTemplate
 
getOutputPrefixType() - Method in class com.google.crypto.tink.PrimitiveSet.Entry
 
getPlaintextSegmentSize() - Method in class com.google.crypto.tink.subtle.AesCtrHmacStreaming
 
getPlaintextSegmentSize() - Method in class com.google.crypto.tink.subtle.AesGcmHkdfStreaming
 
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 class com.google.crypto.tink.PrimitiveSet
 
getPrimaryId() - Method in class com.google.crypto.tink.prf.PrfSet
Returns the primary ID of the keyset.
getPrimitive(KeysetHandle) - Static method in class com.google.crypto.tink.daead.DeterministicAeadFactory
Deprecated.
Use keysetHandle.GetPrimitive(DeterministicAead.class) after registering the DeterministicAeadWrapper instead.
getPrimitive(KeysetHandle, KeyManager<DeterministicAead>) - Static method in class com.google.crypto.tink.daead.DeterministicAeadFactory
Deprecated.
Use keysetHandle.GetPrimitive(keyManager, DeterministicAead.class) after registering the DeterministicAeadWrapper instead.
getPrimitive(KeysetHandle) - Static method in class com.google.crypto.tink.hybrid.HybridDecryptFactory
Deprecated.
Use keysetHandle.GetPrimitive(HybridDecrypt.class) after registering the HybridDecryptWrapper instead.
getPrimitive(KeysetHandle, KeyManager<HybridDecrypt>) - Static method in class com.google.crypto.tink.hybrid.HybridDecryptFactory
Deprecated.
Use keysetHandle.GetPrimitive(keyManager, HybridDecrypt.class) after registering the HybridDecryptWrapper instead.
getPrimitive(KeysetHandle) - Static method in class com.google.crypto.tink.hybrid.HybridEncryptFactory
Deprecated.
Use keysetHandle.GetPrimitive(HybridEncrypt.class) after registering the HybridEncryptWrapper instead.
getPrimitive(KeysetHandle, KeyManager<HybridEncrypt>) - Static method in class com.google.crypto.tink.hybrid.HybridEncryptFactory
Deprecated.
Use keysetHandle.GetPrimitive(keyManager, HybridEncrypt.class) after registering the HybridEncryptWrapper instead.
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 interface com.google.crypto.tink.KeyManager
Constructs an instance of P for the key given in key.
getPrimitive(ByteString) - Method in class com.google.crypto.tink.KeyManagerImpl
 
getPrimitive(MessageLite) - Method in class com.google.crypto.tink.KeyManagerImpl
 
getPrimitive(Class<P>) - Method in class com.google.crypto.tink.KeysetHandle
Returns a primitive from this keyset, using the global registry to create resources creating the primitive.
getPrimitive(KeyManager<P>, Class<P>) - Method in class com.google.crypto.tink.KeysetHandle
Returns a primitive from this keyset, using the given customKeyManager and the global registry to get resources creating the primitive.
getPrimitive(KeyProtoT, Class<P>) - Method in class com.google.crypto.tink.KeyTypeManager
Creates the requested primitive.
getPrimitive(KeyT) - Method in class com.google.crypto.tink.KeyTypeManager.PrimitiveFactory
Creates a new instance of PrimitiveT.
getPrimitive(KeysetHandle) - Static method in class com.google.crypto.tink.mac.MacFactory
Deprecated.
Use keysetHandle.GetPrimitive(Mac.class) after registering the MacWrapper instead.
getPrimitive(KeysetHandle, KeyManager<Mac>) - Static method in class com.google.crypto.tink.mac.MacFactory
Deprecated.
Use keysetHandle.GetPrimitive(keyManager, Mac.class) after registering the MacWrapper instead.
getPrimitive() - Method in class com.google.crypto.tink.PrimitiveSet.Entry
 
getPrimitive(byte[]) - Method in class com.google.crypto.tink.PrimitiveSet
 
getPrimitive(Keyset.Key) - Method in class com.google.crypto.tink.PrimitiveSet
Returns the entries with primitives identified by the ciphertext prefix of key.
getPrimitive(String, MessageLite) - Static method in class com.google.crypto.tink.Registry
Deprecated.
Use getPrimitive(typeUrl, key, P.class) instead.
getPrimitive(String, MessageLite, Class<P>) - Static method in class com.google.crypto.tink.Registry
Convenience method for creating a new primitive for the key given in key.
getPrimitive(String, ByteString) - Static method in class com.google.crypto.tink.Registry
Deprecated.
Use getPrimitive(typeUrl, serializedKey, Primitive.class instead.
getPrimitive(String, ByteString, Class<P>) - Static method in class com.google.crypto.tink.Registry
Convenience method for creating a new primitive for the key given in serializedKey.
getPrimitive(String, byte[]) - Static method in class com.google.crypto.tink.Registry
Deprecated.
Use getPrimitive(typeUrl, serializedKey, Primitive.class) instead.
getPrimitive(String, byte[], Class<P>) - Static method in class com.google.crypto.tink.Registry
Convenience method for creating a new primitive for the key given in serializedKey.
getPrimitive(KeyData) - Static method in class com.google.crypto.tink.Registry
Deprecated.
Use getPrimitive(keyData, Primitive.class) instead.
getPrimitive(KeyData, Class<P>) - Static method in class com.google.crypto.tink.Registry
Convenience method for creating a new primitive for the key given in keyData.
getPrimitive(KeysetHandle) - Static method in class com.google.crypto.tink.signature.PublicKeySignFactory
Deprecated.
Use keysetHandle.GetPrimitive(PublicKeySign.class) after registering the PublicKeySignWrapper instead.
getPrimitive(KeysetHandle, KeyManager<PublicKeySign>) - Static method in class com.google.crypto.tink.signature.PublicKeySignFactory
Deprecated.
Use keysetHandle.GetPrimitive(keyManager, PublicKeySign.class) after registering the PublicKeySignWrapper instead.
getPrimitive(KeysetHandle) - Static method in class com.google.crypto.tink.signature.PublicKeyVerifyFactory
Deprecated.
Use keysetHandle.GetPrimitive(PublicKeyVerify.class) after registering the PublicKeyVerifyWrapper instead.
getPrimitive(KeysetHandle, KeyManager<PublicKeyVerify>) - Static method in class com.google.crypto.tink.signature.PublicKeyVerifyFactory
Deprecated.
Use keysetHandle.GetPrimitive(keyManager, PublicKeyVerify.class) after registering the PublicKeyVerifyWrapper instead.
getPrimitive(KeysetHandle) - Static method in class com.google.crypto.tink.streamingaead.StreamingAeadFactory
Deprecated.
 
getPrimitive(KeysetHandle, KeyManager<StreamingAead>) - Static method in class com.google.crypto.tink.streamingaead.StreamingAeadFactory
Deprecated.
 
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 interface com.google.crypto.tink.KeyManager
Returns the primitive class object of the P.
getPrimitiveClass() - Method in class com.google.crypto.tink.KeyManagerImpl
 
getPrimitiveClass() - Method in class com.google.crypto.tink.prf.PrfSetWrapper
 
getPrimitiveClass() - Method in class com.google.crypto.tink.PrimitiveSet
 
getPrimitiveClass() - Method in interface com.google.crypto.tink.PrimitiveWrapper
Returns the primitive class object of the primitive managed.
getPrimitiveClass() - Method in class com.google.crypto.tink.signature.PublicKeySignWrapper
 
getPrimitiveClass() - Method in class com.google.crypto.tink.streamingaead.StreamingAeadWrapper
 
getPrimitives(KeysetHandle, Class<P>) - Static method in class com.google.crypto.tink.Registry
Creates a set of primitives corresponding to the keys with status=ENABLED in the keyset given in keysetHandle, assuming all the corresponding key managers are present (keys with status!=ENABLED are skipped).
getPrimitives(KeysetHandle, KeyManager<P>, Class<P>) - Static method in class com.google.crypto.tink.Registry
Creates a set of primitives corresponding to the keys with status=ENABLED in the keyset given in keysetHandle, using customManager (instead of registered key managers) for keys supported by it.
getPrimitiveWrapper() - Method in interface com.google.crypto.tink.Catalogue
Deprecated.
Returns a new primitive wrapper for this primitive.
getPrivateKey() - Method in class com.google.crypto.tink.subtle.Ed25519Sign.KeyPair
 
getPublicKey(EciesAeadHkdfPrivateKey) - Method in class com.google.crypto.tink.hybrid.EciesAeadHkdfPrivateKeyManager
 
getPublicKey(KeyProtoT) - Method in class com.google.crypto.tink.PrivateKeyTypeManager
Creates a public key from the given private key.
getPublicKey(EcdsaPrivateKey) - Method in class com.google.crypto.tink.signature.EcdsaSignKeyManager
 
getPublicKey(Ed25519PrivateKey) - Method in class com.google.crypto.tink.signature.Ed25519PrivateKeyManager
 
getPublicKey(RsaSsaPkcs1PrivateKey) - Method in class com.google.crypto.tink.signature.RsaSsaPkcs1SignKeyManager
 
getPublicKey(RsaSsaPssPrivateKey) - Method in class com.google.crypto.tink.signature.RsaSsaPssSignKeyManager
 
getPublicKey() - Method in class com.google.crypto.tink.subtle.Ed25519Sign.KeyPair
 
getPublicKeyClass() - Method in class com.google.crypto.tink.PrivateKeyTypeManager
Returns the class corresponding to the public key protobuffer.
getPublicKeyData(ByteString) - Method in interface com.google.crypto.tink.PrivateKeyManager
Extracts the public key data from the private key data.
getPublicKeyData(ByteString) - Method in class com.google.crypto.tink.PrivateKeyManagerImpl
 
getPublicKeyData(String, ByteString) - Static method in class com.google.crypto.tink.Registry
Convenience method for extracting the public key data from the private key given in serializedPrivateKey.
getPublicKeysetHandle() - Method in class com.google.crypto.tink.KeysetHandle
If the managed keyset contains private keys, returns a KeysetHandle of the public keys.
getRawPrimitives() - Method in class com.google.crypto.tink.PrimitiveSet
 
getStatus() - Method in class com.google.crypto.tink.PrimitiveSet.Entry
 
getSymmetricKey() - Method in class com.google.crypto.tink.subtle.EciesHkdfSenderKem.KemKey
 
getSymmetricKeySizeInBytes() - Method in interface com.google.crypto.tink.subtle.EciesAeadHkdfDemHelper
 
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.
getTypeUrl() - Method in class com.google.crypto.tink.KeyTemplate
 
getUntypedKeyManager(String) - Static method in class com.google.crypto.tink.Registry
 
getValue() - Method in class com.google.crypto.tink.KeyTemplate
 
getVersion() - Method in class com.google.crypto.tink.aead.AesCtrHmacAeadKeyManager
 
getVersion() - Method in class com.google.crypto.tink.aead.AesCtrKeyManager
 
getVersion() - Method in class com.google.crypto.tink.aead.AesEaxKeyManager
 
getVersion() - Method in class com.google.crypto.tink.aead.AesGcmKeyManager
 
getVersion() - Method in class com.google.crypto.tink.aead.AesGcmSivKeyManager
 
getVersion() - Method in class com.google.crypto.tink.aead.ChaCha20Poly1305KeyManager
 
getVersion() - Method in class com.google.crypto.tink.aead.KmsAeadKeyManager
 
getVersion() - Method in class com.google.crypto.tink.aead.KmsEnvelopeAeadKeyManager
 
getVersion() - Method in class com.google.crypto.tink.aead.XChaCha20Poly1305KeyManager
 
getVersion() - Method in class com.google.crypto.tink.daead.AesSivKeyManager
 
getVersion() - Method in class com.google.crypto.tink.hybrid.EciesAeadHkdfPrivateKeyManager
 
getVersion() - Method in interface com.google.crypto.tink.KeyManager
 
getVersion() - Method in class com.google.crypto.tink.KeyManagerImpl
 
getVersion() - Method in class com.google.crypto.tink.KeyTypeManager
Returns the version number of this KeyManager.
getVersion() - Method in class com.google.crypto.tink.mac.AesCmacKeyManager
 
getVersion() - Method in class com.google.crypto.tink.mac.HmacKeyManager
 
getVersion() - Method in class com.google.crypto.tink.prf.AesCmacPrfKeyManager
 
getVersion() - Method in class com.google.crypto.tink.prf.HkdfPrfKeyManager
 
getVersion() - Method in class com.google.crypto.tink.prf.HmacPrfKeyManager
 
getVersion() - Method in class com.google.crypto.tink.signature.EcdsaSignKeyManager
 
getVersion() - Method in class com.google.crypto.tink.signature.Ed25519PrivateKeyManager
 
getVersion() - Method in class com.google.crypto.tink.signature.RsaSsaPkcs1SignKeyManager
 
getVersion() - Method in class com.google.crypto.tink.signature.RsaSsaPssSignKeyManager
 
getVersion() - Method in class com.google.crypto.tink.streamingaead.AesCtrHmacStreamingKeyManager
 
getVersion() - Method in class com.google.crypto.tink.streamingaead.AesGcmHkdfStreamingKeyManager
 
getY(BigInteger, boolean, EllipticCurve) - Static method in class com.google.crypto.tink.subtle.EllipticCurves
Computes the y coordinate of a point on an elliptic curve.

H

hash - Variable in enum com.google.crypto.tink.subtle.PemKeyType
 
Hex - Class in com.google.crypto.tink.subtle
Helper methods for encode/decode hex strings.
Hex() - Constructor for class com.google.crypto.tink.subtle.Hex
 
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() - Constructor for class com.google.crypto.tink.subtle.Hkdf
 
HKDF_SHA256 - Static variable in class com.google.crypto.tink.prf.PrfKeyTemplates
Deprecated.
Generates a KeyTemplate for a HkdfPrfKey key with the following parameters.
HkdfPrfKeyManager - Class in com.google.crypto.tink.prf
This key manager generates new HkdfPrfKey keys and produces new instances of HkdfStreamingPrf and HkdfPrf.
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_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_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_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_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_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
 
HmacKeyManager - Class in com.google.crypto.tink.mac
This key manager generates new HmacKey keys and produces new instances of PrfHmacJce.
HmacKeyManager() - Constructor for class com.google.crypto.tink.mac.HmacKeyManager
 
HmacPrfKeyManager - Class in com.google.crypto.tink.prf
This key manager generates new HmacPrfKey keys and produces new instances of PrfHmacJce.
HmacPrfKeyManager() - Constructor for class com.google.crypto.tink.prf.HmacPrfKeyManager
 
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
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.
HybridConfig() - Constructor for class com.google.crypto.tink.hybrid.HybridConfig
 
HybridDecrypt - Interface in com.google.crypto.tink
Interface for hybrid decryption.
HybridDecryptFactory - Class in com.google.crypto.tink.hybrid
Deprecated.
Use keysetHandle.GetPrimitive(HybridDecrypt.class) after registering the HybridDecryptWrapper instead.
HybridDecryptFactory() - Constructor for class com.google.crypto.tink.hybrid.HybridDecryptFactory
Deprecated.
 
HybridDecryptWrapper - Class in com.google.crypto.tink.hybrid
The implementation of PrimitiveWrapper<HybridDecrypt>.
HybridEncrypt - Interface in com.google.crypto.tink
Interface for hybrid encryption.
HybridEncryptFactory - Class in com.google.crypto.tink.hybrid
Deprecated.
Use keysetHandle.GetPrimitive(HybridEncrypt.class) after registering the HybridEncryptWrapper instead.
HybridEncryptFactory() - Constructor for class com.google.crypto.tink.hybrid.HybridEncryptFactory
Deprecated.
 
HybridKeyTemplates - Class in com.google.crypto.tink.hybrid
Deprecated.
use the key template methods in the key managers, e.g., EciesAeadHkdfPrivateKeyManager.eciesP256HkdfHmacSha256Aes128Gcm().
HybridKeyTemplates() - Constructor for class com.google.crypto.tink.hybrid.HybridKeyTemplates
Deprecated.
 

I

ImmutableByteArray - Class in com.google.crypto.tink.subtle
Immutable Wrapper around a byte array.
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.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
 
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).
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
isAndroid() - Static method in class com.google.crypto.tink.subtle.SubtleUtil
Best-effort checks that this is Android.
isNistEcParameterSpec(ECParameterSpec) - Static method in class com.google.crypto.tink.subtle.EllipticCurves
Returns whether spec is a ECParameterSpec of one of the NIST curves.
isOpen() - Method in class com.google.crypto.tink.subtle.RewindableReadableByteChannel
 
isSameEcParameterSpec(ECParameterSpec, ECParameterSpec) - Static method in class com.google.crypto.tink.subtle.EllipticCurves
Returns whether one is the same ECParameterSpec as two.
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
 

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
A KeysetWriter that can write to some source cleartext or encrypted keysets in proto JSON format.

K

KemKey(byte[], byte[]) - Constructor for class com.google.crypto.tink.subtle.EciesHkdfSenderKem.KemKey
 
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
 
keyFactory() - Method in class com.google.crypto.tink.aead.AesCtrHmacAeadKeyManager
 
keyFactory() - Method in class com.google.crypto.tink.aead.AesCtrKeyManager
 
keyFactory() - Method in class com.google.crypto.tink.aead.AesEaxKeyManager
 
keyFactory() - Method in class com.google.crypto.tink.aead.AesGcmKeyManager
 
keyFactory() - Method in class com.google.crypto.tink.aead.AesGcmSivKeyManager
 
keyFactory() - Method in class com.google.crypto.tink.aead.ChaCha20Poly1305KeyManager
 
keyFactory() - Method in class com.google.crypto.tink.aead.KmsAeadKeyManager
 
keyFactory() - Method in class com.google.crypto.tink.aead.KmsEnvelopeAeadKeyManager
 
keyFactory() - Method in class com.google.crypto.tink.aead.XChaCha20Poly1305KeyManager
 
keyFactory() - Method in class com.google.crypto.tink.daead.AesSivKeyManager
 
keyFactory() - Method in class com.google.crypto.tink.hybrid.EciesAeadHkdfPrivateKeyManager
 
keyFactory() - Method in class com.google.crypto.tink.KeyTypeManager
Returns the KeyTypeManager.KeyFactory for this key type.
KeyFactory(Class<KeyFormatProtoT>) - Constructor for class com.google.crypto.tink.KeyTypeManager.KeyFactory
 
keyFactory() - Method in class com.google.crypto.tink.mac.AesCmacKeyManager
 
keyFactory() - Method in class com.google.crypto.tink.mac.HmacKeyManager
 
keyFactory() - Method in class com.google.crypto.tink.prf.AesCmacPrfKeyManager
 
keyFactory() - Method in class com.google.crypto.tink.prf.HkdfPrfKeyManager
 
keyFactory() - Method in class com.google.crypto.tink.prf.HmacPrfKeyManager
 
keyFactory() - Method in class com.google.crypto.tink.signature.EcdsaSignKeyManager
 
keyFactory() - Method in class com.google.crypto.tink.signature.Ed25519PrivateKeyManager
 
keyFactory() - Method in class com.google.crypto.tink.signature.RsaSsaPkcs1SignKeyManager
 
keyFactory() - Method in class com.google.crypto.tink.signature.RsaSsaPssSignKeyManager
 
keyFactory() - Method in class com.google.crypto.tink.streamingaead.AesCtrHmacStreamingKeyManager
 
keyFactory() - Method in class com.google.crypto.tink.streamingaead.AesGcmHkdfStreamingKeyManager
 
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.
KeyManagerImpl<PrimitiveT,KeyProtoT extends com.google.protobuf.MessageLite> - Class in com.google.crypto.tink
Implementation of the KeyManager interface based on an KeyTypeManager.
KeyManagerImpl(KeyTypeManager<KeyProtoT>, Class<PrimitiveT>) - Constructor for class com.google.crypto.tink.KeyManagerImpl
 
keyMaterialType() - Method in class com.google.crypto.tink.aead.AesCtrHmacAeadKeyManager
 
keyMaterialType() - Method in class com.google.crypto.tink.aead.AesCtrKeyManager
 
keyMaterialType() - Method in class com.google.crypto.tink.aead.AesEaxKeyManager
 
keyMaterialType() - Method in class com.google.crypto.tink.aead.AesGcmKeyManager
 
keyMaterialType() - Method in class com.google.crypto.tink.aead.AesGcmSivKeyManager
 
keyMaterialType() - Method in class com.google.crypto.tink.aead.ChaCha20Poly1305KeyManager
 
keyMaterialType() - Method in class com.google.crypto.tink.aead.KmsAeadKeyManager
 
keyMaterialType() - Method in class com.google.crypto.tink.aead.KmsEnvelopeAeadKeyManager
 
keyMaterialType() - Method in class com.google.crypto.tink.aead.XChaCha20Poly1305KeyManager
 
keyMaterialType() - Method in class com.google.crypto.tink.daead.AesSivKeyManager
 
keyMaterialType() - Method in class com.google.crypto.tink.hybrid.EciesAeadHkdfPrivateKeyManager
 
keyMaterialType() - Method in class com.google.crypto.tink.KeyTypeManager
Returns the KeyData.KeyMaterialType for this proto.
keyMaterialType() - Method in class com.google.crypto.tink.mac.AesCmacKeyManager
 
keyMaterialType() - Method in class com.google.crypto.tink.mac.HmacKeyManager
 
keyMaterialType() - Method in class com.google.crypto.tink.prf.AesCmacPrfKeyManager
 
keyMaterialType() - Method in class com.google.crypto.tink.prf.HkdfPrfKeyManager
 
keyMaterialType() - Method in class com.google.crypto.tink.prf.HmacPrfKeyManager
 
keyMaterialType() - Method in class com.google.crypto.tink.signature.EcdsaSignKeyManager
 
keyMaterialType() - Method in class com.google.crypto.tink.signature.Ed25519PrivateKeyManager
 
keyMaterialType() - Method in class com.google.crypto.tink.signature.RsaSsaPkcs1SignKeyManager
 
keyMaterialType() - Method in class com.google.crypto.tink.signature.RsaSsaPssSignKeyManager
 
keyMaterialType() - Method in class com.google.crypto.tink.streamingaead.AesCtrHmacStreamingKeyManager
 
keyMaterialType() - Method in class com.google.crypto.tink.streamingaead.AesGcmHkdfStreamingKeyManager
 
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.
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.subtle.PemKeyType
 
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.
keyType - Variable in enum com.google.crypto.tink.subtle.PemKeyType
 
KeyTypeManager<KeyProtoT extends com.google.protobuf.MessageLite> - Class in com.google.crypto.tink
An object which collects all the operations which one can do on for a single key type, identified by a single KeyProto.
KeyTypeManager(Class<KeyProtoT>, KeyTypeManager.PrimitiveFactory<?, KeyProtoT>...) - Constructor for class com.google.crypto.tink.KeyTypeManager
Constructs a new KeyTypeManager.
KeyTypeManager.KeyFactory<KeyFormatProtoT extends com.google.protobuf.MessageLite,KeyT> - Class in com.google.crypto.tink
A KeyFactory creates new keys from a given KeyFormat.
KeyTypeManager.PrimitiveFactory<PrimitiveT,KeyT> - Class in com.google.crypto.tink
A PrimitiveFactory knows how to create primitives from a given key.
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.
KmsClients() - Constructor for class com.google.crypto.tink.KmsClients
 
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
 
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
Implements the key wrapping primitive KWP defined in NIST SP 800 38f.
Kwp(byte[]) - Constructor for class com.google.crypto.tink.subtle.Kwp
Construct a new Instance for KWP.

L

LATEST - Static variable in class com.google.crypto.tink.aead.AeadConfig
Deprecated.
LATEST - Static variable in class com.google.crypto.tink.config.TinkConfig
Deprecated.
This is not supported anymore.
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.mac.MacConfig
Deprecated.
LATEST - Static variable in class com.google.crypto.tink.signature.SignatureConfig
 
LATEST - Static variable in class com.google.crypto.tink.streamingaead.StreamingAeadConfig
 
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
 

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
 
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(Mac.class) after registering the MacWrapper instead.
MacFactory() - Constructor for class com.google.crypto.tink.mac.MacFactory
Deprecated.
 
MacKeyTemplates - Class in com.google.crypto.tink.mac
Deprecated.
use the key template methods in the key managers, e.g., HmacKeyManager.hmacSha256HalfDigestTemplate().
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.
modSqrt(BigInteger, BigInteger) - Static method in class com.google.crypto.tink.subtle.EllipticCurves
Computes a square root modulo an odd prime.

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.signature.SignaturePemKeysetReader
 
newDecryptingChannel(ReadableByteChannel, byte[]) - Method in interface com.google.crypto.tink.StreamingAead
 
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 interface com.google.crypto.tink.StreamingAead
Returns a WritableByteChannel for plaintext.
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(ByteString) - Method in interface com.google.crypto.tink.KeyManager
Generates a new key according to specification in serializedKeyFormat, which must be a serialized key format protocol buffer handled by this manager.
newKey(MessageLite) - Method in interface com.google.crypto.tink.KeyManager
Generates a new key according to specification in keyFormat.
newKey(ByteString) - Method in class com.google.crypto.tink.KeyManagerImpl
 
newKey(MessageLite) - Method in class com.google.crypto.tink.KeyManagerImpl
 
newKey(KeyTemplate) - Static method in class com.google.crypto.tink.Registry
Convenience method for generating a new key for the specified keyTemplate.
newKey(String, MessageLite) - Static method in class com.google.crypto.tink.Registry
Convenience method for generating a new key for the specified format.
newKeyData(ByteString) - Method in interface com.google.crypto.tink.KeyManager
Generates a new KeyData according to specification in serializedkeyFormat.
newKeyData(ByteString) - Method in class com.google.crypto.tink.KeyManagerImpl
 
newKeyData(KeyTemplate) - Static method in class com.google.crypto.tink.Registry
Convenience method for generating a new KeyData for the specified template.
newKeyData(KeyTemplate) - Static method in class com.google.crypto.tink.Registry
Convenience method for generating a new KeyData for the specified template.
newKeyPair() - Static method in class com.google.crypto.tink.subtle.Ed25519Sign.KeyPair
Returns a new KeyPair.
newPrimitiveSet(Class<P>) - Static method in class com.google.crypto.tink.PrimitiveSet
 
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
 
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_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_RAW_PREFIX_SIZE - Static variable in class com.google.crypto.tink.CryptoFormat
Prefix size of Tink and Legacy key types.
NoSecretKeysetHandle - Class in com.google.crypto.tink
NoSecretKeysetHandle() - Constructor for class com.google.crypto.tink.NoSecretKeysetHandle
Deprecated.
 

O

of(byte[]) - Static method in class com.google.crypto.tink.subtle.ImmutableByteArray
 
of(byte[], int, int) - Static method in class com.google.crypto.tink.subtle.ImmutableByteArray
Wrap an immutable byte array over a slice of a bytearray

P

parseFrom(byte[]) - Static method in class com.google.crypto.tink.CleartextKeysetHandle
parseFrom(byte[]) - Static method in class com.google.crypto.tink.NoSecretKeysetHandle
parseKey(ByteString) - Method in class com.google.crypto.tink.aead.AesCtrHmacAeadKeyManager
 
parseKey(ByteString) - Method in class com.google.crypto.tink.aead.AesCtrKeyManager
 
parseKey(ByteString) - Method in class com.google.crypto.tink.aead.AesEaxKeyManager
 
parseKey(ByteString) - Method in class com.google.crypto.tink.aead.AesGcmKeyManager
 
parseKey(ByteString) - Method in class com.google.crypto.tink.aead.AesGcmSivKeyManager
 
parseKey(ByteString) - Method in class com.google.crypto.tink.aead.ChaCha20Poly1305KeyManager
 
parseKey(ByteString) - Method in class com.google.crypto.tink.aead.KmsAeadKeyManager
 
parseKey(ByteString) - Method in class com.google.crypto.tink.aead.KmsEnvelopeAeadKeyManager
 
parseKey(ByteString) - Method in class com.google.crypto.tink.aead.XChaCha20Poly1305KeyManager
 
parseKey(ByteString) - Method in class com.google.crypto.tink.daead.AesSivKeyManager
 
parseKey(ByteString) - Method in class com.google.crypto.tink.hybrid.EciesAeadHkdfPrivateKeyManager
 
parseKey(ByteString) - Method in class com.google.crypto.tink.KeyTypeManager
Parses a serialized key proto.
parseKey(ByteString) - Method in class com.google.crypto.tink.mac.AesCmacKeyManager
 
parseKey(ByteString) - Method in class com.google.crypto.tink.mac.HmacKeyManager
 
parseKey(ByteString) - Method in class com.google.crypto.tink.prf.AesCmacPrfKeyManager
 
parseKey(ByteString) - Method in class com.google.crypto.tink.prf.HkdfPrfKeyManager
 
parseKey(ByteString) - Method in class com.google.crypto.tink.prf.HmacPrfKeyManager
 
parseKey(ByteString) - Method in class com.google.crypto.tink.signature.EcdsaSignKeyManager
 
parseKey(ByteString) - Method in class com.google.crypto.tink.signature.Ed25519PrivateKeyManager
 
parseKey(ByteString) - Method in class com.google.crypto.tink.signature.RsaSsaPkcs1SignKeyManager
 
parseKey(ByteString) - Method in class com.google.crypto.tink.signature.RsaSsaPssSignKeyManager
 
parseKey(ByteString) - Method in class com.google.crypto.tink.streamingaead.AesCtrHmacStreamingKeyManager
 
parseKey(ByteString) - Method in class com.google.crypto.tink.streamingaead.AesGcmHkdfStreamingKeyManager
 
parseKeyFormat(ByteString) - Method in class com.google.crypto.tink.KeyTypeManager.KeyFactory
Parses a serialized key proto.
PemKeyType - Enum in com.google.crypto.tink.subtle
PEM key types that Tink supports
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.
PREFIX - Static variable in class com.google.crypto.tink.integration.android.AndroidKeystoreKmsClient
The prefix of all keys stored in Android Keystore.
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.subtle
An implementation of CMAC following RFC 4493.
PrfAesCmac(byte[]) - Constructor for class com.google.crypto.tink.subtle.PrfAesCmac
 
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.
PrfKeyTemplates - Class in com.google.crypto.tink.prf
Deprecated.
use the key template methods in the key managers, e.g., HkdfPrfKeyManager.hkdfSha256Template().
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
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
 
PrimitiveFactory(Class<PrimitiveT>) - Constructor for class com.google.crypto.tink.KeyTypeManager.PrimitiveFactory
 
PrimitiveSet<P> - Class in com.google.crypto.tink
A container class for a set of primitives -- implementations of cryptographic primitives offered by Tink.
PrimitiveSet.Entry<P> - Class in com.google.crypto.tink
A single entry in the set.
PrimitiveWrapper<B,P> - Interface in com.google.crypto.tink
Basic interface for wrapping a primitive.
PrivateKeyManager<P> - Interface in com.google.crypto.tink
A KeyManager that understands asymmetric private key types.
PrivateKeyManagerImpl<PrimitiveT,KeyProtoT extends com.google.protobuf.MessageLite,PublicKeyProtoT extends com.google.protobuf.MessageLite> - Class in com.google.crypto.tink
Implementation of the PrivateKeyManager interface based on an PrivateKeyTypeManager and the corresponding public key manager, implemented by an KeyTypeManager.
PrivateKeyManagerImpl(PrivateKeyTypeManager<KeyProtoT, PublicKeyProtoT>, KeyTypeManager<PublicKeyProtoT>, Class<PrimitiveT>) - Constructor for class com.google.crypto.tink.PrivateKeyManagerImpl
 
PrivateKeyTypeManager<KeyProtoT extends com.google.protobuf.MessageLite,PublicKeyProtoT extends com.google.protobuf.MessageLite> - Class in com.google.crypto.tink
A PrivateKeyManager is like an KeyTypeManager, but additionally has a method to create a public key.
PrivateKeyTypeManager(Class<KeyProtoT>, Class<PublicKeyProtoT>, KeyTypeManager.PrimitiveFactory<?, KeyProtoT>...) - Constructor for class com.google.crypto.tink.PrivateKeyTypeManager
 
promote(int) - Method in class com.google.crypto.tink.integration.android.AndroidKeysetManager
Deprecated.
use setPrimary
promote(int) - Method in class com.google.crypto.tink.KeysetManager
Deprecated.
use setPrimary
PUBLIC_KEY_LEN - Static variable in class com.google.crypto.tink.subtle.Ed25519Verify
 
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).
PublicKeySign - Interface in com.google.crypto.tink
Interface for public key signing.
PublicKeySignFactory - Class in com.google.crypto.tink.signature
Deprecated.
Use keysetHandle.GetPrimitive(PublicKeySign.class) after registering the PublicKeySignWrapper instead.
PublicKeySignFactory() - Constructor for class com.google.crypto.tink.signature.PublicKeySignFactory
Deprecated.
 
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.
PublicKeyVerifyFactory - Class in com.google.crypto.tink.signature
Deprecated.
Use keysetHandle.GetPrimitive(PublicKeyVerify.class) after registering the PublicKeyVerifyWrapper instead.
PublicKeyVerifyFactory() - Constructor for class com.google.crypto.tink.signature.PublicKeyVerifyFactory
Deprecated.
 
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.subtle.Random
 
randInt(int) - Static method in class com.google.crypto.tink.subtle.Random
 
randInt() - Static method in class com.google.crypto.tink.subtle.Random
 
Random - Class in com.google.crypto.tink.subtle
A simple wrapper of SecureRandom.
Random() - Constructor for class com.google.crypto.tink.subtle.Random
 
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
 
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(KeysetReader) - Static method in class com.google.crypto.tink.CleartextKeysetHandle
 
read() - Method in class com.google.crypto.tink.integration.android.SharedPrefKeysetReader
 
read() - Method in class com.google.crypto.tink.JsonKeysetReader
 
read(KeysetReader, Aead) - Static method in class com.google.crypto.tink.KeysetHandle
Tries to create a KeysetHandle from an encrypted keyset obtained via reader.
read() - Method in interface com.google.crypto.tink.KeysetReader
Tries to read and return a cleartext Keyset.
read(KeysetReader) - Static method in class com.google.crypto.tink.NoSecretKeysetHandle
Deprecated.
 
read() - Method in class com.google.crypto.tink.signature.SignaturePemKeysetReader
 
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
 
readKey(BufferedReader) - Method in enum com.google.crypto.tink.subtle.PemKeyType
Reads a single key from reader.
readNoSecret(KeysetReader) - Static method in class com.google.crypto.tink.KeysetHandle
Tries to create a KeysetHandle from a keyset, obtained via reader, which contains no secret key material.
readNoSecret(byte[]) - Static method in class com.google.crypto.tink.KeysetHandle
Tries to create a KeysetHandle from a serialized keyset which contains no secret key material.
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(boolean) - Static method in class com.google.crypto.tink.aead.AesCtrHmacAeadKeyManager
 
register(boolean) - Static method in class com.google.crypto.tink.aead.AesCtrKeyManager
 
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.XChaCha20Poly1305KeyManager
 
register(RegistryConfig) - Static method in class com.google.crypto.tink.Config
Tries to register key managers according to the specification in config.
register() - Static method in class com.google.crypto.tink.config.TinkConfig
Deprecated.
Tries to register with the Registry all instances of Catalogue and KeyManager needed to handle all key types supported in Tink.
register(boolean) - Static method in class com.google.crypto.tink.daead.AesSivKeyManager
 
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.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(boolean) - Static method in class com.google.crypto.tink.mac.AesCmacKeyManager
 
register(boolean) - Static method in class com.google.crypto.tink.mac.HmacKeyManager
 
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(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() - 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.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(boolean) - Static method in class com.google.crypto.tink.streamingaead.AesCtrHmacStreamingKeyManager
 
register(boolean) - Static method in class com.google.crypto.tink.streamingaead.AesGcmHkdfStreamingKeyManager
 
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
 
registerAsymmetricKeyManagers(PrivateKeyTypeManager<KeyProtoT, PublicKeyProtoT>, KeyTypeManager<PublicKeyProtoT>, boolean) - Static method in class com.google.crypto.tink.Registry
Tries to register manager for manager.getKeyType().
registerKeyManager(KeyManager<P>) - Static method in class com.google.crypto.tink.Registry
Tries to register manager for manager.getKeyType().
registerKeyManager(KeyManager<P>, boolean) - Static method in class com.google.crypto.tink.Registry
Tries to register manager for manager.getKeyType().
registerKeyManager(KeyTypeManager<KeyProtoT>, boolean) - Static method in class com.google.crypto.tink.Registry
 
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
registerKeyType(KeyTypeEntry) - Static method in class com.google.crypto.tink.Config
Tries to register a key manager according to the specification in entry.
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.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.
registerPrimitiveWrapper(PrimitiveWrapper<B, P>) - Static method in class com.google.crypto.tink.Registry
Tries to register wrapper as a new SetWrapper for primitive P.
registerStandardKeyTypes() - Static method in class com.google.crypto.tink.aead.AeadConfig
Deprecated.
registerStandardKeyTypes() - Static method in class com.google.crypto.tink.mac.MacConfig
Deprecated.
Registry - Class in com.google.crypto.tink
A global container of key managers and catalogues.
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
Deprecated.
Please use KeysetManager.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.
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
 
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_SSA_PKCS1_3072_SHA256_F4 - Static variable in class com.google.crypto.tink.signature.SignatureKeyTemplates
Deprecated.
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.SignatureKeyTemplates
Deprecated.
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.SignatureKeyTemplates
Deprecated.
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.SignatureKeyTemplates
Deprecated.
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.SignatureKeyTemplates
Deprecated.
A KeyTemplate that generates new instances of RsaSsaPssPrivateKey with the following parameters: Signature hash: SHA512.
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
 
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.
RsaSsaPkcs1VerifyJce - Class in com.google.crypto.tink.subtle
RsaSsaPkcs1 (i.e.
RsaSsaPkcs1VerifyJce(RSAPublicKey, Enums.HashType) - Constructor for class com.google.crypto.tink.subtle.RsaSsaPkcs1VerifyJce
 
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.
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
 

S

SECRET_KEY_LEN - Static variable in class com.google.crypto.tink.subtle.Ed25519Sign
 
setKeyStore(KeyStore) - Method in class com.google.crypto.tink.integration.android.AndroidKeystoreKmsClient.Builder
This is for testing only
setKeyUri(String) - Method in class com.google.crypto.tink.integration.android.AndroidKeystoreKmsClient.Builder
 
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.
setPrimary(PrimitiveSet.Entry<P>) - Method in class com.google.crypto.tink.PrimitiveSet
Sets given Entry primary as the primary one.
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.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
 
SIGNATURE - Static variable in class com.google.crypto.tink.subtle.EngineFactory
 
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.
SignatureConfig() - Constructor for class com.google.crypto.tink.signature.SignatureConfig
 
SignatureKeyTemplates - Class in com.google.crypto.tink.signature
Deprecated.
use the key template methods in the key managers, e.g., {@link com.google.crypto.tink.signature.RsaSsaPssSignKeyManager#rsa3072PssSha256F4Template).
SignatureKeyTemplates() - Constructor for class com.google.crypto.tink.signature.SignatureKeyTemplates
Deprecated.
 
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
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.
StreamingAeadConfig() - Constructor for class com.google.crypto.tink.streamingaead.StreamingAeadConfig
 
StreamingAeadFactory - Class in com.google.crypto.tink.streamingaead
Deprecated.
Use keysetHandle.GetPrimitive(StreamingAead.class) after registering the StreamingAeadWrapper instead.
StreamingAeadFactory() - Constructor for class com.google.crypto.tink.streamingaead.StreamingAeadFactory
Deprecated.
 
StreamingAeadKeyTemplates - Class in com.google.crypto.tink.streamingaead
Deprecated.
use the key template methods in the key managers, e.g., AesGcmHkdfStreamingKeyManager.aes128GcmHkdf4KBTemplate().
StreamingAeadKeyTemplates() - Constructor for class com.google.crypto.tink.streamingaead.StreamingAeadKeyTemplates
Deprecated.
 
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.
SubtleUtil() - Constructor for class com.google.crypto.tink.subtle.SubtleUtil
 
supportedPrimitives() - Method in class com.google.crypto.tink.KeyTypeManager
Returns a set containing the supported primitives.

T

TCipher() - Constructor for class com.google.crypto.tink.subtle.EngineWrapper.TCipher
 
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. 
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. 
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_VERSION - Static variable in class com.google.crypto.tink.Version
Version of the current Tink release.
TinkConfig - Class in com.google.crypto.tink.config
Deprecated.
Use per-primitive configs, e.g., AeadConfig, HybridConfig, etc.
TinkConfig() - Constructor for class com.google.crypto.tink.config.TinkConfig
Deprecated.
 
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
 
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.
toProviderList(String...) - Static method in class com.google.crypto.tink.subtle.EngineFactory
Helper function to get a list of Providers from names.
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.KeysetHandle
Extracts and returns the string representation of the KeysetInfo of the managed keyset.
TSignature() - Constructor for class com.google.crypto.tink.subtle.EngineWrapper.TSignature
 

U

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
Unwraps a wrapped key.
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.

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
 
validateExists(File) - Static method in class com.google.crypto.tink.subtle.Validators
 
validateKey(AesCtrHmacAeadKey) - Method in class com.google.crypto.tink.aead.AesCtrHmacAeadKeyManager
 
validateKey(AesCtrKey) - Method in class com.google.crypto.tink.aead.AesCtrKeyManager
 
validateKey(AesEaxKey) - Method in class com.google.crypto.tink.aead.AesEaxKeyManager
 
validateKey(AesGcmKey) - Method in class com.google.crypto.tink.aead.AesGcmKeyManager
 
validateKey(AesGcmSivKey) - Method in class com.google.crypto.tink.aead.AesGcmSivKeyManager
 
validateKey(ChaCha20Poly1305Key) - Method in class com.google.crypto.tink.aead.ChaCha20Poly1305KeyManager
 
validateKey(KmsAeadKey) - Method in class com.google.crypto.tink.aead.KmsAeadKeyManager
 
validateKey(KmsEnvelopeAeadKey) - Method in class com.google.crypto.tink.aead.KmsEnvelopeAeadKeyManager
 
validateKey(XChaCha20Poly1305Key) - Method in class com.google.crypto.tink.aead.XChaCha20Poly1305KeyManager
 
validateKey(AesSivKey) - Method in class com.google.crypto.tink.daead.AesSivKeyManager
 
validateKey(EciesAeadHkdfPrivateKey) - Method in class com.google.crypto.tink.hybrid.EciesAeadHkdfPrivateKeyManager
 
validateKey(KeyProtoT) - Method in class com.google.crypto.tink.KeyTypeManager
Checks if the given keyProto is a valid key.
validateKey(AesCmacKey) - Method in class com.google.crypto.tink.mac.AesCmacKeyManager
 
validateKey(HmacKey) - Method in class com.google.crypto.tink.mac.HmacKeyManager
 
validateKey(AesCmacPrfKey) - Method in class com.google.crypto.tink.prf.AesCmacPrfKeyManager
 
validateKey(HkdfPrfKey) - Method in class com.google.crypto.tink.prf.HkdfPrfKeyManager
 
validateKey(HmacPrfKey) - Method in class com.google.crypto.tink.prf.HmacPrfKeyManager
 
validateKey(EcdsaPrivateKey) - Method in class com.google.crypto.tink.signature.EcdsaSignKeyManager
 
validateKey(Ed25519PrivateKey) - Method in class com.google.crypto.tink.signature.Ed25519PrivateKeyManager
 
validateKey(RsaSsaPkcs1PrivateKey) - Method in class com.google.crypto.tink.signature.RsaSsaPkcs1SignKeyManager
 
validateKey(RsaSsaPssPrivateKey) - Method in class com.google.crypto.tink.signature.RsaSsaPssSignKeyManager
 
validateKey(AesCtrHmacStreamingKey) - Method in class com.google.crypto.tink.streamingaead.AesCtrHmacStreamingKeyManager
 
validateKey(AesGcmHkdfStreamingKey) - Method in class com.google.crypto.tink.streamingaead.AesGcmHkdfStreamingKeyManager
 
validateKeyFormat(KeyFormatProtoT) - Method in class com.google.crypto.tink.KeyTypeManager.KeyFactory
Checks if the given keyFormatProto is a valid key.
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.
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
 
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.KeyTemplate.OutputPrefixType
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
Returns the enum constant of this type with the specified name.
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.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
Returns an array containing the constants of this enum type, in the order they are declared.
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.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
 
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
 
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
Static method to create a JsonKeysetReader from a byte array.
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
Static method to create a BinaryKeysetReader from a file.
withFile(File) - Static method in class com.google.crypto.tink.BinaryKeysetWriter
Static method to create a BinaryKeysetWriter that writes to a file.
withFile(File) - Static method in class com.google.crypto.tink.JsonKeysetReader
Static method to create a JsonKeysetReader from a file.
withFile(File) - Static method in class com.google.crypto.tink.JsonKeysetWriter
Static method to create a JsonKeysetWriter that writes to a file.
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(JSONObject) - Static method in class com.google.crypto.tink.JsonKeysetReader
Static method to create a JsonKeysetReader from an JSONObject.
withKeysetHandle(KeysetHandle) - Static method in class com.google.crypto.tink.KeysetManager
 
withKeyTemplate(KeyTemplate) - Method in class com.google.crypto.tink.integration.android.AndroidKeysetManager.Builder
Deprecated.
This method takes a KeyTemplate proto, which is an internal implementation detail. Please use the withKeyTemplate method that takes a KeyTemplate POJO.
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.
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
Static method to create a JsonKeysetWriter that writes to an OutputStream.
withPath(String) - Static method in class com.google.crypto.tink.JsonKeysetReader
Static method to create a JsonKeysetReader from a Path.
withPath(Path) - Static method in class com.google.crypto.tink.JsonKeysetReader
Static method to create a JsonKeysetReader from a Path.
withPath(String) - Static method in class com.google.crypto.tink.JsonKeysetWriter
Static method to create a JsonKeysetWriter that writes to a file path.
withPath(Path) - Static method in class com.google.crypto.tink.JsonKeysetWriter
Static method to create a JsonKeysetWriter that writes to a file path.
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(PrimitiveSet<Aead>) - Method in class com.google.crypto.tink.aead.AeadWrapper
 
wrap(PrimitiveSet<DeterministicAead>) - Method in class com.google.crypto.tink.daead.DeterministicAeadWrapper
 
wrap(PrimitiveSet<HybridDecrypt>) - Method in class com.google.crypto.tink.hybrid.HybridDecryptWrapper
 
wrap(byte[]) - Method in interface com.google.crypto.tink.KeyWrap
Wraps some key material data.
wrap(PrimitiveSet<Prf>) - Method in class com.google.crypto.tink.prf.PrfSetWrapper
 
wrap(PrimitiveSet<B>) - Method in interface com.google.crypto.tink.PrimitiveWrapper
Wraps a PrimitiveSet and returns a single instance.
wrap(PrimitiveSet<B>, Class<P>) - Static method in class com.google.crypto.tink.Registry
Looks up the globally registered PrimitiveWrapper for this primitive and wraps the given PrimitiveSet with it.
wrap(PrimitiveSet<P>) - Static method in class com.google.crypto.tink.Registry
 
wrap(PrimitiveSet<PublicKeySign>) - Method in class com.google.crypto.tink.signature.PublicKeySignWrapper
 
wrap(PrimitiveSet<StreamingAead>) - Method in class com.google.crypto.tink.streamingaead.StreamingAeadWrapper
 
wrap(byte[]) - Method in class com.google.crypto.tink.subtle.Kwp
Wraps some key material data.
wrap(StreamingPrf) - Static method in class com.google.crypto.tink.subtle.prf.PrfImpl
Creates a Prf primitive from a StreamingPrf primitive.
write(Keyset) - Method in class com.google.crypto.tink.BinaryKeysetWriter
 
write(EncryptedKeyset) - Method in class com.google.crypto.tink.BinaryKeysetWriter
 
write(KeysetHandle, KeysetWriter) - Static method in class com.google.crypto.tink.CleartextKeysetHandle
Serializes and writes the Keyset managed by handle to keysetWriter.
write(Keyset) - Method in class com.google.crypto.tink.integration.android.SharedPrefKeysetWriter
 
write(EncryptedKeyset) - Method in class com.google.crypto.tink.integration.android.SharedPrefKeysetWriter
 
write(Keyset) - Method in class com.google.crypto.tink.JsonKeysetWriter
 
write(EncryptedKeyset) - Method in class com.google.crypto.tink.JsonKeysetWriter
 
write(KeysetWriter, Aead) - Method in class com.google.crypto.tink.KeysetHandle
Serializes, encrypts with masterKey and writes the keyset to outputStream.
write(Keyset) - Method in interface com.google.crypto.tink.KeysetWriter
Tries to write a Keyset to some storage system.
write(EncryptedKeyset) - Method in interface com.google.crypto.tink.KeysetWriter
Tries to write an EncryptedKeyset to some storage system.
writeNoSecret(KeysetWriter) - Method in class com.google.crypto.tink.KeysetHandle
Tries to write to writer this keyset which must not contain any secret key material.

X

X25519 - Class in com.google.crypto.tink.subtle
Defines the ECDH Curve25519 function, also known as the X25519 function.
X25519() - Constructor for class com.google.crypto.tink.subtle.X25519
 
XCHACHA20_POLY1305 - Static variable in class com.google.crypto.tink.aead.AeadKeyTemplates
Deprecated.
A KeyTemplate 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
 
XChaCha20Poly1305KeyManager - Class in com.google.crypto.tink.aead
This instance of KeyManager generates new XChaCha20Poly1305 keys and produces new instances of XChaCha20Poly1305.
xChaCha20Poly1305Template() - Static method in class com.google.crypto.tink.aead.XChaCha20Poly1305KeyManager
 
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.
xor(byte[], byte[]) - Static method in class com.google.crypto.tink.subtle.Bytes
Computes the xor of two byte arrays of equal size.
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 
Skip navigation links