OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef NET_BASE_X509_UTIL_NSS_H_ | |
6 #define NET_BASE_X509_UTIL_NSS_H_ | |
7 #pragma once | |
8 | |
9 #include <string> | |
10 | |
11 #include "base/time.h" | |
12 | |
13 typedef struct CERTCertificateStr CERTCertificate; | |
14 struct SECKEYPrivateKeyStr; | |
15 struct SECKEYPublicKeyStr; | |
wtc
2011/10/17 19:09:27
Please replace these two lines with
typedef struct
mattm
2011/10/17 22:54:19
Done.
| |
16 | |
17 namespace net { | |
18 | |
19 namespace x509_util { | |
20 | |
21 CERTCertificate* CreateSelfSignedCert( | |
22 SECKEYPublicKeyStr* public_key, | |
23 SECKEYPrivateKeyStr* key, | |
wtc
2011/10/17 19:09:27
Document this function.
Nit: this parameter shoul
mattm
2011/10/17 22:54:19
Done.
| |
24 const std::string& subject, | |
25 uint32 serial_number, | |
26 base::TimeDelta valid_duration); | |
27 | |
28 } // namespace x509_util | |
29 | |
30 } // namespace net | |
31 | |
32 #endif // NET_BASE_X509_UTIL_NSS_H_ | |
OLD | NEW |