Class PWsdrCache
java.lang.Object
com.netscape.cmscore.security.PWsdrCache
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPWsdrCache(String pwCache) PWsdrCache(String pwCache, String pwcTokenname, byte[] keyId, boolean isTool) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidbyte[]static Stringbase64Encode(byte[] bytes) voiddeleteEntry(String tag) voiddeleteUniqueNamedKey(String nickName) static booleanbyte[]byte[]generateSDRKeyWithNickName(String nickName) org.mozilla.jss.util.Passwordorg.mozilla.jss.util.Passwordbyte[]getKeyId()static booleanisNT()Checks if this is NT.booleanpprint()string2Hashtable(String cache) voidwritePWcache(String bufs)
-
Field Details
-
logger
public static org.slf4j.Logger logger -
PROP_PWC_TOKEN_NAME
- See Also:
-
PROP_PWC_KEY_ID
- See Also:
-
PROP_PWC_NICKNAME
- See Also:
-
-
Constructor Details
-
PWsdrCache
- Throws:
EBaseException
-
PWsdrCache
-
PWsdrCache
- Throws:
EBaseException
-
-
Method Details
-
getKeyId
public byte[] getKeyId() -
getTokenName
-
deleteUniqueNamedKey
-
generateSDRKey
-
generateSDRKeyWithNickName
-
base64Decode
- Throws:
IOException
-
base64Encode
- Throws:
IOException
-
addEntry
- Throws:
EBaseException
-
addEntry
- Throws:
EBaseException
-
addEntry
public void addEntry(String tag, String pwd, Hashtable<String, String> tagPwds) throws EBaseException- Throws:
EBaseException
-
deleteEntry
- Throws:
EBaseException
-
readPWcache
- Throws:
EBaseException
-
writePWcache
- Throws:
EBaseException
-
hashtable2String
-
string2Hashtable
-
getEntry
-
getEntry
-
isNT
public static boolean isNT()Checks if this is NT. -
exec
- Throws:
IOException
-
pprint
public boolean pprint()
-