Re: Authority Information Access

From: Daniel Sie [MSFT] (dsie_at_online.microsoft.com)
Date: 10/12/04


Date: Mon, 11 Oct 2004 19:48:39 -0700

CERT_AUTHORITY_INFO_ACCESS

-- 
Thanks,
Daniel Sie [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights.
"Param" <Param@discussions.microsoft.com> wrote in message 
news:6F2AA06A-F31F-4AC3-A0E3-46CA248B88D8@microsoft.com...
> Hi,
> I have a certificate with Authority Information Access as a field
> and the value as
>
> [1]Authority Info Access
>     Access Method=On-line Certificate Status Protocol (1.3.6.1.5.5.7.48.1)
> Alternative Name:
>          URL=http://......../crl.crl
>
> I want to fetch the URL from the certificate...
> Here is the snippet.....
>
> CERT_EXTENSION * pResult = CertFindExtension(szOID_PKIX_OCSP,
>  pCertContext->pCertInfo->cExtension,
> pCertContext->pCertInfo->rgExtension);
>
> BOOL fResult = CryptDecodeObject(MY_ENCODING_TYPE,
> X509_AUTHORITY_INFO_ACCESS,
> pResult->Value.pbData,
> pResult->Value.cbData,
> CRYPT_DECODE_NOCOPY_FLAG,
> NULL,
> &ln);
>
> What structure i have to use here.....
> If this is wrong way of doing , How?
>
> Thanx in advance
>
> 


Relevant Pages

  • Re: CA keyPai deposition
    ... This posting is provided "AS IS" with no warranties, and confers no rights. ... generating a certificate ...
    (microsoft.public.security)
  • Re: Digital Certificates problems when password changes
    ... This posting is provided "AS IS" with no warranties, and confers no rights. ... We can import a previously saved certificate ...
    (microsoft.public.windowsxp.security_admin)
  • Re: certificates and OWA
    ... This posting is provided "AS IS" with no warranties, and confers no rights. ... >>> I am assuming you mean the web certificate I created? ...
    (microsoft.public.win2000.security)
  • Re: ICEnroll - linkage between pkc10 request and a specific container
    ... This posting is provided "AS IS" with no warranties, and confers no rights. ... > What I mean - when the certificate returns, ... >>The link is through the request in the request store ...
    (microsoft.public.platformsdk.security)
  • Re: security update, April 2nd, 2001
    ... This posting is provided "AS IS" with no warranties, and confers no rights ... > The security update for the certificate something. ...
    (microsoft.public.security)

Loading