Edit

Share via


SecKey.Decrypt Method

Definition

Overloads

Decrypt(SecPadding, Byte[], Byte[])
Decrypt(SecPadding, IntPtr, nint, IntPtr, nint)

Decrypt(SecPadding, Byte[], Byte[])

public Security.SecStatusCode Decrypt (Security.SecPadding padding, byte[] cipherText, out byte[] plainText);
member this.Decrypt : Security.SecPadding * byte[] *  -> Security.SecStatusCode

Parameters

padding
SecPadding
cipherText
Byte[]
plainText
Byte[]

Returns

Applies to

Decrypt(SecPadding, IntPtr, nint, IntPtr, nint)

public Security.SecStatusCode Decrypt (Security.SecPadding padding, IntPtr cipherText, nint cipherTextLen, IntPtr plainText, ref nint plainTextLen);
member this.Decrypt : Security.SecPadding * nativeint * nint * nativeint *  -> Security.SecStatusCode

Parameters

padding
SecPadding
cipherText
IntPtr

nativeint

cipherTextLen
System.System.IntPtr System.nativeint
plainText
IntPtr

nativeint

plainTextLen
System.System.IntPtr System.nativeint

Returns

Applies to