public class KeyStoreEntry extends Object
Constructor and Description |
---|
KeyStoreEntry()
Create a new KeyStroreEntry.
|
KeyStoreEntry(String type,
String alias,
long date,
Certificate[] certificates,
long from,
long to)
Create a new KeyStroreEntry.
|
Modifier and Type | Method and Description |
---|---|
String |
getAlgorithm()
Get the algorithm.
|
String |
getAlias()
Get the alias.
|
Certificate[] |
getCertificates()
Get the certificates.
|
long |
getDate()
Get the date.
|
long |
getFrom()
Get the from.
|
long |
getTo()
Get the to.
|
String |
getType()
Get the type.
|
boolean |
isExpired()
Get the protected state.
|
boolean |
isProtected()
Get the protected state.
|
void |
setAlgorithm(String algorithm)
Set the algorithm.
|
void |
setAlias(String alias)
Set the alias.
|
void |
setCertificates(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(String type)
Set the type.
|
public KeyStoreEntry()
public KeyStoreEntry(String type, String alias, long date, Certificate[] certificates, long from, long to)
public String getType()
public void setType(String type)
type
- The type to set.public String getAlias()
public void setAlias(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 String getAlgorithm()
public void setAlgorithm(String algorithm)
algorithm
- The algorithm to set.public Certificate[] getCertificates()
public void setCertificates(Certificate[] certificates)
certificates
- The certificates to set.public boolean isExpired()
Copyright © 2013. All Rights Reserved.