- add(KeyTemplate) - Method in class com.google.crypto.tink.integration.android.AndroidKeysetManager
-
- 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
-
- 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
-
- addNewKey(KeyTemplate, boolean) - Method in class com.google.crypto.tink.KeysetManager
-
- 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 - Class in com.google.crypto.tink.aead
-
- AeadFactory() - Constructor for class com.google.crypto.tink.aead.AeadFactory
-
Deprecated.
- AeadKeyTemplates - Class in com.google.crypto.tink.aead
-
- 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
-
- 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
-
- 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
-
- 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_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_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
-
- AesCmac - Class in com.google.crypto.tink.subtle
-
An implementation of CMAC following
RFC 4493.
- AesCmac(byte[], int) - Constructor for class com.google.crypto.tink.subtle.AesCmac
-
- AesCmacKeyManager - Class in com.google.crypto.tink.mac
-
This key manager generates new AesCmacKey keys and produces new instances of AesCmac.
- AesCtrHmacAeadKeyManager - Class in com.google.crypto.tink.aead
-
- 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.
- 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.
- AesSiv - Class in com.google.crypto.tink.subtle
-
- 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.
- 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
-
- AndroidKeystoreAesGcm - Class in com.google.crypto.tink.integration.android
-
- AndroidKeystoreAesGcm(String) - Constructor for class com.google.crypto.tink.integration.android.AndroidKeystoreAesGcm
-
- AndroidKeystoreKmsClient - Class in com.google.crypto.tink.integration.android
-
- 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.
- 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 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
-
- DeterministicAeadFactory() - Constructor for class com.google.crypto.tink.daead.DeterministicAeadFactory
-
Deprecated.
- DeterministicAeadKeyTemplates - Class in com.google.crypto.tink.daead
-
- 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
-
- 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
-
- 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 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.
- 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
-
- 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
-
- 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
-
- getBytes() - Method in class com.google.crypto.tink.subtle.ImmutableByteArray
-
- getCatalogue(String) - Static method in class com.google.crypto.tink.Registry
-
- 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
-
- 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
-
- 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
-
- 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.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.HkdfPrfKeyManager
-
- 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.aead.AeadFactory
-
- getPrimitive(KeysetHandle, KeyManager<Aead>) - Static method in class com.google.crypto.tink.aead.AeadFactory
-
- getPrimitive(KeysetHandle) - Static method in class com.google.crypto.tink.daead.DeterministicAeadFactory
-
- getPrimitive(KeysetHandle, KeyManager<DeterministicAead>) - Static method in class com.google.crypto.tink.daead.DeterministicAeadFactory
-
- getPrimitive(KeysetHandle) - Static method in class com.google.crypto.tink.hybrid.HybridDecryptFactory
-
- getPrimitive(KeysetHandle, KeyManager<HybridDecrypt>) - Static method in class com.google.crypto.tink.hybrid.HybridDecryptFactory
-
- getPrimitive(KeysetHandle) - Static method in class com.google.crypto.tink.hybrid.HybridEncryptFactory
-
- getPrimitive(KeysetHandle, KeyManager<HybridEncrypt>) - Static method in class com.google.crypto.tink.hybrid.HybridEncryptFactory
-
- 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
-
- getPrimitive(KeysetHandle, KeyManager<Mac>) - Static method in class com.google.crypto.tink.mac.MacFactory
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- getPrimitive(KeysetHandle, KeyManager<PublicKeySign>) - Static method in class com.google.crypto.tink.signature.PublicKeySignFactory
-
- getPrimitive(KeysetHandle) - Static method in class com.google.crypto.tink.signature.PublicKeyVerifyFactory
-
- getPrimitive(KeysetHandle, KeyManager<PublicKeyVerify>) - Static method in class com.google.crypto.tink.signature.PublicKeyVerifyFactory
-
- 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) - Static method in class com.google.crypto.tink.Registry
-
- 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>) - Static method in class com.google.crypto.tink.Registry
-
- 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.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.HkdfPrfKeyManager
-
- 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.
- 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.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
-
- 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.HkdfPrfKeyManager
-
- 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
-
- 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.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.HkdfPrfKeyManager
-
- 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
-
- 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.
- 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.
- newKeyPair() - Static method in class com.google.crypto.tink.subtle.Ed25519Sign.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.
- 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.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.HkdfPrfKeyManager
-
- 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
-
- 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.
- 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<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
-
- 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
-
- promote(int) - Method in class com.google.crypto.tink.KeysetManager
-
- 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.
- PublicKeySignConfig - Class in com.google.crypto.tink.signature
-
- PublicKeySignConfig() - Constructor for class com.google.crypto.tink.signature.PublicKeySignConfig
-
Deprecated.
- PublicKeySignFactory - Class in com.google.crypto.tink.signature
-
- 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.
- PublicKeyVerifyConfig - Class in com.google.crypto.tink.signature
-
- PublicKeyVerifyConfig() - Constructor for class com.google.crypto.tink.signature.PublicKeyVerifyConfig
-
Deprecated.
- PublicKeyVerifyFactory - Class in com.google.crypto.tink.signature
-
- 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.
- 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
-
- 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
-
- 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
-
- 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
-
- 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.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
-
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
-
- register(boolean) - Static method in class com.google.crypto.tink.prf.HkdfPrfKeyManager
-
- 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<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
-
- registerStandardKeyTypes() - Static method in class com.google.crypto.tink.hybrid.HybridDecryptConfig
-
- registerStandardKeyTypes() - Static method in class com.google.crypto.tink.hybrid.HybridEncryptConfig
-
- registerStandardKeyTypes() - Static method in class com.google.crypto.tink.mac.MacConfig
-
- registerStandardKeyTypes() - Static method in class com.google.crypto.tink.signature.PublicKeySignConfig
-
- registerStandardKeyTypes() - Static method in class com.google.crypto.tink.signature.PublicKeyVerifyConfig
-
- 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
-
- rotate(KeyTemplate) - Method in class com.google.crypto.tink.KeysetManager
-
- 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.
- 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
-
- 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(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(HkdfPrfKey) - Method in class com.google.crypto.tink.prf.HkdfPrfKeyManager
-
- 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.
- 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.AesCmac
-
- 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
-
- 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
-
- 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<PrfSet>) - Method in class com.google.crypto.tink.prf.PrfSetWrapper
-
- wrap(PrimitiveSet<P>) - Method in interface com.google.crypto.tink.PrimitiveWrapper
-
Wraps a PrimitiveSet and returns a single instance.
- wrap(PrimitiveSet<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<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.