Class Rsa15
- java.lang.Object
-
- com.microsoft.azure.keyvault.cryptography.Algorithm
-
- com.microsoft.azure.keyvault.cryptography.EncryptionAlgorithm
-
- com.microsoft.azure.keyvault.cryptography.AsymmetricEncryptionAlgorithm
-
- com.microsoft.azure.keyvault.cryptography.algorithms.RsaEncryption
-
- com.microsoft.azure.keyvault.cryptography.algorithms.Rsa15
-
public final class Rsa15 extends RsaEncryption
-
-
Field Summary
Fields Modifier and Type Field Description static String
ALGORITHM_NAME
-
Constructor Summary
Constructors Constructor Description Rsa15()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ICryptoTransform
CreateDecryptor(KeyPair keyPair)
Creates aICryptoTransform
implementation for decryption that uses the specifiedKeyPair
and the defaultProvider
provider.ICryptoTransform
CreateDecryptor(KeyPair keyPair, Provider provider)
Creates aICryptoTransform
implementation for decryption that uses the specifiedKeyPair
andProvider
.ICryptoTransform
CreateEncryptor(KeyPair keyPair)
Creates aICryptoTransform
implementation for encryption that uses the specifiedKeyPair
and the defaultProvider
provider.ICryptoTransform
CreateEncryptor(KeyPair keyPair, Provider provider)
Creates aICryptoTransform
implementation for encryption that uses the specifiedKeyPair
andProvider
.
-
-
-
Field Detail
-
ALGORITHM_NAME
public static final String ALGORITHM_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
CreateEncryptor
public ICryptoTransform CreateEncryptor(KeyPair keyPair) throws InvalidKeyException, NoSuchAlgorithmException, NoSuchPaddingException
Description copied from class:AsymmetricEncryptionAlgorithm
Creates aICryptoTransform
implementation for encryption that uses the specifiedKeyPair
and the defaultProvider
provider.- Specified by:
CreateEncryptor
in classAsymmetricEncryptionAlgorithm
- Parameters:
keyPair
- The key pair to use.- Returns:
- Throws:
InvalidKeyException
NoSuchAlgorithmException
NoSuchPaddingException
-
CreateEncryptor
public ICryptoTransform CreateEncryptor(KeyPair keyPair, Provider provider) throws InvalidKeyException, NoSuchAlgorithmException, NoSuchPaddingException
Description copied from class:AsymmetricEncryptionAlgorithm
Creates aICryptoTransform
implementation for encryption that uses the specifiedKeyPair
andProvider
.- Specified by:
CreateEncryptor
in classAsymmetricEncryptionAlgorithm
- Parameters:
keyPair
- The key pair to use.provider
- The provider to use.- Returns:
- Throws:
InvalidKeyException
NoSuchAlgorithmException
NoSuchPaddingException
-
CreateDecryptor
public ICryptoTransform CreateDecryptor(KeyPair keyPair) throws InvalidKeyException, NoSuchAlgorithmException, NoSuchPaddingException
Description copied from class:AsymmetricEncryptionAlgorithm
Creates aICryptoTransform
implementation for decryption that uses the specifiedKeyPair
and the defaultProvider
provider.- Specified by:
CreateDecryptor
in classAsymmetricEncryptionAlgorithm
- Parameters:
keyPair
- The key pair to use.- Returns:
- Throws:
InvalidKeyException
NoSuchAlgorithmException
NoSuchPaddingException
-
CreateDecryptor
public ICryptoTransform CreateDecryptor(KeyPair keyPair, Provider provider) throws InvalidKeyException, NoSuchAlgorithmException, NoSuchPaddingException
Description copied from class:AsymmetricEncryptionAlgorithm
Creates aICryptoTransform
implementation for decryption that uses the specifiedKeyPair
andProvider
.- Specified by:
CreateDecryptor
in classAsymmetricEncryptionAlgorithm
- Parameters:
keyPair
- The key pair to use.provider
- The provider to use.- Returns:
- Throws:
InvalidKeyException
NoSuchAlgorithmException
NoSuchPaddingException
-
-