net.i2p.crypto
Class TransientSessionKeyManager.OutboundSession
java.lang.Object
net.i2p.crypto.TransientSessionKeyManager.OutboundSession
- Enclosing class:
- TransientSessionKeyManager
class TransientSessionKeyManager.OutboundSession
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransientSessionKeyManager.OutboundSession
public TransientSessionKeyManager.OutboundSession(PublicKey target)
TransientSessionKeyManager.OutboundSession
TransientSessionKeyManager.OutboundSession(PublicKey target,
SessionKey curKey,
long established,
long lastUsed,
java.util.List tagSets)
getTagSets
java.util.List getTagSets()
- list of TagSet objects
getTarget
public PublicKey getTarget()
getCurrentKey
public SessionKey getCurrentKey()
setCurrentKey
public void setCurrentKey(SessionKey key)
getEstablishedDate
public long getEstablishedDate()
getLastUsedDate
public long getLastUsedDate()
expireTags
public int expireTags()
- Expire old tags, returning the number of tag sets removed
consumeNext
public SessionTag consumeNext()
availableTags
public int availableTags()
getLastExpirationDate
public long getLastExpirationDate()
- Get the furthest away tag set expiration date - after which all of the
tags will have expired
addTags
public void addTags(TransientSessionKeyManager.TagSet set)