Class AesKw128
- java.lang.Object
-
- com.microsoft.azure.keyvault.cryptography.Algorithm
-
- com.microsoft.azure.keyvault.cryptography.KeyWrapAlgorithm
-
- com.microsoft.azure.keyvault.cryptography.algorithms.AesKw
-
- com.microsoft.azure.keyvault.cryptography.algorithms.AesKw128
-
public final class AesKw128 extends AesKw
-
-
Field Summary
Fields Modifier and Type Field Description static StringALGORITHM_NAME
-
Constructor Summary
Constructors Constructor Description AesKw128()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ICryptoTransformCreateDecryptor(byte[] key, byte[] iv, Provider provider)Creates aICryptoTransformimplementation for decryption using the supplied initialization vector and the specific provider for the Java Security API.ICryptoTransformCreateEncryptor(byte[] key, byte[] iv, Provider provider)Creates aICryptoTransformimplementation for encryption using the supplied initialization vector and the specific provider for the Java Security API.-
Methods inherited from class com.microsoft.azure.keyvault.cryptography.algorithms.AesKw
CreateDecryptor, CreateDecryptor, CreateDecryptor, CreateEncryptor, CreateEncryptor, CreateEncryptor
-
-
-
-
Field Detail
-
ALGORITHM_NAME
public static final String ALGORITHM_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
CreateEncryptor
public ICryptoTransform CreateEncryptor(byte[] key, byte[] iv, Provider provider) throws InvalidKeyException, NoSuchAlgorithmException, NoSuchPaddingException, InvalidAlgorithmParameterException
Description copied from class:KeyWrapAlgorithmCreates aICryptoTransformimplementation for encryption using the supplied initialization vector and the specific provider for the Java Security API.- Overrides:
CreateEncryptorin classAesKw- Parameters:
key- The AES key material to be used.iv- The initialization vector to be used.provider- The provider to use.- Returns:
- A
ICryptoTransformimplementation - Throws:
InvalidKeyExceptionNoSuchAlgorithmExceptionNoSuchPaddingExceptionInvalidAlgorithmParameterException
-
CreateDecryptor
public ICryptoTransform CreateDecryptor(byte[] key, byte[] iv, Provider provider) throws InvalidKeyException, NoSuchAlgorithmException, NoSuchPaddingException, InvalidAlgorithmParameterException
Description copied from class:KeyWrapAlgorithmCreates aICryptoTransformimplementation for decryption using the supplied initialization vector and the specific provider for the Java Security API.- Overrides:
CreateDecryptorin classAesKw- Parameters:
key- The AES key material to be used.iv- The initialization vector to be used.provider- The provider to use.- Returns:
- A
ICryptoTransformimplementation - Throws:
InvalidKeyExceptionNoSuchAlgorithmExceptionNoSuchPaddingExceptionInvalidAlgorithmParameterException
-
-