CipherData.CipherValue プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > CipherData.CipherValue プロパティの意味・解説 

CipherData.CipherValue プロパティ

メモ : このプロパティは、.NET Framework version 2.0 で新しく追加されたものです。

<CipherValue> 要素を取得または設定します。

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

Dim instance As CipherData
Dim value As Byte()

value = instance.CipherValue

instance.CipherValue = value
public byte[] CipherValue { get; set;
 }
public:
property array<unsigned char>^ CipherValue {
    array<unsigned char>^ get ();
    void set (array<unsigned char>^
 value);
}
/** @property */
public byte[] get_CipherValue ()

/** @property */
public void set_CipherValue (byte[] value)
public function get CipherValue
 () : byte[]

public function set CipherValue
 (value : byte[])

プロパティ値
<CipherValue> 要素を表すバイト配列。

例外例外
例外の種類条件

ArgumentNullException

CipherValue プロパティが null 参照 (Visual Basic では Nothing) に設定されました。

CryptographicException

CipherValue プロパティが複数回設定されました。

解説解説

値は暗号化されたデータです。

メモメモ

<CipherData> 要素は、CipherReference または CipherValue のどちらかの子要素を持つことができます。両方の子要素を持つことはできません。両方が CipherData オブジェクトに割り当てられている場合は、CryptographicException がスローされます。

使用例使用例

CipherData クラスの新しいインスタンスを作成する方法を次のコード例に示します。

    ' Create a new CipherData object using a byte array to represent encrypted
 data.
Dim sampledata(7) As Byte
    Dim cd As New CipherData(sampledata)

// Create a new CipherData object using a byte array to represent encrypted
 data.
Byte[] sampledata = new byte[8];
CipherData cd = new CipherData(sampledata);
// Create a new CipherData object using a byte array to represent encrypted
 data.
array<Byte>^sampledata = gcnew array<Byte>(8);
CipherData ^ cd = gcnew CipherData( sampledata );

// Create a new CipherData object using a byte array to represent 
// encrypted data.
ubyte sampleData[] = new ubyte[8];
CipherData cd = new CipherData(sampleData);
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
CipherData クラス
CipherData メンバ
System.Security.Cryptography.Xml 名前空間



英和和英テキスト翻訳

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

辞書ショートカット

すべての辞書の索引

「CipherData.CipherValue プロパティ」の関連用語

CipherData.CipherValue プロパティのお隣キーワード
検索ランキング

   

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



CipherData.CipherValue プロパティのページの著作権

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

©2026 GRAS Group, Inc.RSS