|
Cumulus4j API (1.1.0) |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.cumulus4j.keymanager.api.DateDependentKeyStrategyInitParam
public class DateDependentKeyStrategyInitParam
Options controlling how org.cumulus4j.keymanager.DateDependentKeyStrategy.init(...)
should behave.
Constructor Summary | |
---|---|
DateDependentKeyStrategyInitParam()
|
Method Summary | |
---|---|
long |
getKeyActivityPeriodMSec()
Get the time (in millisec) how long each key should be valid. |
long |
getKeyStorePeriodMSec()
How long (in millisec) should the key store have fresh, unused keys? This number divided by the keyActivityPeriodMSec determines, how many keys must be generated. |
void |
setKeyActivityPeriodMSec(long keyActivityPeriodMSec)
|
void |
setKeyStorePeriodMSec(long keyStorePeriodMSec)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DateDependentKeyStrategyInitParam()
Method Detail |
---|
public long getKeyActivityPeriodMSec()
public void setKeyActivityPeriodMSec(long keyActivityPeriodMSec)
keyActivityPeriodMSec
- how long (in millisec) should each key be valid. If < 1, the
default value of 24 hours (= 86400000 msec) will be used.public long getKeyStorePeriodMSec()
keyActivityPeriodMSec
determines, how many keys must be generated.
If < 1, the default value of 50 years (50 * 365 days - ignoring leap years!) will be used.
public void setKeyStorePeriodMSec(long keyStorePeriodMSec)
keyStorePeriodMSec
- how long should the key store have fresh, unused keys. This number
divided by the keyActivityPeriodMSec
determines, how many keys must be generated.
If < 1, the default value of 50 years (50 * 365 days - ignoring leap years!) will be used.
|
Cumulus4j API (1.1.0) |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |