Chromium Code Reviews| 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..5e8fa89b0d8d9c52a3e3f8b9177b3dbe4fc62be9 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 store the key in, should be authenticated |
|
wtc
2010/12/15 20:54:36
Nit: store the key => generate the key
because we
mattm
2011/01/12 01:22:07
Done.
|
| // 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 |