CipherData.CipherValue プロパティ

定義

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

public:
 property cli::array <System::Byte> ^ CipherValue { cli::array <System::Byte> ^ get(); void set(cli::array <System::Byte> ^ value); };
public byte[] CipherValue { get; set; }
member this.CipherValue : byte[] with get, set
Public Property CipherValue As Byte()

プロパティ値

Byte[]

<CipherValue>要素を表すバイト配列。

例外

CipherValue プロパティが null に設定されました。

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

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

// 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.
Dim sampledata(7) As Byte
    Dim cd As New CipherData(sampledata)

注釈

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

Note

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

適用対象