EncryptedReferenceとは? わかりやすく解説

EncryptedReference クラス

メモ : このクラスは、.NET Framework version 2.0新しく追加されたものです。

XML 暗号化使用される、CipherReference クラス、KeyReference クラス、および DataReference クラス派生元となる抽象基本クラス表します

名前空間: System.Security.Cryptography.Xml
アセンブリ: System.Security (system.security.dll 内)
構文構文

Public MustInherit Class
 EncryptedReference
Dim instance As EncryptedReference
public abstract class EncryptedReference
public ref class EncryptedReference abstract
public abstract class EncryptedReference
public abstract class EncryptedReference
解説解説

XML 暗号化標準詳細については、http://www.w3.org/TR/xml-encryption-req を参照してください

使用例使用例

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.Object
  System.Security.Cryptography.Xml.EncryptedReference
     System.Security.Cryptography.Xml.CipherReference
     System.Security.Cryptography.Xml.DataReference
     System.Security.Cryptography.Xml.KeyReference
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバ場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
EncryptedReference メンバ
System.Security.Cryptography.Xml 名前空間

EncryptedReference コンストラクタ ()

メモ : このコンストラクタは、.NET Framework version 2.0新しく追加されたものです。

EncryptedReference クラス新しインスタンス初期化します。

名前空間: System.Security.Cryptography.Xml
アセンブリ: System.Security (system.security.dll 内)
構文構文

Dim instance As New EncryptedReference
protected EncryptedReference ()
protected:
EncryptedReference ()
protected EncryptedReference ()
protected function EncryptedReference ()
解説解説
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
EncryptedReference クラス
EncryptedReference メンバ
System.Security.Cryptography.Xml 名前空間

EncryptedReference コンストラクタ (String)

メモ : このコンストラクタは、.NET Framework version 2.0新しく追加されたものです。

指定した URI (Uniform Resource Identifier) を使用して、EncryptedReference クラス新しインスタンス初期化します。

名前空間: System.Security.Cryptography.Xml
アセンブリ: System.Security (system.security.dll 内)
構文構文

Dim uri As String

Dim instance As New EncryptedReference(uri)
protected EncryptedReference (
    string uri
)
protected:
EncryptedReference (
    String^ uri
)
protected EncryptedReference (
    String uri
)
protected function EncryptedReference (
    uri : String
)

パラメータ

uri

暗号化するデータを指す URI (Uniform Resource Identifier)。

例外例外
例外種類条件

ArgumentNullException

uri パラメータnull 参照 (Visual Basic では Nothing) です。

解説解説
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
EncryptedReference クラス
EncryptedReference メンバ
System.Security.Cryptography.Xml 名前空間

EncryptedReference コンストラクタ (String, TransformChain)

メモ : このコンストラクタは、.NET Framework version 2.0新しく追加されたものです。

指定した URI (Uniform Resource Identifier) および変換チェーン使用して、EncryptedReference クラス新しインスタンス初期化します。

名前空間: System.Security.Cryptography.Xml
アセンブリ: System.Security (system.security.dll 内)
構文構文

Protected Sub New ( _
    uri As String, _
    transformChain As TransformChain _
)
Dim uri As String
Dim transformChain As TransformChain

Dim instance As New EncryptedReference(uri,
 transformChain)
protected EncryptedReference (
    string uri,
    TransformChain transformChain
)
protected:
EncryptedReference (
    String^ uri, 
    TransformChain^ transformChain
)
protected EncryptedReference (
    String uri, 
    TransformChain transformChain
)
protected function EncryptedReference (
    uri : String, 
    transformChain : TransformChain
)

パラメータ

uri

暗号化するデータを指す URI (Uniform Resource Identifier)。

transformChain

暗号化するデータに対して適用する変換記述する TransformChain オブジェクト

例外例外
例外種類条件

ArgumentNullException

uri パラメータnull 参照 (Visual Basic では Nothing) です。

解説解説
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
EncryptedReference クラス
EncryptedReference メンバ
System.Security.Cryptography.Xml 名前空間

EncryptedReference コンストラクタ

EncryptedReference クラス新しインスタンス初期化します。
オーバーロードの一覧オーバーロードの一覧

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

関連項目

EncryptedReference クラス
EncryptedReference メンバ
System.Security.Cryptography.Xml 名前空間

EncryptedReference プロパティ


パブリック プロパティパブリック プロパティ

プロテクト プロパティプロテクト プロパティ
  名前 説明
プロテクト プロパティ CacheValid キャッシュが有効かどうかを示す値を取得します
プロテクト プロパティ ReferenceType 参照型取得または設定します
参照参照

関連項目

EncryptedReference クラス
System.Security.Cryptography.Xml 名前空間

EncryptedReference メソッド


パブリック メソッドパブリック メソッド

プロテクト メソッドプロテクト メソッド
参照参照

関連項目

EncryptedReference クラス
System.Security.Cryptography.Xml 名前空間

EncryptedReference メンバ

XML 暗号化使用される、CipherReference クラス、KeyReference クラス、および DataReference クラス派生元となる抽象基本クラス表します

EncryptedReference データ型公開されるメンバを以下の表に示します


プロテクト コンストラクタプロテクト コンストラクタ
  名前 説明
プロテクト メソッド EncryptedReference オーバーロードされますEncryptedReference クラス新しインスタンス初期化します。
パブリック プロパティパブリック プロパティ
プロテクト プロパティプロテクト プロパティ
  名前 説明
プロテクト プロパティ CacheValid キャッシュが有効かどうかを示す値を取得します
プロテクト プロパティ ReferenceType 参照型取得または設定します
パブリック メソッドパブリック メソッド
プロテクト メソッドプロテクト メソッド
参照参照

関連項目

EncryptedReference クラス
System.Security.Cryptography.Xml 名前空間


このページでは「.NET Framework クラス ライブラリ リファレンス」からEncryptedReferenceを検索した結果を表示しています。
Weblioに収録されているすべての辞書からEncryptedReferenceを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からEncryptedReference を検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「EncryptedReference」の関連用語

EncryptedReferenceのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



EncryptedReferenceのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS