다음을 통해 공유


SecKey.Encrypt 메서드

정의

오버로드

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

Encrypt(SecPadding, Byte[], Byte[])

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

매개 변수

padding
SecPadding
plainText
Byte[]
cipherText
Byte[]

반환

적용 대상

Encrypt(SecPadding, IntPtr, nint, IntPtr, nint)

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

매개 변수

padding
SecPadding
plainText
IntPtr

nativeint

plainTextLen
System.System.IntPtr System.nativeint
cipherText
IntPtr

nativeint

cipherTextLen
System.System.IntPtr System.nativeint

반환

적용 대상

Encrypt(SecPadding, Byte[], Byte[])

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

매개 변수

padding
SecPadding
plainText
Byte[]
cipherText
Byte[]

반환

적용 대상