Historical Content Alert

This is a historical content for Windows NT 4.0 product and is presented for informative purposes only. All content in this directory is copyrighted and owned by Microsoft.

getCertFromPKCS7

The getCertFromPKCS7 method is used to retrieve from a PKCS 7 just the single certificate that was issued. (The PKCS 7 may contain many certificates specifying the certification chain of authority that issued the certificate.)

[VB] BSTR getCertFromPKCS7 (
  BSTR wszPKCS7
);
 
[C++] HRESULT getCertFromPKCS7 (
  BSTR wszPKCS7      // in
  BSTR* pbstrCert    // in
);
 

Parameters

[VB][C++] wszPKCS7
Specifies the PKCS 7 from which the issued certificate is being retrieved.
[C++] pbstrCert
See "Return Value."

Return Values

Returns the single certificate (in BSTR form) that was issued.


Share this article: