Table of Contents

Class EncryptionServiceExtensions

Namespace
JJMasterData.Core.Extensions
Assembly
JJMasterData.Core.dll
public static class EncryptionServiceExtensions
Inheritance
EncryptionServiceExtensions
Inherited Members

Methods

DecryptDictionary(IEncryptionService, string)

public static Dictionary<string, object> DecryptDictionary(this IEncryptionService service, string encryptedDictionary)

Parameters

service IEncryptionService
encryptedDictionary string

Returns

Dictionary<string, object>

DecryptObject<T>(IEncryptionService, string)

public static T DecryptObject<T>(this IEncryptionService service, string encryptedObject)

Parameters

service IEncryptionService
encryptedObject string

Returns

T

Type Parameters

T

DecryptRouteContext(IEncryptionService, string)

public static RouteContext DecryptRouteContext(this IEncryptionService service, string encryptedRouteContext)

Parameters

service IEncryptionService
encryptedRouteContext string

Returns

RouteContext

DecryptStringWithUrlUnescape(IEncryptionService, string)

Decrypts the string with URL unescape to prevent errors in parsing, algorithms like AES generate characters like '/'

public static string DecryptStringWithUrlUnescape(this IEncryptionService service, string cipherText)

Parameters

service IEncryptionService
cipherText string

Returns

string

EncryptObject<T>(IEncryptionService, T)

public static string EncryptObject<T>(this IEncryptionService service, T @object)

Parameters

service IEncryptionService
object T

Returns

string

Type Parameters

T

EncryptStringWithUrlEscape(IEncryptionService, string)

Encrypts the string with URL escape to prevent errors in parsing, algorithms like AES generate characters like '/'

public static string EncryptStringWithUrlEscape(this IEncryptionService service, string plainText)

Parameters

service IEncryptionService
plainText string

Returns

string