Package com.adaptris.security.keystore
Class Alias
- java.lang.Object
-
- com.adaptris.security.keystore.Alias
-
public final class Alias extends java.lang.Object
Alias in a keystore.This object is simply a wrapper that holds the information required to access the appropriate certificate / private keys out of the keystore.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAlias()
The alias name.char[]
getAliasPassword()
The password if any associated with this alias in the keystore.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.
-
-
-
Constructor Detail
-
Alias
public Alias(java.lang.String a, java.lang.String pw)
Constructor- Parameters:
a
- the aliaspw
- the password
-
Alias
public Alias(java.lang.String a, char[] pw)
- Parameters:
a
- the aliaspw
- the password
-
Alias
public Alias(java.lang.String a)
Constructor- Parameters:
a
- the alias
-
Alias
public Alias()
-
-
Method Detail
-
setKeyStoreAlias
public void setKeyStoreAlias(java.lang.String a, java.lang.String pw)
Set the keystore alias entry.- Parameters:
a
- the aliaspw
- the password
-
setKeyStoreAlias
public void setKeyStoreAlias(java.lang.String a, char[] pw)
Set the keystore alias entry.- Parameters:
a
- the aliaspw
- the password
-
getAlias
public java.lang.String getAlias()
The alias name.
-
getAliasPassword
public char[] getAliasPassword()
The password if any associated with this alias in the keystore.
-
-