Authority Information Access
From: Param (Param_at_discussions.microsoft.com)
Date: 10/11/04
- Next message: Narva: "Re: CryptImportKey fails"
- Previous message: Eugene Mayevski: "Re: How does timestamping with CAPICOM work?"
- Next in thread: Daniel Sie [MSFT]: "Re: Authority Information Access"
- Reply: Daniel Sie [MSFT]: "Re: Authority Information Access"
- Reply: Tariq: "Re: Authority Information Access"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 11 Oct 2004 05:21:03 -0700
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
- Next message: Narva: "Re: CryptImportKey fails"
- Previous message: Eugene Mayevski: "Re: How does timestamping with CAPICOM work?"
- Next in thread: Daniel Sie [MSFT]: "Re: Authority Information Access"
- Reply: Daniel Sie [MSFT]: "Re: Authority Information Access"
- Reply: Tariq: "Re: Authority Information Access"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|