Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1055)

Unified Diff: net/third_party/mozilla_security_manager/nsKeygenHandler.h

Issue 5686002: NSS: PKCS 11 password prompt. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressing review comments Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/net.gyp ('k') | net/third_party/mozilla_security_manager/nsKeygenHandler.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/third_party/mozilla_security_manager/nsKeygenHandler.h
diff --git a/net/third_party/mozilla_security_manager/nsKeygenHandler.h b/net/third_party/mozilla_security_manager/nsKeygenHandler.h
index ae1f5a3e047e11a5c57de17162a8588760abf3a6..4c20e5617106aae76927690978968d34328d9058 100644
--- a/net/third_party/mozilla_security_manager/nsKeygenHandler.h
+++ b/net/third_party/mozilla_security_manager/nsKeygenHandler.h
@@ -43,6 +43,7 @@
#include <string>
class GURL;
+typedef struct PK11SlotInfoStr PK11SlotInfo;
namespace mozilla_security_manager {
@@ -55,10 +56,12 @@ namespace mozilla_security_manager {
// key_size_in_bits: key size in bits (usually 2048)
// challenge: challenge string sent by server
// url: the URL which requested the SPKAC
+// slot: a slot to generate the key in, should be authenticated
// stores_key: should the generated key pair be stored persistently?
std::string GenKeyAndSignChallenge(int key_size_in_bits,
const std::string& challenge,
const GURL& url,
+ PK11SlotInfo* slot,
bool stores_key);
} // namespace mozilla_security_manager
« no previous file with comments | « net/net.gyp ('k') | net/third_party/mozilla_security_manager/nsKeygenHandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698