C# 클래스 MonoMac.Security.SecKey

상속: INativeObject, IDisposable
파일 보기 프로젝트 열기: kangaroo/maccore 1 사용 예제들

Private Properties

프로퍼티 타입 설명
GetTypeID int
RawSign SecStatusCode
RawSign SecStatusCode
SecKey System
SecKey System
SecKeyDecrypt SecStatusCode
SecKeyEncrypt SecStatusCode
SecKeyGeneratePair SecStatusCode
SecKeyGetBlockSize System.IntPtr
SecKeyRawSign SecStatusCode
SecKeyRawVerify SecStatusCode

공개 메소드들

메소드 설명
Decrypt ( SecPadding padding, IntPtr cipherText, int cipherLen, IntPtr plainText, int playLen ) : SecStatusCode
Decrypt ( SecPadding padding, byte cipherText, byte plainText ) : SecStatusCode
Dispose ( ) : void
Dispose ( bool disposing ) : void
Encrypt ( SecPadding padding, IntPtr plainText, int playLen, IntPtr cipherText, int cipherLen ) : SecStatusCode
Encrypt ( SecPadding padding, byte plainText, byte cipherText ) : SecStatusCode
GenerateKeyPair ( NSDictionary parameters, SecKey &publicKey, SecKey &privateKey ) : SecStatusCode
RawVerify ( SecPadding padding, IntPtr signedData, int signedDataLen, IntPtr signature, int signatureLen ) : SecStatusCode
RawVerify ( SecPadding padding, byte signedData, byte signature ) : SecStatusCode

비공개 메소드들

메소드 설명
GetTypeID ( ) : int
RawSign ( SecPadding padding, IntPtr dataToSign, int dataToSignLen, byte &result ) : SecStatusCode
RawSign ( SecPadding padding, byte dataToSign, byte &result ) : SecStatusCode
SecKey ( IntPtr handle ) : System
SecKey ( IntPtr handle, bool owns ) : System
SecKeyDecrypt ( IntPtr handle, SecPadding padding, IntPtr cipherText, IntPtr cipherLen, IntPtr plainText, IntPtr playLen ) : SecStatusCode
SecKeyEncrypt ( IntPtr handle, SecPadding padding, IntPtr plainText, IntPtr playLen, IntPtr cipherText, IntPtr cipherLen ) : SecStatusCode
SecKeyGeneratePair ( IntPtr dictHandle, IntPtr &pubKey, IntPtr &privKey ) : SecStatusCode
SecKeyGetBlockSize ( IntPtr handle ) : IntPtr
SecKeyRawSign ( IntPtr handle, SecPadding padding, IntPtr dataToSign, IntPtr dataToSignLen, IntPtr sig, IntPtr sigLen ) : SecStatusCode
SecKeyRawVerify ( IntPtr handle, SecPadding padding, IntPtr signedData, IntPtr signedLen, IntPtr sign, IntPtr signLen ) : SecStatusCode

메소드 상세

Decrypt() 공개 메소드

public Decrypt ( SecPadding padding, IntPtr cipherText, int cipherLen, IntPtr plainText, int playLen ) : SecStatusCode
padding SecPadding
cipherText System.IntPtr
cipherLen int
plainText System.IntPtr
playLen int
리턴 SecStatusCode

Decrypt() 공개 메소드

public Decrypt ( SecPadding padding, byte cipherText, byte plainText ) : SecStatusCode
padding SecPadding
cipherText byte
plainText byte
리턴 SecStatusCode

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 공개 메소드

public Dispose ( bool disposing ) : void
disposing bool
리턴 void

Encrypt() 공개 메소드

public Encrypt ( SecPadding padding, IntPtr plainText, int playLen, IntPtr cipherText, int cipherLen ) : SecStatusCode
padding SecPadding
plainText System.IntPtr
playLen int
cipherText System.IntPtr
cipherLen int
리턴 SecStatusCode

Encrypt() 공개 메소드

public Encrypt ( SecPadding padding, byte plainText, byte cipherText ) : SecStatusCode
padding SecPadding
plainText byte
cipherText byte
리턴 SecStatusCode

GenerateKeyPair() 공개 정적인 메소드

public static GenerateKeyPair ( NSDictionary parameters, SecKey &publicKey, SecKey &privateKey ) : SecStatusCode
parameters NSDictionary
publicKey SecKey
privateKey SecKey
리턴 SecStatusCode

RawVerify() 공개 메소드

public RawVerify ( SecPadding padding, IntPtr signedData, int signedDataLen, IntPtr signature, int signatureLen ) : SecStatusCode
padding SecPadding
signedData System.IntPtr
signedDataLen int
signature System.IntPtr
signatureLen int
리턴 SecStatusCode

RawVerify() 공개 메소드

public RawVerify ( SecPadding padding, byte signedData, byte signature ) : SecStatusCode
padding SecPadding
signedData byte
signature byte
리턴 SecStatusCode