다음을 통해 공유


2.2.1.5.20 NLPR_CR_CIPHER_VALUE

The NLPR_CR_CIPHER_VALUE structure defines an encrypted string buffer that contains the value of an LSA Secret Object as specified in [MS-LSAD].

 typedef struct _NLPR_CR_CIPHER_VALUE {
   ULONG Length;
   ULONG MaximumLength;
   [size_is(MaximumLength), length_is(Length)] 
     UCHAR * Buffer;
 } NLPR_CR_CIPHER_VALUE,
  *PNLPR_CR_CIPHER_VALUE;

Length: The length, in bytes, of the used portion of the buffer.

MaximumLength: The maximum length, in bytes, of the buffer.

Buffer: A pointer to a buffer that contains the secret data encrypted with the session key used on the secure channel between the client and the server exchanging this data structure. The encryption algorithm is RC4 if the flag C is set in the negotiated flags between the client and the server as detailed in section 3.1.4.2; otherwise the encryption algorithm is DES.