nsICRLManager 编辑
security/manager/ssl/public/nsICRLManager.idl
Scriptable Please add a summary to this article. Inherits from: nsISupports
Last changed in Gecko 1.7Method 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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论