Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This section is only applicable to servers that implement V2 Key Attestation<139>.
The CA MUST decrypt the szOID_ENROLL_V2_AIK_INFO attribute using the current CA exchange certificate private key to obtain the V2 AIK public key (SubjectPublicKeyInfo).
The CA MUST validate the szOID_ENROLL_V2_ATTESTATION_STATEMENT attribute (the subject-only attestation claim) against the decrypted V2 AIK public key. If validation fails, the CA MUST return a nonzero error.
The CA MUST generate a random HMAC key of 32 bytes.
The CA MUST generate a random nonce of 32 bytes.
The CA MUST wrap (encrypt) the HMAC key to the EK public key.
The CA MUST encrypt a server state structure containing the HMAC key, the nonce, and the AIK SubjectPublicKeyInfo using the current CA exchange certificate and store it in the AttestationChallenge column of the Request table as specified in [MS-CSRA] section 3.1.1.1.2.
The CA MUST construct the challenge as a DER-encoded CRYPT_ATTRIBUTES structure containing the following CRYPT_ATTRIBUTE values: szOID_ENROLL_ATTESTATION_CHALLENGE (the wrapped HMAC key as an octet string), szOIDVerisign_SenderNonce (the nonce as an octet string), szOID_ENROLL_V2_CONTAINER_NAME (the container name as a Unicode string), szOID_ENROLL_V2_EK_ALGORITHM (the EK algorithm name as a Unicode string), and szOID_ENROLL_V2_EK_PARAMETER (the EK key size as a Unicode string).
The CA MUST set CR_FLG_CHALLENGEPENDING and CR_FLG_V2CHALLENGE in the Request_Request_Flags column.
The CA MUST send a CMC full PKI response including the challenge, the CA exchange certificate, and its full chain.