CryptographyClient.CreateRSAAsync(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates an RSA implementation backed by this CryptographyClient.
public virtual System.Threading.Tasks.Task<Azure.Security.KeyVault.Keys.Cryptography.RSAKeyVault> CreateRSAAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member CreateRSAAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Security.KeyVault.Keys.Cryptography.RSAKeyVault>
override this.CreateRSAAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Security.KeyVault.Keys.Cryptography.RSAKeyVault>
Public Overridable Function CreateRSAAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of RSAKeyVault)
Parameters
- cancellationToken
- CancellationToken
A CancellationToken to cancel this operation.
Returns
An RSAKeyVault implementation backed by this CryptographyClient.
Exceptions
The server returned an error. See Message for details returned from the server.
Remarks
The CryptographyClient will attempt to download the public key asynchronously.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET