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
IEncryptionServiceencryptedDictionary
string
Returns
DecryptObject<T>(IEncryptionService, string)
public static T DecryptObject<T>(this IEncryptionService service, string encryptedObject)
Parameters
service
IEncryptionServiceencryptedObject
string
Returns
- T
Type Parameters
T
DecryptRouteContext(IEncryptionService, string)
public static RouteContext DecryptRouteContext(this IEncryptionService service, string encryptedRouteContext)
Parameters
service
IEncryptionServiceencryptedRouteContext
string
Returns
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
IEncryptionServicecipherText
string
Returns
EncryptObject<T>(IEncryptionService, T)
public static string EncryptObject<T>(this IEncryptionService service, T @object)
Parameters
service
IEncryptionServiceobject
T
Returns
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
IEncryptionServiceplainText
string