Freigeben über


2.2.6 EFS_CERTIFICATE_BLOB

The EFS_CERTIFICATE_BLOB type is used to represent the encoded contents of an X.509 certificate.

 typedef struct _CERTIFICATE_BLOB {
   DWORD dwCertEncodingType;
   [range(0,32768)] DWORD cbData;
   [size_is(cbData)] unsigned char* bData;
 } EFS_CERTIFICATE_BLOB;

dwCertEncodingType: The certificate encoding type. This MUST be set to one of the following values. If set to any other value, the certificate is considered invalid and behavior is undefined.

Value

Meaning

0x00000001

Certificate uses X.509 ASN.1 encoding.

0x00000002

Certificate uses X.509 NDR encoding.

cbData: The number of bytes in the bData buffer.

bData: An encoded X.509 certificate. Its format is specified by the dwCertEncodingType member. For more information on ASN encoding, see [X690]. NDR encoding is specified in [C706].<21>