C# 클래스 XMerchant.PayPal.PayPalEncryptedWebsitePayments

http://forums.asp.net/t/1236969.aspx
파일 보기 프로젝트 열기: axefrog/XMerchant 1 사용 예제들

공개 메소드들

메소드 설명
Encrypt ( NameValueCollection vars, IPayPalSettings settings ) : NameValueCollection
LoadSignerCredential ( string signerPfxCertPath, string signerPfxCertPassword ) : void

PayPalEncryptedWebsitePayments ( ) : System
SignAndEncrypt ( string clearText ) : string

Sign a message and encrypt it for the recipient.

비공개 메소드들

메소드 설명
Base64Encode ( byte encoded ) : string
Envelope ( byte contentBytes ) : byte[]
Sign ( byte messageBytes ) : byte[]

메소드 상세

Encrypt() 공개 정적인 메소드

public static Encrypt ( NameValueCollection vars, IPayPalSettings settings ) : NameValueCollection
vars System.Collections.Specialized.NameValueCollection
settings IPayPalSettings
리턴 System.Collections.Specialized.NameValueCollection

LoadSignerCredential() 공개 메소드

public LoadSignerCredential ( string signerPfxCertPath, string signerPfxCertPassword ) : void
signerPfxCertPath string File path to the signer's public certificate plus private key in PKCS#12 format
signerPfxCertPassword string Password for signer's private key
리턴 void

PayPalEncryptedWebsitePayments() 공개 메소드

public PayPalEncryptedWebsitePayments ( ) : System
리턴 System

SignAndEncrypt() 공개 메소드

Sign a message and encrypt it for the recipient.
public SignAndEncrypt ( string clearText ) : string
clearText string Name value pairs must be separated by \n (vbLf or Chr(10)), for example "cmd=_xclick\nbusiness=..."
리턴 string