security/manager/ssl/public/nsICRLManager.idlScriptable
Please add a summary to this article.
Inherits from: nsISupports Last changed in Gecko 1.7

Method overview

wstring computeNextAutoUpdateTime(in nsICRLInfo info, in unsigned long autoUpdateType, in double noOfDays);
void deleteCrl(in unsigned long crlIndex);
nsIArray getCrls();
void importCrl([array, size_is(length)] in octet data, in unsigned long length, in nsIURI uri, in unsigned long type, in boolean doSilentDownload, in wstring crlKey);
void rescheduleCRLAutoUpdate();
boolean updateCRLFromURL(in wstring url, in wstring key);

Constants

Constant Value Description
TYPE_AUTOUPDATE_TIME_BASED 1  
TYPE_AUTOUPDATE_FREQ_BASED 2  

Methods

computeNextAutoUpdateTime()

wstring computeNextAutoUpdateTime(
  in nsICRLInfo info,
  in unsigned long autoUpdateType,
  in double noOfDays
);
Parameters
info
autoUpdateType
noOfDays
Return value

 

deleteCrl()

Delete the crl.

void deleteCrl(
  in unsigned long crlIndex
);
Parameters
crlIndex

getCrls()

Get a list of Crl entries in the DB.

nsIArray getCrls();
Parameters

None.

Return value

 

importCrl()

Import a CRL into the certificate database.

void importCrl(
  [array, size_is(length)] in octet data,
  in unsigned long length,
  in nsIURI uri,
  in unsigned long type,
  in boolean doSilentDownload,
  in wstring crlKey
);
Parameters
data
length
uri
type
doSilentDownload
crlKey

rescheduleCRLAutoUpdate()

This would reschedule the autoupdate of crls with auto update enable.

void rescheduleCRLAutoUpdate();
Parameters

None.

updateCRLFromURL()

Update an existing crl from the last fetched url. Needed for the update button in crl manager.

boolean updateCRLFromURL(
  in wstring url,
  in wstring key
);
Parameters
url
key
Return value