Table of Contents

Interface IEncryptionService

Namespace: Casewhere.Runtime.DSL.Services
Assembly: Casewhere.Runtime.dll

public interface IEncryptionService

Extension Methods

ObjectExtension.ConvertToBsonValue(object), EnumExtensions.DeepClone<IEncryptionService>(IEncryptionService)

Methods

Decrypt(string)

string Decrypt(string cipherText)

Parameters

cipherText string

Returns

string

DecryptClaims(string, string)

IList<Claim> DecryptClaims(string encryptedClaims, string worker)

Parameters

encryptedClaims string

worker string

Returns

IList<Claim>

Encrypt(string)

string Encrypt(string input)

Parameters

input string

Returns

string

Encrypt(IList<Claim>, string)

string Encrypt(IList<Claim> claims, string worker)

Parameters

claims IList<Claim>

worker string

Returns

string