2.2.6.1 LSAPR_CR_CIPHER_VALUE

The LSAPR_CR_CIPHER_VALUE structure is a counted buffer of bytes containing a secret object.

 typedef struct _LSAPR_CR_CIPHER_VALUE {
   [range(0,131088)] unsigned long Length;
   [range(0,131088)] unsigned long MaximumLength;
   [size_is(MaximumLength), length_is(Length)] 
     unsigned char* Buffer;
 } LSAPR_CR_CIPHER_VALUE,
  *PLSAPR_CR_CIPHER_VALUE;

Length: This field contains the number of valid bytes in the Buffer field.<29>

MaximumLength: This field contains the number of allocated bytes in the Buffer field.<30>

Buffer: This field contains the actual secret data. If the value of the MaximumLength field is greater than 0, this field MUST contain a non-NULL value. This field is always encrypted using algorithms as specified in section 5.1.2.