mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Adding new idl files for the crypto object. r=jst@netscape.com
This commit is contained in:
parent
830e722a84
commit
77683d86ed
7
dom/public/idl/base/CRMFObject.idl
Normal file
7
dom/public/idl/base/CRMFObject.idl
Normal file
@ -0,0 +1,7 @@
|
||||
interface CRMFObject {
|
||||
/* IID: {0x16da46c0, 0x208d, 0x11d4, \
|
||||
{0x8a, 0x7c, 0x00, 0x60, 0x08, 0xc8, 0x44, 0xc3}} */
|
||||
|
||||
readonly attribute DOMString request;
|
||||
};
|
||||
|
15
dom/public/idl/base/Crypto.idl
Normal file
15
dom/public/idl/base/Crypto.idl
Normal 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();
|
||||
};
|
||||
|
@ -44,6 +44,9 @@ IDLSRCS = \
|
||||
Plugin.idl \
|
||||
MimeType.idl \
|
||||
DOMException.idl \
|
||||
CRMFObject.idl \
|
||||
Crypto.idl \
|
||||
Pkcs11.idl \
|
||||
$(NULL)
|
||||
|
||||
include $(DEPTH)/config/rules.mk
|
||||
|
8
dom/public/idl/base/Pkcs11.idl
Normal file
8
dom/public/idl/base/Pkcs11.idl
Normal 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);
|
||||
};
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user