EncryptedReference クラス
アセンブリ: System.Security (system.security.dll 内)



CipherReference クラスの GetXml メソッドを使用して、XML 値をコンソールに出力するコード例を次に示します。
Imports System Imports System.Security.Cryptography.Xml Imports System.Xml Imports System.IO ' This sample used the GetXml method in the CipherReference class ' to write the value of CipherReference to the console. Module Module1 Sub Main() ' Create a URI string. Dim uri As String = "http://www.woodgrovebank.com/document.xml" ' Create a Base64 transform. The input content retrieved from the ' URI should be Base64-decoded before other processing. Dim base64 As Transform = New XmlDsigBase64Transform Dim tc As New TransformChain tc.Add(base64) ' Create <CipherReference> information. Dim reference As CipherReference = New CipherReference(uri, tc) ' Write the XML for the CipherReference to the console. Console.WriteLine("Cipher Reference: {0}", reference.GetXml().OuterXml) End Sub End Module
using System; using System.Security.Cryptography.Xml; using System.Xml; using System.IO; /// This sample used the GetXml method in the CipherReference class to /// write the XML values for the CipherReference to the console. namespace CipherReference2 { class CipherReference2 { [STAThread] static void Main(string[] args) { //Create a URI string. String uri = "http://www.woodgrovebank.com/document.xml"; // Create a Base64 transform. The input content retrieved from the // URI should be Base64-decoded before other processing. Transform base64 = new XmlDsigBase64Transform(); //Create a transform chain and add the transform to it. TransformChain tc = new TransformChain(); tc.Add(base64); //Create <CipherReference> information. CipherReference reference = new CipherReference(uri, tc); // Write the CipherReference value to the console. Console.WriteLine("Cipher Reference data: {0}", reference.GetXml().OuterXml); } } }
#using <System.Xml.dll> #using <System.Security.dll> #using <System.dll> using namespace System; using namespace System::Security::Cryptography::Xml; using namespace System::Xml; using namespace System::IO; /// This sample used the GetXml method in the CipherReference class to /// write the XML values for the CipherReference to the console. [STAThread] int main() { //Create a URI string. String^ uri = "http://www.woodgrovebank.com/document.xml"; // Create a Base64 transform. The input content retrieved from the // URI should be Base64-decoded before other processing. Transform^ base64 = gcnew XmlDsigBase64Transform; //Create a transform chain and add the transform to it. TransformChain^ tc = gcnew TransformChain; tc->Add( base64 ); //Create <CipherReference> information. CipherReference ^ reference = gcnew CipherReference( uri,tc ); // Write the CipherReference value to the console. Console::WriteLine( "Cipher Reference data: {0}", reference->GetXml()->OuterXml ); }
package CipherReference2; import System.*; import System.Security.Cryptography.Xml.*; import System.Xml.*; import System.IO.*; /// This sample used the GetXml method in the CipherReference class to /// write the XML values for the CipherReference to the console. class CipherReference2 { /** @attribute STAThread() */ public static void main(String[] args) { //Create a URI string. String uri = "http://www.woodgrovebank.com/document.xml"; // Create a Base64 transform. The input content retrieved from the // URI should be Base64-decoded before other processing. Transform base64 = new XmlDsigBase64Transform(); //Create a transform chain and add the transform to it. TransformChain tc = new TransformChain(); tc.Add(base64); //Create <CipherReference> information. CipherReference reference = new CipherReference(uri, tc); // Write the CipherReference value to the console. Console.WriteLine("Cipher Reference data: {0}", reference.GetXml(). get_OuterXml()); } //main } //CipherReference2

System.Security.Cryptography.Xml.EncryptedReference
System.Security.Cryptography.Xml.CipherReference
System.Security.Cryptography.Xml.DataReference
System.Security.Cryptography.Xml.KeyReference


Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


EncryptedReference コンストラクタ ()
アセンブリ: System.Security (system.security.dll 内)


このコンストラクタは、XML 暗号化で使用される、CipherReference クラス、KeyReference クラス、および DataReference クラスの派生元となる抽象基本クラスであるクラスを初期化します。XML でカスタム参照セクションを作成する必要がない場合は、いずれかの継承クラスを使用します。
XML 暗号化標準の詳細については、http://www.w3.org/TR/xml-encryption-req を参照してください。

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


EncryptedReference コンストラクタ (String)
アセンブリ: System.Security (system.security.dll 内)



uri パラメータは、暗号化するデータの場所に関する情報を提供します。
このコンストラクタは、XML 暗号化で使用される、CipherReference クラス、KeyReference クラス、および DataReference クラスの派生元となる抽象基本クラスであるクラスを初期化します。XML でカスタム参照セクションを作成する必要がない場合は、いずれかの継承クラスを使用します。
XML 暗号化標準の詳細については、http://www.w3.org/TR/xml-encryption-req を参照してください。

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


EncryptedReference コンストラクタ (String, TransformChain)
アセンブリ: System.Security (system.security.dll 内)

Dim uri As String Dim transformChain As TransformChain Dim instance As New EncryptedReference(uri, transformChain)
- uri
暗号化するデータを指す URI (Uniform Resource Identifier)。


このクラスは、XML 暗号化で使用される、CipherReference クラス、KeyReference クラス、および DataReference クラスの派生元となる抽象基本クラスです。XML でカスタム参照セクションを作成する必要がない場合は、いずれかの継承クラスを使用します。
XML 暗号化標準の詳細については、http://www.w3.org/TR/xml-encryption-req を参照してください。

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


EncryptedReference コンストラクタ

名前 | 説明 |
---|---|
EncryptedReference () | EncryptedReference クラスの新しいインスタンスを初期化します。 |
EncryptedReference (String) | 指定した URI (Uniform Resource Identifier) を使用して、EncryptedReference クラスの新しいインスタンスを初期化します。 |
EncryptedReference (String, TransformChain) | 指定した URI (Uniform Resource Identifier) および変換チェーンを使用して、EncryptedReference クラスの新しいインスタンスを初期化します。 |

EncryptedReference プロパティ

名前 | 説明 | |
---|---|---|
![]() | TransformChain | EncryptedReference オブジェクトの変換チェーンを取得または設定します。 |
![]() | Uri | EncryptedReference オブジェクトの URI (Uniform Resource Identifier) を取得または設定します。 |


EncryptedReference メソッド

名前 | 説明 | |
---|---|---|
![]() | AddTransform | EncryptedReference オブジェクトの現在の変換チェーンに Transform オブジェクトを追加します。 |
![]() | Equals | オーバーロードされます。 2 つの Object インスタンスが等しいかどうかを判断します。 ( Object から継承されます。) |
![]() | GetHashCode | 特定の型のハッシュ関数として機能します。GetHashCode は、ハッシュ アルゴリズムや、ハッシュ テーブルのようなデータ構造での使用に適しています。 ( Object から継承されます。) |
![]() | GetType | 現在のインスタンスの Type を取得します。 ( Object から継承されます。) |
![]() | GetXml | EncryptedReference オブジェクトの XML 表現を返します。 |
![]() | LoadXml | XML 要素を EncryptedReference オブジェクトに読み込みます。 |
![]() | ReferenceEquals | 指定した複数の Object インスタンスが同一かどうかを判断します。 ( Object から継承されます。) |
![]() | ToString | 現在の Object を表す String を返します。 ( Object から継承されます。) |

名前 | 説明 | |
---|---|---|
![]() | Finalize | Object がガベージ コレクションにより収集される前に、その Object がリソースを解放し、その他のクリーンアップ操作を実行できるようにします。 ( Object から継承されます。) |
![]() | MemberwiseClone | 現在の Object の簡易コピーを作成します。 ( Object から継承されます。) |

EncryptedReference メンバ
XML 暗号化で使用される、CipherReference クラス、KeyReference クラス、および DataReference クラスの派生元となる抽象基本クラスを表します。
EncryptedReference データ型で公開されるメンバを以下の表に示します。


名前 | 説明 | |
---|---|---|
![]() | TransformChain | EncryptedReference オブジェクトの変換チェーンを取得または設定します。 |
![]() | Uri | EncryptedReference オブジェクトの URI (Uniform Resource Identifier) を取得または設定します。 |


名前 | 説明 | |
---|---|---|
![]() | AddTransform | EncryptedReference オブジェクトの現在の変換チェーンに Transform オブジェクトを追加します。 |
![]() | Equals | オーバーロードされます。 2 つの Object インスタンスが等しいかどうかを判断します。 (Object から継承されます。) |
![]() | GetHashCode | 特定の型のハッシュ関数として機能します。GetHashCode は、ハッシュ アルゴリズムや、ハッシュ テーブルのようなデータ構造での使用に適しています。 (Object から継承されます。) |
![]() | GetType | 現在のインスタンスの Type を取得します。 (Object から継承されます。) |
![]() | GetXml | EncryptedReference オブジェクトの XML 表現を返します。 |
![]() | LoadXml | XML 要素を EncryptedReference オブジェクトに読み込みます。 |
![]() | ReferenceEquals | 指定した複数の Object インスタンスが同一かどうかを判断します。 (Object から継承されます。) |
![]() | ToString | 現在の Object を表す String を返します。 (Object から継承されます。) |

名前 | 説明 | |
---|---|---|
![]() | Finalize | Object がガベージ コレクションにより収集される前に、その Object がリソースを解放し、その他のクリーンアップ操作を実行できるようにします。 (Object から継承されます。) |
![]() | MemberwiseClone | 現在の Object の簡易コピーを作成します。 (Object から継承されます。) |

Weblioに収録されているすべての辞書からEncryptedReferenceを検索する場合は、下記のリンクをクリックしてください。

- EncryptedReferenceのページへのリンク