public final class Alias
extends java.lang.Object
This object is simply a wrapper that holds the information required to access the appropriate certificate / private keys out of the keystore.
Constructor and Description |
---|
Alias() |
Alias(java.lang.String a)
Constructor
|
Alias(java.lang.String a,
char[] pw) |
Alias(java.lang.String a,
java.lang.String pw)
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlias()
Get the alias associated with this object.
|
char[] |
getAliasPassword()
Get the password associated with this object.
|
void |
setKeyStoreAlias(java.lang.String a,
char[] pw)
Set the keystore alias entry.
|
void |
setKeyStoreAlias(java.lang.String a,
java.lang.String pw)
Set the keystore alias entry.
|
public Alias()
Object()
public Alias(java.lang.String a, java.lang.String pw)
a
- the aliaspw
- the passwordpublic Alias(java.lang.String a, char[] pw)
a
- the aliaspw
- the passwordpublic Alias(java.lang.String a)
a
- the aliaspublic void setKeyStoreAlias(java.lang.String a, java.lang.String pw)
a
- the aliaspw
- the passwordpublic void setKeyStoreAlias(java.lang.String a, char[] pw)
a
- the aliaspw
- the passwordpublic java.lang.String getAlias()
public char[] getAliasPassword()