Uses of Class
com.amazonaws.encryptionsdk.MasterKey
-
Packages that use MasterKey Package Description com.amazonaws.encryptionsdk ContainsAwsCrypto, the primary entry-point to the Aws Encryption SDK.com.amazonaws.encryptionsdk.internal Contains the internal classes that handle the cryptographic defined by the message formats and algorithms.com.amazonaws.encryptionsdk.jce com.amazonaws.encryptionsdk.kms Contains logic necessary to createMasterKeys backed by AWS KMS keys.com.amazonaws.encryptionsdk.kmssdkv2 Contains logic necessary to createMasterKeys backed by AWS KMS keys.com.amazonaws.encryptionsdk.model Contains the classes that implement the defined message format for storing the encrypted content and the data key.com.amazonaws.encryptionsdk.multi Contains logic necessary to createMasterKeyProviders which are backed by multipleMasterKeyProviders. -
-
Uses of MasterKey in com.amazonaws.encryptionsdk
Classes in com.amazonaws.encryptionsdk with type parameters of type MasterKey Modifier and Type Class Description classCryptoInputStream<K extends MasterKey<K>>A CryptoInputStream is a subclass of java.io.InputStream.classCryptoOutputStream<K extends MasterKey<K>>A CryptoOutputStream is a subclass of java.io.OutputStream.classCryptoResult<T,K extends MasterKey<K>>Represents the result of an operation byAwsCrypto.classDataKey<M extends MasterKey<M>>Represents both the cleartext and encrypted bytes of a data key.classMasterKey<K extends MasterKey<K>>Represents the cryptographic key used to protect theDataKey(which, in turn, protects the data).classMasterKeyProvider<K extends MasterKey<K>>Represents the logic necessary to select and constructMasterKeys for encrypting and decrypting messages.Methods in com.amazonaws.encryptionsdk with type parameters of type MasterKey Modifier and Type Method Description <K extends MasterKey<K>>
CryptoInputStream<K>AwsCrypto. createDecryptingStream(MasterKeyProvider<K> provider, InputStream is)Deprecated.<K extends MasterKey<K>>
CryptoOutputStream<K>AwsCrypto. createDecryptingStream(MasterKeyProvider<K> provider, OutputStream os)Deprecated.<K extends MasterKey<K>>
CryptoInputStream<K>AwsCrypto. createDecryptingStream(software.amazon.cryptography.materialproviders.IKeyring keyring, InputStream is)Returns aCryptoInputStreamwhich decrypts the data after reading it from the underlyingInputStream.<K extends MasterKey<K>>
CryptoInputStream<K>AwsCrypto. createDecryptingStream(software.amazon.cryptography.materialproviders.IKeyring keyring, InputStream is, Map<String,String> encryptionContext)Returns aCryptoInputStreamwhich decrypts the data after reading it from the underlyingInputStream.<K extends MasterKey<K>>
CryptoOutputStream<K>AwsCrypto. createDecryptingStream(software.amazon.cryptography.materialproviders.IKeyring keyring, OutputStream os)Returns aCryptoOutputStreamwhich decrypts the data prior to passing it onto the underlyingOutputStream.<K extends MasterKey<K>>
CryptoOutputStream<K>AwsCrypto. createDecryptingStream(software.amazon.cryptography.materialproviders.IKeyring keyring, OutputStream os, Map<String,String> encryptionContext)Returns aCryptoOutputStreamwhich decrypts the data prior to passing it onto the underlyingOutputStream.<K extends MasterKey<K>>
CryptoInputStream<K>AwsCrypto. createEncryptingStream(MasterKeyProvider<K> provider, InputStream is)Deprecated.<K extends MasterKey<K>>
CryptoInputStream<K>AwsCrypto. createEncryptingStream(MasterKeyProvider<K> provider, InputStream is, Map<String,String> encryptionContext)Deprecated.<K extends MasterKey<K>>
CryptoOutputStream<K>AwsCrypto. createEncryptingStream(MasterKeyProvider<K> provider, OutputStream os)Deprecated.<K extends MasterKey<K>>
CryptoOutputStream<K>AwsCrypto. createEncryptingStream(MasterKeyProvider<K> provider, OutputStream os, Map<String,String> encryptionContext)Deprecated.<K extends MasterKey<K>>
CryptoInputStream<K>AwsCrypto. createEncryptingStream(software.amazon.cryptography.materialproviders.IKeyring keyring, InputStream is)Returns the equivalent to callingAwsCrypto.createEncryptingStream(MasterKeyProvider, InputStream, Map)with an emptyencryptionContext.<K extends MasterKey<K>>
CryptoInputStream<K>AwsCrypto. createEncryptingStream(software.amazon.cryptography.materialproviders.IKeyring keyring, InputStream is, Map<String,String> encryptionContext)Returns aCryptoInputStreamwhich encrypts the data after reading it from the underlyingInputStream.<K extends MasterKey<K>>
CryptoOutputStream<K>AwsCrypto. createEncryptingStream(software.amazon.cryptography.materialproviders.IKeyring keyring, OutputStream os)Returns the equivalent to callingAwsCrypto.createEncryptingStream(IKeyring, OutputStream, Map)with an emptyencryptionContext.<K extends MasterKey<K>>
CryptoOutputStream<K>AwsCrypto. createEncryptingStream(software.amazon.cryptography.materialproviders.IKeyring keyring, OutputStream os, Map<String,String> encryptionContext)Returns aCryptoOutputStreamwhich encrypts the data prior to passing it onto the underlyingOutputStream.<K extends MasterKey<K>>
CryptoInputStream<K>AwsCrypto. createUnsignedMessageDecryptingStream(MasterKeyProvider<K> provider, InputStream is)Deprecated.<K extends MasterKey<K>>
CryptoOutputStream<K>AwsCrypto. createUnsignedMessageDecryptingStream(MasterKeyProvider<K> provider, OutputStream os)Deprecated.<K extends MasterKey<K>>
CryptoInputStream<K>AwsCrypto. createUnsignedMessageDecryptingStream(software.amazon.cryptography.materialproviders.IKeyring keyring, InputStream is)Returns aCryptoInputStreamwhich decrypts the data after reading it from the underlyingInputStream.<K extends MasterKey<K>>
CryptoInputStream<K>AwsCrypto. createUnsignedMessageDecryptingStream(software.amazon.cryptography.materialproviders.IKeyring keyring, InputStream is, Map<String,String> encryptionContext)Returns aCryptoInputStreamwhich decrypts the data after reading it from the underlyingInputStream.<K extends MasterKey<K>>
CryptoOutputStream<K>AwsCrypto. createUnsignedMessageDecryptingStream(software.amazon.cryptography.materialproviders.IKeyring keyring, OutputStream os)Returns aCryptoOutputStreamwhich decrypts the data prior to passing it onto the underlyingOutputStream.<K extends MasterKey<K>>
CryptoOutputStream<K>AwsCrypto. createUnsignedMessageDecryptingStream(software.amazon.cryptography.materialproviders.IKeyring keyring, OutputStream os, Map<String,String> encryptionContext)Returns aCryptoOutputStreamwhich decrypts the data prior to passing it onto the underlyingOutputStream.<K extends MasterKey<K>>
CryptoResult<byte[],K>AwsCrypto. decryptData(MasterKeyProvider<K> provider, byte[] ciphertext)Deprecated.<K extends MasterKey<K>>
CryptoResult<byte[],K>AwsCrypto. decryptData(MasterKeyProvider<K> provider, ParsedCiphertext ciphertext)Deprecated.<K extends MasterKey<K>>
CryptoResult<String,K>AwsCrypto. decryptString(MasterKeyProvider<K> provider, String ciphertext)Deprecated.Use theAwsCrypto.decryptData(MasterKeyProvider, byte[])andAwsCrypto.encryptData(MasterKeyProvider, byte[], Map)APIs instead.<K extends MasterKey<K>>
CryptoResult<byte[],K>AwsCrypto. encryptData(MasterKeyProvider<K> provider, byte[] plaintext)Deprecated.<K extends MasterKey<K>>
CryptoResult<byte[],K>AwsCrypto. encryptData(MasterKeyProvider<K> provider, byte[] plaintext, Map<String,String> encryptionContext)Deprecated.<K extends MasterKey<K>>
CryptoResult<byte[],?>AwsCrypto. encryptData(software.amazon.cryptography.materialproviders.IKeyring keyring, byte[] plaintext)Returns the equivalent to callingAwsCrypto.encryptData(IKeyring, byte[], Map)with an emptyencryptionContext.<K extends MasterKey<K>>
CryptoResult<String,K>AwsCrypto. encryptString(MasterKeyProvider<K> provider, String plaintext)Deprecated.Use theAwsCrypto.encryptData(MasterKeyProvider, byte[])andAwsCrypto.decryptData(MasterKeyProvider, byte[])APIs instead.<K extends MasterKey<K>>
CryptoResult<String,K>AwsCrypto. encryptString(MasterKeyProvider<K> provider, String plaintext, Map<String,String> encryptionContext)Deprecated.Use theAwsCrypto.encryptData(MasterKeyProvider, byte[], Map)andAwsCrypto.decryptData(MasterKeyProvider, byte[])APIs instead.<K extends MasterKey<K>>
longAwsCrypto. estimateCiphertextSize(MasterKeyProvider<K> provider, int plaintextSize)Deprecated.<K extends MasterKey<K>>
longAwsCrypto. estimateCiphertextSize(MasterKeyProvider<K> provider, int plaintextSize, Map<String,String> encryptionContext)Deprecated.<K extends MasterKey<K>>
longAwsCrypto. estimateCiphertextSize(software.amazon.cryptography.materialproviders.IKeyring keyring, int plaintextSize)Returns the equivalent to callingAwsCrypto.estimateCiphertextSize(IKeyring, int, Map)with an emptyencryptionContext.<K extends MasterKey<K>>
longAwsCrypto. estimateCiphertextSize(software.amazon.cryptography.materialproviders.IKeyring keyring, int plaintextSize, Map<String,String> encryptionContext)Returns the best estimate for the output length of encrypting a plaintext with the providedplaintextSizeandencryptionContext. -
Uses of MasterKey in com.amazonaws.encryptionsdk.internal
Classes in com.amazonaws.encryptionsdk.internal with type parameters of type MasterKey Modifier and Type Class Description classDecryptionHandler<K extends MasterKey<K>>This class implements the CryptoHandler interface by providing methods for the decryption of ciphertext produced by the methods inEncryptionHandler.Methods in com.amazonaws.encryptionsdk.internal with type parameters of type MasterKey Modifier and Type Method Description static <K extends MasterKey<K>>
DecryptionHandler<K>DecryptionHandler. create(MasterKeyProvider<K> customerMasterKeyProvider, CommitmentPolicy commitmentPolicy, SignaturePolicy signaturePolicy, int maxEncryptedDataKeys)Create a decryption handler using the provided master key.static <K extends MasterKey<K>>
DecryptionHandler<K>DecryptionHandler. create(MasterKeyProvider<K> customerMasterKeyProvider, CiphertextHeaders headers, CommitmentPolicy commitmentPolicy, SignaturePolicy signaturePolicy, int maxEncryptedDataKeys)Deprecated.This version may have to recalculate the number of bytes already parsed, which adds a performance penalty.static <K extends MasterKey<K>>
DecryptionHandler<K>DecryptionHandler. create(MasterKeyProvider<K> customerMasterKeyProvider, ParsedCiphertext headers, CommitmentPolicy commitmentPolicy, SignaturePolicy signaturePolicy, int maxEncryptedDataKeys)Create a decryption handler using the provided master key and already parsedheaders.Methods in com.amazonaws.encryptionsdk.internal that return types with arguments of type MasterKey Modifier and Type Method Description List<? extends MasterKey<?>>EncryptionHandler. getMasterKeys()List<? extends MasterKey<?>>LazyMessageCryptoHandler. getMasterKeys()List<? extends MasterKey<?>>MessageCryptoHandler. getMasterKeys()All usedMasterKeys. -
Uses of MasterKey in com.amazonaws.encryptionsdk.jce
Subclasses of MasterKey in com.amazonaws.encryptionsdk.jce Modifier and Type Class Description classJceMasterKey -
Uses of MasterKey in com.amazonaws.encryptionsdk.kms
Subclasses of MasterKey in com.amazonaws.encryptionsdk.kms Modifier and Type Class Description classAwsKmsMrkAwareMasterKeyRepresents a single Aws KMS key and is used to encrypt/decrypt data withAwsCrypto.classKmsMasterKeyRepresents a single Customer Master Key (CMK) and is used to encrypt/decrypt data withAwsCrypto. -
Uses of MasterKey in com.amazonaws.encryptionsdk.kmssdkv2
Subclasses of MasterKey in com.amazonaws.encryptionsdk.kmssdkv2 Modifier and Type Class Description classAwsKmsMrkAwareMasterKeyRepresents a single Aws KMS key and is used to encrypt/decrypt data withAwsCrypto.classKmsMasterKeyRepresents a single Customer Master Key (CMK) and is used to encrypt/decrypt data withAwsCrypto. -
Uses of MasterKey in com.amazonaws.encryptionsdk.model
Methods in com.amazonaws.encryptionsdk.model that return types with arguments of type MasterKey Modifier and Type Method Description List<MasterKey>EncryptionMaterials.Builder. getMasterKeys()Deprecated.List<MasterKey>EncryptionMaterials. getMasterKeys()Deprecated.List<MasterKey>EncryptionMaterialsHandler. getMasterKeys()Deprecated.Method parameters in com.amazonaws.encryptionsdk.model with type arguments of type MasterKey Modifier and Type Method Description EncryptionMaterials.BuilderEncryptionMaterials.Builder. setMasterKeys(List<MasterKey> masterKeys) -
Uses of MasterKey in com.amazonaws.encryptionsdk.multi
Methods in com.amazonaws.encryptionsdk.multi with type parameters of type MasterKey Modifier and Type Method Description static <K extends MasterKey<K>>
MasterKeyProvider<K>MultipleProviderFactory. buildMultiProvider(Class<K> masterKeyClass, List<? extends MasterKeyProvider<? extends K>> providers)static <K extends MasterKey<K>,P extends MasterKeyProvider<? extends K>>
MasterKeyProvider<K>MultipleProviderFactory. buildMultiProvider(Class<K> masterKeyClass, P... providers)
-