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 StringALGORITHM_NAME
-
Constructor Summary
Constructors Constructor Description Rsa15()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ICryptoTransformCreateDecryptor(KeyPair keyPair)Creates aICryptoTransformimplementation for decryption that uses the specifiedKeyPairand the defaultProviderprovider.ICryptoTransformCreateDecryptor(KeyPair keyPair, Provider provider)Creates aICryptoTransformimplementation for decryption that uses the specifiedKeyPairandProvider.ICryptoTransformCreateEncryptor(KeyPair keyPair)Creates aICryptoTransformimplementation for encryption that uses the specifiedKeyPairand the defaultProviderprovider.ICryptoTransformCreateEncryptor(KeyPair keyPair, Provider provider)Creates aICryptoTransformimplementation for encryption that uses the specifiedKeyPairandProvider.
-
-
-
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:AsymmetricEncryptionAlgorithmCreates aICryptoTransformimplementation for encryption that uses the specifiedKeyPairand the defaultProviderprovider.- Specified by:
CreateEncryptorin classAsymmetricEncryptionAlgorithm- Parameters:
keyPair- The key pair to use.- Returns:
- Throws:
InvalidKeyExceptionNoSuchAlgorithmExceptionNoSuchPaddingException
-
CreateEncryptor
public ICryptoTransform CreateEncryptor(KeyPair keyPair, Provider provider) throws InvalidKeyException, NoSuchAlgorithmException, NoSuchPaddingException
Description copied from class:AsymmetricEncryptionAlgorithmCreates aICryptoTransformimplementation for encryption that uses the specifiedKeyPairandProvider.- Specified by:
CreateEncryptorin classAsymmetricEncryptionAlgorithm- Parameters:
keyPair- The key pair to use.provider- The provider to use.- Returns:
- Throws:
InvalidKeyExceptionNoSuchAlgorithmExceptionNoSuchPaddingException
-
CreateDecryptor
public ICryptoTransform CreateDecryptor(KeyPair keyPair) throws InvalidKeyException, NoSuchAlgorithmException, NoSuchPaddingException
Description copied from class:AsymmetricEncryptionAlgorithmCreates aICryptoTransformimplementation for decryption that uses the specifiedKeyPairand the defaultProviderprovider.- Specified by:
CreateDecryptorin classAsymmetricEncryptionAlgorithm- Parameters:
keyPair- The key pair to use.- Returns:
- Throws:
InvalidKeyExceptionNoSuchAlgorithmExceptionNoSuchPaddingException
-
CreateDecryptor
public ICryptoTransform CreateDecryptor(KeyPair keyPair, Provider provider) throws InvalidKeyException, NoSuchAlgorithmException, NoSuchPaddingException
Description copied from class:AsymmetricEncryptionAlgorithmCreates aICryptoTransformimplementation for decryption that uses the specifiedKeyPairandProvider.- Specified by:
CreateDecryptorin classAsymmetricEncryptionAlgorithm- Parameters:
keyPair- The key pair to use.provider- The provider to use.- Returns:
- Throws:
InvalidKeyExceptionNoSuchAlgorithmExceptionNoSuchPaddingException
-
-