Uses of Interface
com.google.crypto.tink.Aead
-
-
Uses of Aead in com.google.crypto.tink
Methods in com.google.crypto.tink that return Aead Modifier and Type Method Description AeadKmsClient. getAead(java.lang.String keyUri)Gets anAeadbacked bykeyUri.Methods in com.google.crypto.tink with parameters of type Aead Modifier and Type Method Description static KeysetHandleLegacyKeysetSerialization. parseEncryptedKeyset(KeysetReader reader, Aead aead, byte[] associatedData)Parse an encrypted keyset from the reader.static KeysetHandleTinkJsonProtoKeysetFormat. parseEncryptedKeyset(java.lang.String serializedEncryptedKeyset, Aead keysetEncryptionAead, byte[] associatedData)static KeysetHandleTinkProtoKeysetFormat. parseEncryptedKeyset(byte[] serializedEncryptedKeyset, Aead keysetEncryptionAead, byte[] associatedData)static KeysetHandleKeysetHandle. read(KeysetReader reader, Aead masterKey)Deprecated.New users should prefer TinkProtoKeysetFormat.static KeysetHandleKeysetHandle. readWithAssociatedData(KeysetReader reader, Aead masterKey, byte[] associatedData)Deprecated.New users should prefer TinkProtoKeysetFormat.static voidLegacyKeysetSerialization. serializeEncryptedKeyset(KeysetHandle keysetHandle, KeysetWriter writer, Aead aead, byte[] associatedData)Serialize a keyset in an encrypted format to the writer.static java.lang.StringTinkJsonProtoKeysetFormat. serializeEncryptedKeyset(KeysetHandle keysetHandle, Aead keysetEncryptionAead, byte[] associatedData)static byte[]TinkProtoKeysetFormat. serializeEncryptedKeyset(KeysetHandle keysetHandle, Aead keysetEncryptionAead, byte[] associatedData)voidKeysetHandle. write(KeysetWriter keysetWriter, Aead masterKey)Deprecated.New users should prefer TinkProtoKeysetFormat.voidKeysetHandle. writeWithAssociatedData(KeysetWriter keysetWriter, Aead masterKey, byte[] associatedData)Deprecated.New users should prefer TinkProtoKeysetFormat. -
Uses of Aead in com.google.crypto.tink.aead
Classes in com.google.crypto.tink.aead that implement Aead Modifier and Type Class Description classKmsEnvelopeAeadThis primitive implements envelope encryption.Methods in com.google.crypto.tink.aead that return Aead Modifier and Type Method Description static AeadKmsEnvelopeAead. create(AeadParameters dekParameters, Aead remote)Creates a new instance of Tink's KMS Envelope AEAD.static AeadAeadFactory. getPrimitive(KeysetHandle keysetHandle)Deprecated.UsekeysetHandle.getPrimitive(RegistryConfiguration.get(), Aead.class)after registering theAeadWrapperinstead.AeadAeadWrapper. wrap(KeysetHandleInterface keysetHandle, MonitoringAnnotations annotations, PrimitiveWrapper.PrimitiveFactory<Aead> factory)Methods in com.google.crypto.tink.aead that return types with arguments of type Aead Modifier and Type Method Description java.lang.Class<Aead>AeadWrapper. getInputPrimitiveClass()java.lang.Class<Aead>AeadWrapper. getPrimitiveClass()Methods in com.google.crypto.tink.aead with parameters of type Aead Modifier and Type Method Description static AeadKmsEnvelopeAead. create(AeadParameters dekParameters, Aead remote)Creates a new instance of Tink's KMS Envelope AEAD.Method parameters in com.google.crypto.tink.aead with type arguments of type Aead Modifier and Type Method Description AeadAeadWrapper. wrap(KeysetHandleInterface keysetHandle, MonitoringAnnotations annotations, PrimitiveWrapper.PrimitiveFactory<Aead> factory)Constructors in com.google.crypto.tink.aead with parameters of type Aead Constructor Description KmsEnvelopeAead(com.google.crypto.tink.proto.KeyTemplate dekTemplate, Aead remote)Deprecated.Instead, callKmsEnvelopeAead.createas explained above. -
Uses of Aead in com.google.crypto.tink.aead.internal
Classes in com.google.crypto.tink.aead.internal that implement Aead Modifier and Type Class Description classAesGcmSivThis primitive implements AES-GCM-SIV (as defined in RFC 8452) using JCE.classChaCha20Poly1305JceChaCha20Poly1305Jce implements an AEAD for ChaCha20Poly1305, as described in RFC 8439, section 2.8.classLegacyFullAeadTakes an arbitrary raw AEAD and makes it a full primitive.classXAesGcmThis primitive implements XAesGcm.classXChaCha20Poly1305JceChaCha20Poly1305Jce implements an AEAD for ChaCha20Poly1305, as described in RFC 8439, section 2.8.Methods in com.google.crypto.tink.aead.internal that return Aead Modifier and Type Method Description static AeadAesGcmSiv. create(AesGcmSivKey key, AesGcmSiv.ThrowingSupplier<javax.crypto.Cipher> cipherSupplier)Creates an Aead for AES GCM SIV.static AeadChaCha20Poly1305Jce. create(ChaCha20Poly1305Key key)static AeadLegacyFullAead. create(Aead rawAead, Bytes outputPrefix)static AeadLegacyFullAead. create(LegacyProtoKey key)This method covers the cases where users created their own aead/key classes.static AeadXAesGcm. create(XAesGcmKey key)static AeadXChaCha20Poly1305Jce. create(XChaCha20Poly1305Key key)Methods in com.google.crypto.tink.aead.internal with parameters of type Aead Modifier and Type Method Description static AeadLegacyFullAead. create(Aead rawAead, Bytes outputPrefix) -
Uses of Aead in com.google.crypto.tink.aead.subtle
Classes in com.google.crypto.tink.aead.subtle that implement Aead Modifier and Type Class Description classAesGcmSivThis primitive implements AES-GCM-SIV (as defined in RFC 8452) using JCE.Methods in com.google.crypto.tink.aead.subtle that return Aead Modifier and Type Method Description static AeadAesGcmSiv. create(AesGcmSivKey key)AeadAeadFactory. createAead(byte[] symmetricKey)Creates a newAead-primitive that uses the key material given insymmetricKey, which must be of lengthAeadFactory.getKeySizeInBytes().AeadAesGcmFactory. createAead(byte[] symmetricKey) -
Uses of Aead in com.google.crypto.tink.integration.android
Classes in com.google.crypto.tink.integration.android that implement Aead Modifier and Type Class Description classAndroidKeystoreAesGcmAnAeadthat does AES-GCM encryption with a key stored in Android Keystore.Methods in com.google.crypto.tink.integration.android that return Aead Modifier and Type Method Description static AeadAndroidKeystore. getAead(java.lang.String alias)Returns anAeadbacked by a key in Android Keystore specified byalias.AeadAndroidKeystoreKmsClient. getAead(java.lang.String uri)Returns anAeadbacked by a key in Android Keystore specified byuri.static AeadAndroidKeystoreKmsClient. getOrGenerateNewAeadKey(java.lang.String keyUri)Generates a new key in Android Keystore, if it doesn't exist. -
Uses of Aead in com.google.crypto.tink.subtle
Classes in com.google.crypto.tink.subtle that implement Aead Modifier and Type Class Description classAesEaxJceThis class implements the EAX mode using AES.classAesGcmJceThis primitive implements AesGcm using JCE.classChaCha20Poly1305ChaCha20Poly1305 AEAD construction, as described in RFC 8439, section 2.8.classEncryptThenAuthenticateThis primitive performs an encrypt-then-Mac operation on plaintext and associated data (ad).classXChaCha20Poly1305XChaCha20Poly1305 AEAD construction, as described in https://tools.ietf.org/html/draft-arciszewski-xchacha-01.Methods in com.google.crypto.tink.subtle that return Aead Modifier and Type Method Description static AeadAesEaxJce. create(AesEaxKey key)static AeadAesGcmJce. create(AesGcmKey key)static AeadChaCha20Poly1305. create(ChaCha20Poly1305Key key)static AeadEncryptThenAuthenticate. create(AesCtrHmacAeadKey key)Create an AES CTR HMAC instance.static AeadXChaCha20Poly1305. create(XChaCha20Poly1305Key key)static AeadEncryptThenAuthenticate. newAesCtrHmac(byte[] aesCtrKey, int ivSize, java.lang.String hmacAlgorithm, byte[] hmacKey, int tagSize)Returns a newEncryptThenAuthenticateinstance using AES-CTR and HMAC.
-