Changes

Jump to: navigation, search

Privacy/Features/DOMCryptAPISpec/Latest

123 bytes removed, 05:52, 14 July 2011
Browser Window property WebIDL
};
dictionary CryptoKeyPair interface PKCryptoPublicKey { long created; DOMString privKey; readonly attribute DOMString pubKey; readonly attribute DOMString saltalgorithm; DOMString iv; DOMString algorithmreadonly attribute integer created;
}
 
dictionary CryptoConfiguration {
CryptoKeyPair keyID;
};
interface PKCryptoMessage {
attribute DOMString cryptoMessage; attribute DOMString wrappedKey; attribute DOMString pubKey; attribute DOMString salt; attribute DOMString iv;
attribute DOMString algorithm;
};
};
[Callback=FunctionOnly// Use JWE as the crypto object?, NoInterfaceObject] or something like the following:interface SymGenerateKeyCallback SymCipherObject { void onsuccess(attribute DOMString cipherString; attribute DOMString symKey)algorithm; attribute DOMString symKeyID; // What is missing here?
};
[Callback=FunctionOnly, NoInterfaceObject] interface SymEncryptCallback {
void onsuccess(DOMString cipherTextSymCipherObject cipherObject);
};
attribute DOMString algorithm;
void generateKeyencrypt(SymGenerateKeyCallback DOMString plainText, SymEncryptCallback callback);
void encrypt(DOMString plainText, DOMString symKey, SymEncryptCallback callback);  void decrypt(DOMString cipherText, DOMString symKeysymKeyID, SymDecryptCallback callback);
};
};
 
</pre>
564
edits

Navigation menu