SymmetricKey.DecryptAsync 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.
public System.Threading.Tasks.Task<byte[]> DecryptAsync (byte[] ciphertext, byte[] iv, byte[] authenticationData = default, byte[] authenticationTag = default, string algorithm = default, System.Threading.CancellationToken token = default);
abstract member DecryptAsync : byte[] * byte[] * byte[] * byte[] * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<byte[]>
override this.DecryptAsync : byte[] * byte[] * byte[] * byte[] * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<byte[]>
Public Function DecryptAsync (ciphertext As Byte(), iv As Byte(), Optional authenticationData As Byte() = Nothing, Optional authenticationTag As Byte() = Nothing, Optional algorithm As String = Nothing, Optional token As CancellationToken = Nothing) As Task(Of Byte())
Parameters
- ciphertext
- Byte[]
- iv
- Byte[]
- authenticationData
- Byte[]
- authenticationTag
- Byte[]
- algorithm
- String
- token
- CancellationToken