KeyWrapAlgorithm Class
- java.
lang. Object - Algorithm
- com.
microsoft. azure. keyvault. cryptography. KeyWrapAlgorithm
- com.
public class KeyWrapAlgorithm extends Algorithm
Abstract base class for all key wrap algorithms.
Constructor Summary
Constructor | Description |
---|---|
KeyWrapAlgorithm(String name) |
Constructor. |
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract ICrypto |
CreateDecryptor(byte[] key)
Creates a ICryptoTransform implementation for decryption. Uses the default AES-KW initialization vector. |
abstract ICrypto |
CreateDecryptor(byte[] key, byte[] iv)
Creates a ICryptoTransform implementation for decryption using the supplied initialization vector. |
abstract ICrypto |
CreateDecryptor(byte[] key, byte[] iv, Provider provider)
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, Provider provider)
Creates a ICryptoTransform implementation for decryption that uses the specified provider for the Java Security API. Uses the default AES-KW initialization vector. |
abstract ICrypto |
CreateEncryptor(byte[] key)
Creates a ICryptoTransform implementation for encryption. Uses the default AES-KW initialization vector. |
abstract ICrypto |
CreateEncryptor(byte[] key, byte[] iv)
Creates a ICryptoTransform implementation for encryption using the supplied initialization vector. |
abstract ICrypto |
CreateEncryptor(byte[] key, byte[] iv, Provider provider)
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, Provider provider)
Creates a ICryptoTransform implementation for encryption that uses the specified provider for the Java Security API. Uses the default AES-KW initialization vector. |
Inherited Members
Constructor Details
KeyWrapAlgorithm
protected KeyWrapAlgorithm(String name)
Constructor.
Parameters:
Method Details
CreateDecryptor
public abstract ICryptoTransform CreateDecryptor(byte[] key)
Creates a ICryptoTransform implementation for decryption. Uses the default AES-KW initialization vector.
Parameters:
Returns:
Throws:
CreateDecryptor
public abstract ICryptoTransform CreateDecryptor(byte[] key, byte[] iv)
Creates a ICryptoTransform implementation for decryption using the supplied initialization vector.
Parameters:
Returns:
Throws:
CreateDecryptor
public abstract ICryptoTransform CreateDecryptor(byte[] key, byte[] iv, 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:
CreateDecryptor
public abstract ICryptoTransform CreateDecryptor(byte[] key, Provider provider)
Creates a ICryptoTransform implementation for decryption that uses the specified provider for the Java Security API. Uses the default AES-KW initialization vector.
Parameters:
Returns:
Throws:
CreateEncryptor
public abstract ICryptoTransform CreateEncryptor(byte[] key)
Creates a ICryptoTransform implementation for encryption. Uses the default AES-KW initialization vector.
Parameters:
Returns:
Throws:
CreateEncryptor
public abstract ICryptoTransform CreateEncryptor(byte[] key, byte[] iv)
Creates a ICryptoTransform implementation for encryption using the supplied initialization vector.
Parameters:
Returns:
Throws:
CreateEncryptor
public abstract ICryptoTransform CreateEncryptor(byte[] key, byte[] iv, 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:
CreateEncryptor
public abstract ICryptoTransform CreateEncryptor(byte[] key, Provider provider)
Creates a ICryptoTransform implementation for encryption that uses the specified provider for the Java Security API. Uses the default AES-KW initialization vector.
Parameters:
Returns:
Throws:
Applies to
Azure SDK for Java