C# Class BraintreeEncryption.Library.Tests.TestHelper

Mostrar archivo Open project: braintree/braintree_windows_phone_encryption

Public Methods

Method Description
DecryptAes ( string encrypted, byte aesKey ) : string
DecryptRsa ( string encrypted, string privateKey ) : byte[]
IsNotEmpty ( string value ) : void

Private Methods

Method Description
GetRsaKeyParameters ( string privateKey ) : RsaKeyParameters

Method Details

DecryptAes() public static method

public static DecryptAes ( string encrypted, byte aesKey ) : string
encrypted string
aesKey byte
return string

DecryptRsa() public static method

public static DecryptRsa ( string encrypted, string privateKey ) : byte[]
encrypted string
privateKey string
return byte[]

IsNotEmpty() public static method

public static IsNotEmpty ( string value ) : void
value string
return void