move PKCS11_Config from a private to public header file.

git-svn-id: svn://10.0.0.236/branches/NSS_30_BRANCH@79648 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
relyea%netscape.com
2000-09-20 20:51:33 +00:00
parent 69c6e6f62c
commit e4b9eaa90e
2 changed files with 9 additions and 10 deletions

View File

@@ -313,4 +313,12 @@ struct CK_FUNCTION_LIST {
}
#endif
/*
** Functions called directly by applications to configure the FIPS token.
*/
extern void PK11_ConfigurePKCS11(char *man, char *libdes, char *tokdes,
char *ptokdes, char *slotdes, char *pslotdes, char *fslotdes,
char *fpslotdes, int minPwd, int pwdRequired);
extern void PK11_ConfigureFIPS(char *slotdes, char *pslotdes);
#endif

View File

@@ -32,7 +32,7 @@
* may use your version of this file under either the MPL or the
* GPL.
*
* $Id: softoken.h,v 1.1 2000-03-31 19:31:02 relyea%netscape.com Exp $
* $Id: softoken.h,v 1.1.4.1 2000-09-20 20:51:33 relyea%netscape.com Exp $
*/
#ifndef _SOFTOKEN_H_
@@ -130,15 +130,6 @@ SECStatus RSA_DecryptRaw(SECKEYLowPrivateKey *key, unsigned char *output,
unsigned int max_output_len,
unsigned char *input, unsigned int input_len);
/*
** Functions called directly by applications to configure the FIPS token.
*/
extern void PK11_ConfigurePKCS11(char *man, char *libdes, char *tokdes,
char *ptokdes, char *slotdes, char *pslotdes, char *fslotdes,
char *fpslotdes, int minPwd, int pwdRequired);
extern void PK11_ConfigureFIPS(char *slotdes, char *pslotdes);
/*
** Prepare a buffer for DES encryption, growing to the appropriate boundary,
** filling with the appropriate padding.