Expand Minimize

IEnroll4::getCertContextFromPKCS7 method

[This method is no longer available for use as of Windows Server 2008 and Windows Vista.]

The getCertContextFromPKCS7 method retrieves a certificate context based on a PKCS #7 message that was issued in response to a PKCS #10 certificate request.

This method retrieves the context for the single certificate that was issued even though a PKCS #7 message may contain many certificates specifying the certification chain of authority that issued the certificate.

This method was first defined in the IEnroll interface.

Syntax


PCCERT_CONTEXT getCertContextFromPKCS7(
  [in]  PCRYPT_DATA_BLOB pBlobPKCS7
);

Parameters

pBlobPKCS7 [in]

A pointer to a CRYPT_DATA_BLOB structure that represents the PKCS #7.

Return value

The return value is a pointer to a CERT_CONTEXT representing the certificate context, or NULL if the method fails.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

End of client support

Windows XP

End of server support

Windows Server 2003

Header

Xenroll.h

Library

Uuid.lib

DLL

Xenroll.dll

IID

IID_IEnroll4 is defined as f8053fe5-78f4-448f-a0db-41d61b73446b

See also

IEnroll4

 

 

Community Additions

ADD
Show:
© 2014 Microsoft