Package com.symphony.api.model
Class Password
- java.lang.Object
-
- com.symphony.api.model.Password
-
public class Password extends Object
Password. Stored as derived password in both the Pod and the Key Manager using PBKDF2 function. Number of iterations should be 10000 and desired length 256 bits.
-
-
Constructor Summary
Constructors Constructor Description Password()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getHPassword()
Pod password derived with PBKDF2.String
getHSalt()
Pod password salt used for PBKDF2 derivation.String
getKhPassword()
Key Manager password derived with PBKDF2.String
getKhSalt()
Key Manager password salt used for PBKDF2 derivation.Password
hPassword(String hPassword)
Password
hSalt(String hSalt)
Password
khPassword(String khPassword)
Password
khSalt(String khSalt)
void
setHPassword(String hPassword)
void
setHSalt(String hSalt)
void
setKhPassword(String khPassword)
void
setKhSalt(String khSalt)
String
toString()
-
-
-
Method Detail
-
getHSalt
public String getHSalt()
Pod password salt used for PBKDF2 derivation.- Returns:
- hSalt
-
setHSalt
public void setHSalt(String hSalt)
-
getHPassword
public String getHPassword()
Pod password derived with PBKDF2.- Returns:
- hPassword
-
setHPassword
public void setHPassword(String hPassword)
-
getKhSalt
public String getKhSalt()
Key Manager password salt used for PBKDF2 derivation.- Returns:
- khSalt
-
setKhSalt
public void setKhSalt(String khSalt)
-
getKhPassword
public String getKhPassword()
Key Manager password derived with PBKDF2.- Returns:
- khPassword
-
setKhPassword
public void setKhPassword(String khPassword)
-
-