AsymmetricEncryptionAlgorithm Class
- java.
lang. Object - Algorithm
- EncryptionAlgorithm
- com.
microsoft. azure. keyvault. cryptography. AsymmetricEncryptionAlgorithm
- com.
public class AsymmetricEncryptionAlgorithm extends EncryptionAlgorithm
Abstract base class for all asymmetric encryption algorithms.
Constructor Summary
Constructor | Description |
---|---|
AsymmetricEncryptionAlgorithm(String name) |
Constructor. |
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract ICrypto |
CreateDecryptor(KeyPair keyPair)
Creates a ICryptoTransform implementation for decryption that uses the specified java.security.KeyPair and the default java.security.Provider provider. |
abstract ICrypto |
CreateDecryptor(KeyPair keyPair, Provider provider)
Creates a ICryptoTransform implementation for decryption that uses the specified java.security.KeyPair and java.security.Provider. |
abstract ICrypto |
CreateEncryptor(KeyPair keyPair)
Creates a ICryptoTransform implementation for encryption that uses the specified java.security.KeyPair and the default java.security.Provider provider. |
abstract ICrypto |
CreateEncryptor(KeyPair keyPair, Provider provider)
Creates a ICryptoTransform implementation for encryption that uses the specified java.security.KeyPair and java.security.Provider. |
Inherited Members
Constructor Details
AsymmetricEncryptionAlgorithm
protected AsymmetricEncryptionAlgorithm(String name)
Constructor.
Parameters:
Method Details
CreateDecryptor
public abstract ICryptoTransform CreateDecryptor(KeyPair keyPair)
Creates a ICryptoTransform implementation for decryption that uses the specified java.security.KeyPair and the default java.security.Provider provider.
Parameters:
Throws:
CreateDecryptor
public abstract ICryptoTransform CreateDecryptor(KeyPair keyPair, Provider provider)
Creates a ICryptoTransform implementation for decryption that uses the specified java.security.KeyPair and java.security.Provider.
Parameters:
Throws:
CreateEncryptor
public abstract ICryptoTransform CreateEncryptor(KeyPair keyPair)
Creates a ICryptoTransform implementation for encryption that uses the specified java.security.KeyPair and the default java.security.Provider provider.
Parameters:
Throws:
CreateEncryptor
public abstract ICryptoTransform CreateEncryptor(KeyPair keyPair, Provider provider)
Creates a ICryptoTransform implementation for encryption that uses the specified java.security.KeyPair and java.security.Provider.
Parameters:
Throws:
Applies to
Azure SDK for Java