RemoteWebConfigurationHostServer.DoEncryptOrDecrypt メソッド

定義

xmlString パラメーターによって参照される文字列の値を条件付きで暗号化または復号化します。

この API は製品インフラストラクチャをサポートします。コードから直接使用するものではありません。

public:
 virtual System::String ^ DoEncryptOrDecrypt(bool doEncrypt, System::String ^ xmlString, System::String ^ protectionProviderName, System::String ^ protectionProviderType, cli::array <System::String ^> ^ paramKeys, cli::array <System::String ^> ^ paramValues);
public string DoEncryptOrDecrypt(bool doEncrypt, string xmlString, string protectionProviderName, string protectionProviderType, string[] paramKeys, string[] paramValues);
abstract member DoEncryptOrDecrypt : bool * string * string * string * string[] * string[] -> string
override this.DoEncryptOrDecrypt : bool * string * string * string * string[] * string[] -> string
Public Function DoEncryptOrDecrypt (doEncrypt As Boolean, xmlString As String, protectionProviderName As String, protectionProviderType As String, paramKeys As String(), paramValues As String()) As String

パラメーター

doEncrypt
Boolean

true 暗号化する。復号化する false

xmlString
String

暗号化または復号化する XML。

protectionProviderName
String

構成データの保護に使用されるプロバイダー。

protectionProviderType
String

保護プロバイダーの Type

paramKeys
String[]

保護プロバイダーの省略可能なパラメーターのキー。

paramValues
String[]

保護プロバイダーの省略可能なパラメーターの値。

返品

xmlStringの暗号化または復号化された値を含む文字列。

実装

例外

protectionProviderTypeProtectedConfigurationProviderから派生しません。

適用対象

こちらもご覧ください