none
How to Verify Certification Revocation (CRL) using x509chain??????

    Question

  •  

    Hi,

    I am developing a digital signature verification component  in C# .NET.

     

     In this verification I need to check the Certificate revocation status against a Offline CRL stored in a directory?

     

    chk the below code by using  status online  i done that . but status offile i couldn't find any exapmle

    X509Chain chain = new X509Chain();

    chain.ChainPolicy.RevocationFlag = X509RevocationFlag.EntireChain;

    chain.ChainPolicy.RevocationMode =

    X509RevocationMode.Online; // | X509RevocationMode.Offline;

    chain.ChainPolicy.UrlRetrievalTimeout = new TimeSpan(0, 0, 30);

    chain.ChainPolicy.VerificationFlags = X509VerificationFlags.NoFlag;

    chain.Build(certificate);

    if (chain.ChainStatus.Length != 0)

    Console.WriteLine(chain.ChainStatus[0].Status);

     

    Could some one please let me know how to use X509Chain object for offline CRL verification? I didnt find any examples.  Or is there any other mechanism to do this checking?

     

    Thnaks-

    Supraja

    Wednesday, July 18, 2007 5:25 AM