564
edits
Changes
→Browser Window property WebIDL
[Callback=FunctionOnly, NoInterfaceObject] interface GenerateKeypairCallback {
void onsuccess(DOMString pubKey);
};
[Callback=FunctionOnly, NoInterfaceObject] interface GetPublicKey {
void onsuccess(DOMString pubKey);
};
void generateKeypair(GenerateKeypairCallback callback);
void getPublicKey(GetPublicKeyCallback callback);
void encrypt(DOMString plainText, DOMString pubKey, PKEncryptCallback callback);