Compartir a través de


2.2.10 ENCRYPTION_CERTIFICATE_HASH

The ENCRYPTION_CERTIFICATE_HASH type is used to represent a single certificate hash. For more information on certificates, see [X509].

 typedef struct _ENCRYPTION_CERTIFICATE_HASH {
   DWORD cbTotalLength;
   RPC_SID* UserSid;
   EFS_HASH_BLOB* Hash;
   [string] wchar_t* lpDisplayInformation;
 } ENCRYPTION_CERTIFICATE_HASH;

cbTotalLength: The length, in bytes, of the structure.

UserSid: The SID of the user who owns the certificate. This is intended only as a hint. It MAY be set to zero if no such hint is available. The structure of an RPC SID is specified in [MS-DTYP], section 2.4.2.3.

Hash: A pointer to an EFS_HASH_BLOB (2.2.7) structure.

lpDisplayInformation: A string that contains the subject or principal name of the account the certification is assigned to. The subject name and the principal name can be the same. This is only intended as a hint for display purposes, and is implementation-dependent. This field MAY be set to NULL if no such information is available.