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)

설명

값은 암호화된 데이터입니다.

메모

요소에는 <CipherData>CipherReference 식 요소 또는 CipherValue 자식 요소가 있을 수 있지만 둘 다 있을 수는 없습니다. 둘 다 개체에 할당된 경우 A CryptographicExceptionCipherData throw됩니다.

적용 대상