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

Side by Side Diff: mozilla/security/nss/lib/pk11wrap/pk11pub.h

Issue 11359091: Update NSS to NSS 3.14 pre-release snapshot 2012-06-26 01:00:00 PDT. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/nss/
Patch Set: Remove the RCS Id from nss-shvfy-const.patch Created 8 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* This Source Code Form is subject to the terms of the Mozilla Public 1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this 2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 #ifndef _PK11PUB_H_ 4 #ifndef _PK11PUB_H_
5 #define _PK11PUB_H_ 5 #define _PK11PUB_H_
6 #include "plarena.h" 6 #include "plarena.h"
7 #include "seccomon.h" 7 #include "seccomon.h"
8 #include "secoidt.h" 8 #include "secoidt.h"
9 #include "secdert.h" 9 #include "secdert.h"
10 #include "keyt.h" 10 #include "keyt.h"
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 PRBool PK11_IsFIPS(void); 140 PRBool PK11_IsFIPS(void);
141 SECMODModule *PK11_GetModule(PK11SlotInfo *slot); 141 SECMODModule *PK11_GetModule(PK11SlotInfo *slot);
142 142
143 /********************************************************************* 143 /*********************************************************************
144 * Slot mapping utility functions. 144 * Slot mapping utility functions.
145 *********************************************************************/ 145 *********************************************************************/
146 PRBool PK11_IsPresent(PK11SlotInfo *slot); 146 PRBool PK11_IsPresent(PK11SlotInfo *slot);
147 PRBool PK11_DoesMechanism(PK11SlotInfo *slot, CK_MECHANISM_TYPE type); 147 PRBool PK11_DoesMechanism(PK11SlotInfo *slot, CK_MECHANISM_TYPE type);
148 PK11SlotList * PK11_GetAllTokens(CK_MECHANISM_TYPE type,PRBool needRW, 148 PK11SlotList * PK11_GetAllTokens(CK_MECHANISM_TYPE type,PRBool needRW,
149 PRBool loadCerts, void *wincx); 149 PRBool loadCerts, void *wincx);
150 PK11SlotInfo *PK11_GetBestSlotMultiple(CK_MECHANISM_TYPE *type, int count, 150 PK11SlotInfo *PK11_GetBestSlotMultipleWithKeySize(CK_MECHANISM_TYPE *type,
151 » » » » » » » void *wincx); 151 » » » unsigned long *keySize, unsigned int count, void *wincx );
152 PK11SlotInfo *PK11_GetBestSlotMultiple(CK_MECHANISM_TYPE *type,
153 » » » » » unsigned int count, void *wincx);
152 PK11SlotInfo *PK11_GetBestSlot(CK_MECHANISM_TYPE type, void *wincx); 154 PK11SlotInfo *PK11_GetBestSlot(CK_MECHANISM_TYPE type, void *wincx);
155 PK11SlotInfo *PK11_GetBestSlotWithKeySize(CK_MECHANISM_TYPE type,
156 unsigned long keySize, void *wincx);
153 CK_MECHANISM_TYPE PK11_GetBestWrapMechanism(PK11SlotInfo *slot); 157 CK_MECHANISM_TYPE PK11_GetBestWrapMechanism(PK11SlotInfo *slot);
154 int PK11_GetBestKeyLength(PK11SlotInfo *slot, CK_MECHANISM_TYPE type); 158 int PK11_GetBestKeyLength(PK11SlotInfo *slot, CK_MECHANISM_TYPE type);
155 159
156 /* 160 /*
157 * Open a new database using the softoken. The caller is responsible for making 161 * Open a new database using the softoken. The caller is responsible for making
158 * sure the module spec is correct and usable. The caller should ask for one 162 * sure the module spec is correct and usable. The caller should ask for one
159 * new database per call if the caller wants to get meaningful information 163 * new database per call if the caller wants to get meaningful information
160 * about the new database. 164 * about the new database.
161 * 165 *
162 * moduleSpec is the same data that you would pass to softoken at 166 * moduleSpec is the same data that you would pass to softoken at
(...skipping 650 matching lines...) Expand 10 before | Expand all | Expand 10 after
813 PK11_GetLowLevelKeyIDForCert(PK11SlotInfo *slot, 817 PK11_GetLowLevelKeyIDForCert(PK11SlotInfo *slot,
814 CERTCertificate *cert, void *pwarg); 818 CERTCertificate *cert, void *pwarg);
815 SECItem * 819 SECItem *
816 PK11_GetLowLevelKeyIDForPrivateKey(SECKEYPrivateKey *key); 820 PK11_GetLowLevelKeyIDForPrivateKey(SECKEYPrivateKey *key);
817 821
818 PRBool SECMOD_HasRootCerts(void); 822 PRBool SECMOD_HasRootCerts(void);
819 823
820 SEC_END_PROTOS 824 SEC_END_PROTOS
821 825
822 #endif 826 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698