Show / Hide Table of Contents

Class DataProtector

Inheritance
System.Object
DataProtector
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: FChoice.Common
Assembly: FChoice.Common.dll
Syntax
public sealed class DataProtector

Methods

Decrypt(DataProtectionStore, Byte[])

Declaration
public static byte[] Decrypt(DataProtectionStore keyStore, byte[] cipherBytes)
Parameters
Type Name Description
DataProtectionStore keyStore
System.Byte[] cipherBytes
Returns
Type Description
System.Byte[]

Decrypt(DataProtectionStore, Byte[], Byte[])

Declaration
public static byte[] Decrypt(DataProtectionStore keyStore, byte[] cipherBytes, byte[] entropy)
Parameters
Type Name Description
DataProtectionStore keyStore
System.Byte[] cipherBytes
System.Byte[] entropy
Returns
Type Description
System.Byte[]

DecryptString(DataProtectionStore, String)

Declaration
public static string DecryptString(DataProtectionStore keyStore, string encryptedText)
Parameters
Type Name Description
DataProtectionStore keyStore
System.String encryptedText
Returns
Type Description
System.String

DecryptString(DataProtectionStore, String, String)

Declaration
public static string DecryptString(DataProtectionStore keyStore, string encryptedText, string entropy)
Parameters
Type Name Description
DataProtectionStore keyStore
System.String encryptedText
System.String entropy
Returns
Type Description
System.String

Encrypt(DataProtectionStore, Byte[])

Declaration
public static byte[] Encrypt(DataProtectionStore keyStore, byte[] plainBytes)
Parameters
Type Name Description
DataProtectionStore keyStore
System.Byte[] plainBytes
Returns
Type Description
System.Byte[]

Encrypt(DataProtectionStore, Byte[], Byte[])

Declaration
public static byte[] Encrypt(DataProtectionStore keyStore, byte[] plainBytes, byte[] entropy)
Parameters
Type Name Description
DataProtectionStore keyStore
System.Byte[] plainBytes
System.Byte[] entropy
Returns
Type Description
System.Byte[]

EncryptString(DataProtectionStore, String)

Declaration
public static string EncryptString(DataProtectionStore keyStore, string plainText)
Parameters
Type Name Description
DataProtectionStore keyStore
System.String plainText
Returns
Type Description
System.String

EncryptString(DataProtectionStore, String, String)

Declaration
public static string EncryptString(DataProtectionStore keyStore, string plainText, string entropy)
Parameters
Type Name Description
DataProtectionStore keyStore
System.String plainText
System.String entropy
Returns
Type Description
System.String
Back to top © 2022 Dovetail Software, Inc. - All rights reserved.
Clarify, Amdocs, and related products and names are copyright and trademark of Amdocs, Inc.
.NET, Visual Studio.NET, C#, Visual Basic and related products are trademark of Microsoft corporation.