nsIPK11Token

IID:51191434-1dd2-11b2-a17c-e49c4e99a4e3
Inherits From:nsISupports

Constants

PRInt32 ASK_EVERY_TIME = -1
PRInt32 ASK_FIRST_TIME = 0
PRInt32 ASK_EXPIRE_TIME = 1

Properties

readonly PRInt32 minimumPasswordLength

readonly PRBool needsUserInit

readonly PRUnichar* tokenFWVersion

readonly PRUnichar* tokenHWVersion

readonly PRUnichar* tokenLabel

readonly PRUnichar* tokenManID

readonly PRUnichar* tokenName

readonly PRUnichar* tokenSerialNumber


Methods

void changePassword ( PRUnichar* oldPassword , PRUnichar* newPassword ) PRBool checkPassword ( PRUnichar* password ) PRInt32 getAskPasswordTimeout ( ) PRInt32 getAskPasswordTimes ( ) void initPassword ( PRUnichar* initialPassword ) PRBool isFriendly ( ) PRBool isHardwareToken ( ) PRBool isLoggedIn ( ) void login ( PRBool force ) void logoutAndDropAuthenticatedResources ( ) void logoutSimple ( ) PRBool needsLogin ( ) void reset ( ) void setAskPasswordDefaults ( PRInt32 askTimes , PRInt32 timeout )

void changePassword ( PRUnichar* oldPassword , PRUnichar* newPassword )

Arguments:
oldPassword
newPassword

PRBool checkPassword ( PRUnichar* password )

Arguments:
password

PRInt32 getAskPasswordTimeout ( )


PRInt32 getAskPasswordTimes ( )


void initPassword ( PRUnichar* initialPassword )

Arguments:
initialPassword

PRBool isFriendly ( )


PRBool isHardwareToken ( )


PRBool isLoggedIn ( )


void login ( PRBool force )

Arguments:
force

void logoutAndDropAuthenticatedResources ( )


void logoutSimple ( )


PRBool needsLogin ( )


void reset ( )


void setAskPasswordDefaults ( PRInt32 askTimes , PRInt32 timeout )

Arguments:
askTimes
timeout

References

This interface is returned from the following methods:

nsIPK11TokenDB.findTokenByName, nsIPK11TokenDB.getInternalKeyToken, nsIPKCS11Slot.getToken

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com