public class KeyStoreEntry
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
algorithm
The algorithm.
|
protected java.lang.String |
alias
The alias.
|
protected java.security.cert.Certificate[] |
certificates
The details.
|
protected long |
date
The date.
|
protected long |
from
The validity from date.
|
protected boolean |
prot
Flag if entry is password protected.
|
protected long |
to
The validity to date.
|
protected java.lang.String |
type
The entry type.
|
| Constructor and Description |
|---|
KeyStoreEntry()
Create a new KeyStroreEntry.
|
KeyStoreEntry(java.lang.String type,
java.lang.String alias,
long date,
java.security.cert.Certificate[] certificates,
long from,
long to)
Create a new KeyStroreEntry.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAlgorithm()
Get the algorithm.
|
java.lang.String |
getAlias()
Get the alias.
|
java.security.cert.Certificate[] |
getCertificates()
Get the certificates.
|
long |
getDate()
Get the date.
|
long |
getFrom()
Get the from.
|
long |
getTo()
Get the to.
|
java.lang.String |
getType()
Get the type.
|
boolean |
isExpired()
Get the protected state.
|
boolean |
isProtected()
Get the protected state.
|
void |
setAlgorithm(java.lang.String algorithm)
Set the algorithm.
|
void |
setAlias(java.lang.String alias)
Set the alias.
|
void |
setCertificates(java.security.cert.Certificate[] certificates)
Set the certificates.
|
void |
setDate(long date)
Set the date.
|
void |
setFrom(long from)
Set the from.
|
void |
setProtected(boolean prot)
Set the protected state.
|
void |
setTo(long to)
Set the to.
|
void |
setType(java.lang.String type)
Set the type.
|
protected java.lang.String type
protected boolean prot
protected java.lang.String alias
protected java.lang.String algorithm
protected long date
protected java.security.cert.Certificate[] certificates
protected long from
protected long to
public KeyStoreEntry()
public KeyStoreEntry(java.lang.String type,
java.lang.String alias,
long date,
java.security.cert.Certificate[] certificates,
long from,
long to)
public java.lang.String getType()
public void setType(java.lang.String type)
type - The type to set.public java.lang.String getAlias()
public void setAlias(java.lang.String alias)
alias - The alias to set.public long getDate()
public void setDate(long date)
date - The date to set.public long getFrom()
public void setFrom(long from)
from - The from to set.public long getTo()
public void setTo(long to)
to - The to to set.public boolean isProtected()
public void setProtected(boolean prot)
prot - The protected to set.public java.lang.String getAlgorithm()
public void setAlgorithm(java.lang.String algorithm)
algorithm - The algorithm to set.public java.security.cert.Certificate[] getCertificates()
public void setCertificates(java.security.cert.Certificate[] certificates)
certificates - The certificates to set.public boolean isExpired()