| OLD | NEW |
| 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 752 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 763 * a PBE algorithm ID. | 763 * a PBE algorithm ID. |
| 764 * Caller is responsible for freeing the return parameter (param). | 764 * Caller is responsible for freeing the return parameter (param). |
| 765 */ | 765 */ |
| 766 CK_MECHANISM_TYPE | 766 CK_MECHANISM_TYPE |
| 767 PK11_GetPBECryptoMechanism(SECAlgorithmID *algid, | 767 PK11_GetPBECryptoMechanism(SECAlgorithmID *algid, |
| 768 SECItem **param, SECItem *pwd); | 768 SECItem **param, SECItem *pwd); |
| 769 | 769 |
| 770 /********************************************************************** | 770 /********************************************************************** |
| 771 * Functions to manage secmod flags | 771 * Functions to manage secmod flags |
| 772 **********************************************************************/ | 772 **********************************************************************/ |
| 773 PK11DefaultArrayEntry * PK11_GetDefaultArray(int *); | 773 PK11DefaultArrayEntry *PK11_GetDefaultArray(int *size); |
| 774 SECStatus PK11_UpdateSlotAttribute(PK11SlotInfo *, PK11DefaultArrayEntry *, | 774 SECStatus PK11_UpdateSlotAttribute(PK11SlotInfo *slot, |
| 775 » » » » » » » PRBool ); | 775 » » » » PK11DefaultArrayEntry *entry, PRBool add); |
| 776 | 776 |
| 777 /********************************************************************** | 777 /********************************************************************** |
| 778 * Functions to look at PKCS #11 dependent data | 778 * Functions to look at PKCS #11 dependent data |
| 779 **********************************************************************/ | 779 **********************************************************************/ |
| 780 PK11GenericObject *PK11_FindGenericObjects(PK11SlotInfo *slot, | 780 PK11GenericObject *PK11_FindGenericObjects(PK11SlotInfo *slot, |
| 781 CK_OBJECT_CLASS objClass); | 781 CK_OBJECT_CLASS objClass); |
| 782 PK11GenericObject *PK11_GetNextGenericObject(PK11GenericObject *object); | 782 PK11GenericObject *PK11_GetNextGenericObject(PK11GenericObject *object); |
| 783 PK11GenericObject *PK11_GetPrevGenericObject(PK11GenericObject *object); | 783 PK11GenericObject *PK11_GetPrevGenericObject(PK11GenericObject *object); |
| 784 SECStatus PK11_UnlinkGenericObject(PK11GenericObject *object); | 784 SECStatus PK11_UnlinkGenericObject(PK11GenericObject *object); |
| 785 SECStatus PK11_LinkGenericObject(PK11GenericObject *list, | 785 SECStatus PK11_LinkGenericObject(PK11GenericObject *list, |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 833 PK11_GetLowLevelKeyIDForCert(PK11SlotInfo *slot, | 833 PK11_GetLowLevelKeyIDForCert(PK11SlotInfo *slot, |
| 834 CERTCertificate *cert, void *pwarg); | 834 CERTCertificate *cert, void *pwarg); |
| 835 SECItem * | 835 SECItem * |
| 836 PK11_GetLowLevelKeyIDForPrivateKey(SECKEYPrivateKey *key); | 836 PK11_GetLowLevelKeyIDForPrivateKey(SECKEYPrivateKey *key); |
| 837 | 837 |
| 838 PRBool SECMOD_HasRootCerts(void); | 838 PRBool SECMOD_HasRootCerts(void); |
| 839 | 839 |
| 840 SEC_END_PROTOS | 840 SEC_END_PROTOS |
| 841 | 841 |
| 842 #endif | 842 #endif |
| OLD | NEW |