<div class="content" name="PAC_CREDENTIAL_DATA" uuid="4927158e-c9d5-493d-a3f6-1826b88d22ba"><p>The <b>PAC_CREDENTIAL_DATA</b> structure defines an array of
security package-specific credentials that are provided to the Kerberos client.
The <b>PAC_CREDENTIAL_DATA</b> structure is marshaled by <a href="f2ef15b6-1e9b-48b5-bf0b-019f061d41c8#gt_8a7f6700-8311-45bc-af10-82e10accd331" data-linktype="relative-path">RPC</a> <a href="../ms-rpce/290c38b1-92fe-4229-91e6-4fc376610c15" data-linktype="relative-path">[MS-RPCE]</a>.</p><p>The <b>PAC_CREDENTIAL_DATA</b> structure is defined as
follows.</p><dl>
<dd>
<div><pre> typedef struct _PAC_CREDENTIAL_DATA {
   ULONG CredentialCount;
   [size_is(CredentialCount)] SECPKG_SUPPLEMENTAL_CRED Credentials[*];
 } PAC_CREDENTIAL_DATA, *PPAC_CREDENTIAL_DATA;
</pre></div>
</dd></dl><p><b>CredentialCount:</b> A 32-bit unsigned integer
that defines the number of elements in the <b>Credentials</b> member.</p><p><b>Credentials:</b> An array of <a href="50974dc7-6bce-4db5-805b-8dca924ad5a4" data-linktype="relative-path">SECPKG_SUPPLEMENTAL_CRED (section 2.6.3)</a>
structures that define the supplemental credentials.</p><p><b>Note:</b> As specified in section <a href="cc919d0c-f2eb-4f21-b487-080c486d85fe" data-linktype="relative-path">2.6.1</a>, this structure is
encrypted prior to being encoded in any other structures. Encryption is
performed by first serializing the data structure via <a href="f2ef15b6-1e9b-48b5-bf0b-019f061d41c8#gt_9ebf9540-2c31-43bc-bc56-4a932faabf2d" data-linktype="relative-path">Network Data Representation
(NDR)</a> encoding, as specified in [MS-RPCE]. Once serialized, the data is
encrypted using the key and cryptographic system selected through the AS
protocol and the KRB_AS_REP message (as specified in <a href="https://go.microsoft.com/fwlink/?LinkId=90458" data-linktype="external">[RFC4120]</a> section
3.1.3 and <a href="https://go.microsoft.com/fwlink/?LinkId=90482" data-linktype="external">[RFC4556]</a>).
Fields (for capturing this information) and cryptographic parameters are
specified in PAC_CREDENTIAL_INFO (section 2.6.1).</p></div>