public final class AesKw256 extends AesKw
| Modifier and Type | Field and Description |
|---|---|
static String |
ALGORITHM_NAME |
| Constructor and Description |
|---|
AesKw256() |
| Modifier and Type | Method and Description |
|---|---|
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. |
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. |
CreateDecryptor, CreateDecryptor, CreateDecryptor, CreateEncryptor, CreateEncryptor, CreateEncryptorpublic static final String ALGORITHM_NAME
public ICryptoTransform CreateEncryptor(byte[] key, byte[] iv, Provider provider) throws InvalidKeyException, NoSuchAlgorithmException, NoSuchPaddingException, InvalidAlgorithmParameterException
KeyWrapAlgorithmICryptoTransform implementation for encryption
using the supplied initialization vector and the specific provider for the Java Security API.CreateEncryptor in class AesKwkey - The AES key material to be used.iv - The initialization vector to be used.provider - The provider to use.ICryptoTransform implementationInvalidKeyExceptionNoSuchAlgorithmExceptionNoSuchPaddingExceptionInvalidAlgorithmParameterExceptionpublic ICryptoTransform CreateDecryptor(byte[] key, byte[] iv, Provider provider) throws InvalidKeyException, NoSuchAlgorithmException, NoSuchPaddingException, InvalidAlgorithmParameterException
KeyWrapAlgorithmICryptoTransform implementation for decryption
using the supplied initialization vector and the specific provider for the Java Security API.CreateDecryptor in class AesKwkey - The AES key material to be used.iv - The initialization vector to be used.provider - The provider to use.ICryptoTransform implementationInvalidKeyExceptionNoSuchAlgorithmExceptionNoSuchPaddingExceptionInvalidAlgorithmParameterException/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/