Adding new idl files for the crypto object. r=jst@netscape.com

This commit is contained in:
javi%netscape.com 2000-05-11 19:13:31 +00:00
parent 830e722a84
commit 77683d86ed
6 changed files with 36 additions and 1 deletions

View File

@ -0,0 +1,7 @@
interface CRMFObject {
/* IID: {0x16da46c0, 0x208d, 0x11d4, \
{0x8a, 0x7c, 0x00, 0x60, 0x08, 0xc8, 0x44, 0xc3}} */
readonly attribute DOMString request;
};

View File

@ -0,0 +1,15 @@
interface Crypto {
/* IID: {0xf45efbe0, 0x1d52, 0x11d4, \
{0x8a, 0x7c, 0x00, 0x60, 0x08, 0xc8, 0x44, 0xc3}} */
readonly attribute DOMString version;
CRMFObject generateCRMFRequest(/* ... */);
DOMString importUserCertificates(in DOMString nickname, in DOMString cmmfResponse, in boolean doForcedBackup);
DOMString popChallengeResponse(in DOMString challenge);
DOMString random(in long numBytes);
DOMString signText(/* ... */);
void alert(in DOMString message);
void logout();
void disableRightClick();
};

View File

@ -44,6 +44,9 @@ IDLSRCS = \
Plugin.idl \
MimeType.idl \
DOMException.idl \
CRMFObject.idl \
Crypto.idl \
Pkcs11.idl \
$(NULL)
include $(DEPTH)/config/rules.mk

View File

@ -0,0 +1,8 @@
interface Pkcs11 {
/* IID: {0x9fd42950, 0x25e7, 0x11d4, \
{0x8a, 0x7d, 0x00, 0x60, 0x08, 0xc8, 0x44, 0xc3}} */
long deletemodule(in DOMString moduleName);
long addmodule(in DOMString moduleName, in DOMString libraryFullPath, in long cryptoMechanismFlags, in long cipherFlags);
};

View File

@ -21,6 +21,8 @@ interface Window {
readonly attribute BarProp directories;
readonly attribute boolean closed;
readonly attribute WindowCollection frames;
readonly attribute Crypto crypto;
readonly attribute Pkcs11 pkcs11;
readonly replaceable attribute xpidl nsIControllers controllers;
attribute Window opener;
attribute wstring status;

View File

@ -26,7 +26,7 @@ MODULE=raptor
IDLSRCS= Navigator.idl Location.idl WindowCollection.idl Screen.idl History.idl \
BarProp.idl PluginArray.idl MimeTypeArray.idl Plugin.idl MimeType.idl \
DOMException.idl
DOMException.idl Crypto.idl CRMFObject.idl Pkcs11.idl
GLOBAL_IDLSRC= Window.idl