| java.lang.Object org.ejbca.core.model.hardtoken.HardTokenData
HardTokenData | public class HardTokenData implements java.io.Serializable(Code) | | This is a value class containing the data relating to a hard token sent between
server and clients.
author: TomSelleck version: $Id: HardTokenData.java,v 1.2 2007/05/07 11:56:50 herrvendil Exp $ |
HardTokenData | public HardTokenData(String tokensn, String username, Date createtime, Date modifytime, int tokentype, String significantIssuerDN, HardToken hardtoken, String copyof, Collection copies)(Code) | | Construtor of a hard token data.
Parameters: tokensn - the tokensn Parameters: username - the username owning the token Parameters: createtime - time the token was created Parameters: modifytime - time whem token was modified or a copy was made. Parameters: tokentype - the hardtokenprofile used to create the token Parameters: significantIssuerDN - of the CA that the card belongs to Parameters: hardtoken - the actual hardtoken data Parameters: copyof - tokenSN of original or null of this is an original Parameters: copies - Collention of tokensn of tokens copied from this token, null if no copies have been made. |
HardTokenData | public HardTokenData()(Code) | | |
getCopies | public Collection getCopies()(Code) | | Returns a collection of (Strings) containing the tokenSN of all copies made
of this token.
A Collection of tokenSN or null of no copies have been made. |
getSignificantIssuerDN | public String getSignificantIssuerDN()(Code) | | |
getTokenType | public int getTokenType()(Code) | | |
isOriginal | public boolean isOriginal()(Code) | | |
setCreateTime | public void setCreateTime(Date createtime)(Code) | | |
setModifyTime | public void setModifyTime(Date modifytime)(Code) | | |
setTokenType | public void setTokenType(int tokentype)(Code) | | |
|
|