Method | Description | |
---|---|---|
Encrypt ( |
||
LoadSignerCredential ( string signerPfxCertPath, string signerPfxCertPassword ) : void |
|
|
PayPalEncryptedWebsitePayments ( ) : System | ||
SignAndEncrypt ( string clearText ) : string |
Sign a message and encrypt it for the recipient.
|
Method | Description | |
---|---|---|
Base64Encode ( byte encoded ) : string | ||
Envelope ( byte contentBytes ) : byte[] | ||
Sign ( byte messageBytes ) : byte[] |
public static Encrypt ( |
||
vars | ||
settings | IPayPalSettings | |
return |
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 |
return | void |
public PayPalEncryptedWebsitePayments ( ) : System | ||
return | System |
public SignAndEncrypt ( string clearText ) : string | ||
clearText | string | Name value pairs must be separated by \n (vbLf or Chr(10)), for example "cmd=_xclick\nbusiness=..." |
return | string |