Persits Software, Inc. Web Site
Main Menu:  Home |  News |  Manual |  Object Reference |  Crypto 101 |  Download & Buy |  Live Demo |  Support |  Contact
 Navigator:  Home |  Object Reference |  CryptoCrl Object
CryptoStore CryptoCert
  CryptoCrl Object
The CryptoCrl object represents a Certificate Revocation List (CRL), which is a signed package containing a list of serial numbers and revocation dates of certificates which a Certification Authority has chosen to revoke.

An instance of the CryptoCrl object representing an existing CRL is obtained via the CryptoManager.ImportCrlFromFile method or CryptoStore.CRLs collection. An empty CryptoCrl object is created via the CryptoContext.CreateCRL method.

Properties Methods
Dates
EffectiveDate
Issuer
NextUpdate
SerialNumbers
StoreName
AddRevocation
ExportToFile

  CryptoCrl Properties

Dates As Variant (Read-Only)

Returns a Variant-wrapped safe array of Variants representing the list of the respective certificate revocation dates.

Usage:

Dim Dates
Dates = CRL.Dates
For i = 0 To UBound(Dates)
   Response.Write Dates(i) & "<BR>"
Next


EffectiveDate As Date (Read-Only)

Indicates when this CRL was published.

Issuer As CryptoName (Read-Only)

Returns the CRL's issuer information in the form of a CryptoName object.

NextUpdate As Date (Read-Only)

Indicates when the next CRL is scheduled to be available.

SerialNumbers As Variant (Read-Only)

Returns a Variant-wrapped safe array of Variants representing the list of certificate serial numbers (in the Hex format) this CRL contains.

Usage:

Dim Serials
Serials = CRL.SerialNumbers
For i = 0 To UBound(Serials)
   Response.Write Serials(i) & "<BR>"
Next


StoreName As String (Read-Only)

Returns this CRL's store name. This property is only meaningful if this CRL object was obtained using CryptoStore's CRLs collection. Otherwise it returns an empty string.

  CryptoCrl Methods


Sub AddRevocation ( SerialNumber As String, RevocationDate As Date )
Adds the serial number (in the Hex format) of a certificate to be revoked along with the respective revocation date to a CRL.

Usage:

CRL.AddRevocation "03804327900089BF11D363E8EFF4131D", Now()


Sub ExportToFile ( Path As String )
Exports the CRL to a file.

Usage:

CRL.ExportToFile "c:\mycrl.crl"


CryptoCert CryptoStore

  This site is owned and maintained by Persits Software, Inc. Copyright © 2000 - 2010. All Rights Reserved.