SymmetricEncryptionAlgorithm Class
- java.
lang. Object - Algorithm
- EncryptionAlgorithm
- com.
microsoft. azure. keyvault. cryptography. SymmetricEncryptionAlgorithm
- com.
public class SymmetricEncryptionAlgorithm extends EncryptionAlgorithm
Abstract base class for all symmetric encryption algorithms.
Constructor Summary
Constructor | Description |
---|---|
SymmetricEncryptionAlgorithm(String name) |
Constructor. |
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract ICrypto |
CreateDecryptor(byte[] key, byte[] iv, byte[] authenticationData, byte[] authenticationTag)
Creates a ICryptoTransform implementation for decryption using the supplied initialization vector and the specific provider for the Java Security API. |
abstract ICrypto |
CreateDecryptor(byte[] key, byte[] iv, byte[] authenticationData, byte[] authenticationTag, Provider provider)
Creates a ICryptoTransform implementation for decryption using the supplied initialization vector and the specific provider for the Java Security API. |
abstract ICrypto |
CreateEncryptor(byte[] key, byte[] iv, byte[] authenticationData)
Creates a ICryptoTransform implementation for encryption using the supplied initialization vector and the specific provider for the Java Security API. |
abstract ICrypto |
CreateEncryptor(byte[] key, byte[] iv, byte[] authenticationData, Provider provider)
Creates a ICryptoTransform implementation for encryption using the supplied initialization vector and the specific provider for the Java Security API. |
Inherited Members
Constructor Details
SymmetricEncryptionAlgorithm
protected SymmetricEncryptionAlgorithm(String name)
Constructor.
Parameters:
Method Details
CreateDecryptor
public abstract ICryptoTransform CreateDecryptor(byte[] key, byte[] iv, byte[] authenticationData, byte[] authenticationTag)
Creates a ICryptoTransform implementation for decryption using the supplied initialization vector and the specific provider for the Java Security API.
Parameters:
Returns:
Throws:
CreateDecryptor
public abstract ICryptoTransform CreateDecryptor(byte[] key, byte[] iv, byte[] authenticationData, byte[] authenticationTag, Provider provider)
Creates a ICryptoTransform implementation for decryption using the supplied initialization vector and the specific provider for the Java Security API.
Parameters:
Returns:
Throws:
CreateEncryptor
public abstract ICryptoTransform CreateEncryptor(byte[] key, byte[] iv, byte[] authenticationData)
Creates a ICryptoTransform implementation for encryption using the supplied initialization vector and the specific provider for the Java Security API.
Parameters:
Returns:
Throws:
CreateEncryptor
public abstract ICryptoTransform CreateEncryptor(byte[] key, byte[] iv, byte[] authenticationData, Provider provider)
Creates a ICryptoTransform implementation for encryption using the supplied initialization vector and the specific provider for the Java Security API.
Parameters:
Returns:
Throws:
Applies to
Azure SDK for Java