Uses of Class
com.google.crypto.tink.KeyTemplate
-
-
Uses of KeyTemplate in com.google.crypto.tink
Methods in com.google.crypto.tink that return KeyTemplate Modifier and Type Method Description static KeyTemplateKeyTemplate. create(java.lang.String typeUrl, byte[] value, KeyTemplate.OutputPrefixType outputPrefixType)Deprecated.Use createFromstatic KeyTemplateKeyTemplate. createFrom(Parameters p)static KeyTemplateKeyTemplates. get(java.lang.String name)Returns a key template that was registered with theRegistryasname.Methods in com.google.crypto.tink with parameters of type KeyTemplate Modifier and Type Method Description KeysetManagerKeysetManager. add(KeyTemplate keyTemplate)Generates and adds a fresh key generated usingkeyTemplate.static KeysetHandleKeysetHandle. generateNew(KeyTemplate keyTemplate)Generates a newKeysetHandlethat contains a single fresh key generated according tokeyTemplate.static com.google.crypto.tink.proto.KeyDataRegistry. newKeyData(KeyTemplate keyTemplate)Deprecated.UseKeysetHandle.generateNew(keyTemplate.toParameters())instead and use the Keyset Handle API. -
Uses of KeyTemplate in com.google.crypto.tink.aead
Methods in com.google.crypto.tink.aead that return KeyTemplate Modifier and Type Method Description static KeyTemplateAesCtrHmacAeadKeyManager. aes128CtrHmacSha256Template()static KeyTemplateAesEaxKeyManager. aes128EaxTemplate()static KeyTemplateAesGcmSivKeyManager. aes128GcmSivTemplate()Creates and returns aKeyTemplatethat generates new instances of AES-GCM-SIV with the following parameters: Key size: 16 bytes Prefix type:KeyTemplate.OutputPrefixType.TINKstatic KeyTemplateAesGcmKeyManager. aes128GcmTemplate()static KeyTemplateAesCtrHmacAeadKeyManager. aes256CtrHmacSha256Template()static KeyTemplateAesEaxKeyManager. aes256EaxTemplate()static KeyTemplateAesGcmSivKeyManager. aes256GcmSivTemplate()Creates and returns aKeyTemplatethat generates new instances of AES-GCM-SIV with the following parameters: Key size: 32 bytes Prefix type:KeyTemplate.OutputPrefixType.TINKstatic KeyTemplateAesGcmKeyManager. aes256GcmTemplate()static KeyTemplateChaCha20Poly1305KeyManager. chaCha20Poly1305Template()static KeyTemplateKmsAeadKeyManager. createKeyTemplate(java.lang.String keyUri)static KeyTemplateKmsEnvelopeAeadKeyManager. createKeyTemplate(java.lang.String kekUri, KeyTemplate dekTemplate)Returns a newKeyTemplatethat can generate aLegacyKmsEnvelopeAeadKeywhose key encrypting key (KEK) is pointing tokekUriand DEK template isdekTemplate(or a derived version of it).static KeyTemplateAesEaxKeyManager. rawAes128EaxTemplate()static KeyTemplateAesGcmSivKeyManager. rawAes128GcmSivTemplate()Creates and returns aKeyTemplatethat generates new instances of AES-GCM with the following parameters: Key size: 16 bytes Prefix type:KeyTemplate.OutputPrefixType.RAW(no prefix)static KeyTemplateAesGcmKeyManager. rawAes128GcmTemplate()static KeyTemplateAesEaxKeyManager. rawAes256EaxTemplate()static KeyTemplateAesGcmSivKeyManager. rawAes256GcmSivTemplate()Creates and returns aKeyTemplatethat generates new instances of AES-GCM-SIV with the following parameters: Key size: 32 bytes Prefix type:KeyTemplate.OutputPrefixType.RAW(no prefix)static KeyTemplateAesGcmKeyManager. rawAes256GcmTemplate()static KeyTemplateChaCha20Poly1305KeyManager. rawChaCha20Poly1305Template()static KeyTemplateXChaCha20Poly1305KeyManager. rawXChaCha20Poly1305Template()static KeyTemplateXChaCha20Poly1305KeyManager. xChaCha20Poly1305Template()Methods in com.google.crypto.tink.aead with parameters of type KeyTemplate Modifier and Type Method Description static KeyTemplateKmsEnvelopeAeadKeyManager. createKeyTemplate(java.lang.String kekUri, KeyTemplate dekTemplate)Returns a newKeyTemplatethat can generate aLegacyKmsEnvelopeAeadKeywhose key encrypting key (KEK) is pointing tokekUriand DEK template isdekTemplate(or a derived version of it). -
Uses of KeyTemplate in com.google.crypto.tink.daead
Methods in com.google.crypto.tink.daead that return KeyTemplate Modifier and Type Method Description static KeyTemplateAesSivKeyManager. aes256SivTemplate()static KeyTemplateAesSivKeyManager. rawAes256SivTemplate() -
Uses of KeyTemplate in com.google.crypto.tink.hybrid
Methods in com.google.crypto.tink.hybrid that return KeyTemplate Modifier and Type Method Description static KeyTemplateEciesAeadHkdfPrivateKeyManager. eciesP256HkdfHmacSha256Aes128CtrHmacSha256Template()static KeyTemplateEciesAeadHkdfPrivateKeyManager. eciesP256HkdfHmacSha256Aes128GcmTemplate()static KeyTemplateEciesAeadHkdfPrivateKeyManager. rawEciesP256HkdfHmacSha256Aes128CtrHmacSha256CompressedTemplate()static KeyTemplateEciesAeadHkdfPrivateKeyManager. rawEciesP256HkdfHmacSha256Aes128GcmCompressedTemplate() -
Uses of KeyTemplate in com.google.crypto.tink.integration.android
Methods in com.google.crypto.tink.integration.android with parameters of type KeyTemplate Modifier and Type Method Description AndroidKeysetManagerAndroidKeysetManager. add(KeyTemplate keyTemplate)Generates and adds a fresh key generated usingkeyTemplate.AndroidKeysetManager.BuilderAndroidKeysetManager.Builder. withKeyTemplate(KeyTemplate val)If the keyset is not found or valid, generates a new one usingval. -
Uses of KeyTemplate in com.google.crypto.tink.internal
Methods in com.google.crypto.tink.internal with parameters of type KeyTemplate Modifier and Type Method Description static KeyTemplate.OutputPrefixTypeKeyTemplateProtoConverter. getOutputPrefixType(KeyTemplate t)static byte[]KeyTemplateProtoConverter. toByteArray(KeyTemplate keyTemplate)static com.google.crypto.tink.proto.KeyTemplateKeyTemplateProtoConverter. toProto(KeyTemplate keyTemplate) -
Uses of KeyTemplate in com.google.crypto.tink.jwt
Methods in com.google.crypto.tink.jwt that return KeyTemplate Modifier and Type Method Description static KeyTemplateJwtHmacKeyManager. hs256Template()Returns aKeyTemplatethat generates new instances of HS256 256-bit keys.static KeyTemplateJwtHmacKeyManager. hs384Template()Returns aKeyTemplatethat generates new instances of HS384 384-bit keys.static KeyTemplateJwtHmacKeyManager. hs512Template()Returns aKeyTemplatethat generates new instances of HS512 512-bit keys. -
Uses of KeyTemplate in com.google.crypto.tink.mac
Methods in com.google.crypto.tink.mac that return KeyTemplate Modifier and Type Method Description static KeyTemplateAesCmacKeyManager. aes256CmacTemplate()static KeyTemplateHmacKeyManager. hmacSha256HalfDigestTemplate()static KeyTemplateHmacKeyManager. hmacSha256Template()static KeyTemplateHmacKeyManager. hmacSha512HalfDigestTemplate()static KeyTemplateHmacKeyManager. hmacSha512Template()static KeyTemplateAesCmacKeyManager. rawAes256CmacTemplate() -
Uses of KeyTemplate in com.google.crypto.tink.prf
Methods in com.google.crypto.tink.prf that return KeyTemplate Modifier and Type Method Description static KeyTemplateAesCmacPrfKeyManager. aes256CmacTemplate()Returns aKeyTemplatethat generates new instances of AES-CMAC keys with the following parameters: Key size: 32 bytes Prefix type:KeyTemplate.OutputPrefixType.RAWstatic KeyTemplateHkdfPrfKeyManager. hkdfSha256Template()Generates aKeyTemplatefor HKDF-PRF keys with the following parameters.static KeyTemplateHmacPrfKeyManager. hmacSha256Template()Returns aKeyTemplatethat generates new instances of HMAC keys with the following parameters: Key size: 32 bytes Hash function: SHA256 Prefix type:KeyTemplate.OutputPrefixType.RAWstatic KeyTemplateHmacPrfKeyManager. hmacSha512Template()Returns aKeyTemplatethat generates new instances of HMAC keys with the following parameters: Key size: 64 bytes Hash function: SHA512 Prefix type:KeyTemplate.OutputPrefixType.RAW -
Uses of KeyTemplate in com.google.crypto.tink.signature
Methods in com.google.crypto.tink.signature that return KeyTemplate Modifier and Type Method Description static KeyTemplateEcdsaSignKeyManager. ecdsaP256Template()static KeyTemplateEd25519PrivateKeyManager. ed25519Template()static KeyTemplateEcdsaSignKeyManager. rawEcdsaP256Template()static KeyTemplateEd25519PrivateKeyManager. rawEd25519Template()static KeyTemplateRsaSsaPssSignKeyManager. rawRsa3072PssSha256F4Template()static KeyTemplateRsaSsaPkcs1SignKeyManager. rawRsa3072SsaPkcs1Sha256F4Template()static KeyTemplateRsaSsaPssSignKeyManager. rawRsa4096PssSha512F4Template()static KeyTemplateRsaSsaPkcs1SignKeyManager. rawRsa4096SsaPkcs1Sha512F4Template()static KeyTemplateRsaSsaPssSignKeyManager. rsa3072PssSha256F4Template()static KeyTemplateRsaSsaPkcs1SignKeyManager. rsa3072SsaPkcs1Sha256F4Template()static KeyTemplateRsaSsaPssSignKeyManager. rsa4096PssSha512F4Template()static KeyTemplateRsaSsaPkcs1SignKeyManager. rsa4096SsaPkcs1Sha512F4Template() -
Uses of KeyTemplate in com.google.crypto.tink.streamingaead
Methods in com.google.crypto.tink.streamingaead that return KeyTemplate Modifier and Type Method Description static KeyTemplateAesCtrHmacStreamingKeyManager. aes128CtrHmacSha2561MBTemplate()static KeyTemplateAesCtrHmacStreamingKeyManager. aes128CtrHmacSha2564KBTemplate()static KeyTemplateAesGcmHkdfStreamingKeyManager. aes128GcmHkdf1MBTemplate()static KeyTemplateAesGcmHkdfStreamingKeyManager. aes128GcmHkdf4KBTemplate()static KeyTemplateAesCtrHmacStreamingKeyManager. aes256CtrHmacSha2561MBTemplate()static KeyTemplateAesCtrHmacStreamingKeyManager. aes256CtrHmacSha2564KBTemplate()static KeyTemplateAesGcmHkdfStreamingKeyManager. aes256GcmHkdf1MBTemplate()static KeyTemplateAesGcmHkdfStreamingKeyManager. aes256GcmHkdf4KBTemplate() -
Uses of KeyTemplate in com.google.crypto.tink.tinkkey
Methods in com.google.crypto.tink.tinkkey that return KeyTemplate Modifier and Type Method Description KeyTemplateKeyHandle. getKeyTemplate()Returns theKeyTemplateof the underlyingTinkKey.KeyTemplateTinkKey. getKeyTemplate()ATinkKeyshould know theKeyTemplatefrom which it was generated, which in turn specifies the cryptographic algorithm in which theTinkKeyshould be used.Methods in com.google.crypto.tink.tinkkey with parameters of type KeyTemplate Modifier and Type Method Description static KeyHandleKeyHandle. generateNew(KeyTemplate keyTemplate)Generates a newKeyHandlethat contains a fresh key generated according tokeyTemplate. -
Uses of KeyTemplate in com.google.crypto.tink.tinkkey.internal
Methods in com.google.crypto.tink.tinkkey.internal that return KeyTemplate Modifier and Type Method Description KeyTemplateProtoKey. getKeyTemplate()
-