你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

RsaKey.EncryptAsync(Byte[], Byte[], Byte[], String, CancellationToken) 方法

定义

public System.Threading.Tasks.Task<Tuple<byte[],byte[],string>> EncryptAsync (byte[] plaintext, byte[] iv = default, byte[] authenticationData = default, string algorithm = "RSA-OAEP", System.Threading.CancellationToken token = default);
abstract member EncryptAsync : byte[] * byte[] * byte[] * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<byte[] * byte[] * string>
override this.EncryptAsync : byte[] * byte[] * byte[] * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<byte[] * byte[] * string>
Public Function EncryptAsync (plaintext As Byte(), Optional iv As Byte() = Nothing, Optional authenticationData As Byte() = Nothing, Optional algorithm As String = "RSA-OAEP", Optional token As CancellationToken = Nothing) As Task(Of Tuple(Of Byte(), Byte(), String))

参数

plaintext
Byte[]
iv
Byte[]
authenticationData
Byte[]
algorithm
String

返回

实现

适用于