public interface IRepository
| Modifier and Type | Method and Description |
|---|---|
void |
checkRanges()
Checks to see if a new range is needed, or if we have reached the end of the
current range, or if a range conflict has occurred.
|
java.math.BigInteger |
getNextSerialNumber()
Retrieves the next serial number, and also increase the
serial number by one.
|
java.math.BigInteger |
getTheSerialNumber()
Retrieves the next serial number without increasing the serial number.
|
void |
resetSerialNumber(java.math.BigInteger serial)
Resets serial number.
|
void |
setEnableSerialMgmt(boolean value)
Sets whether serial number management is enabled for certs
and requests.
|
void |
setMaxSerial(java.lang.String serial)
Set the maximum serial number.
|
void |
setNextMaxSerial(java.lang.String serial)
Set the maximum serial number in next range.
|
java.math.BigInteger getNextSerialNumber()
throws EBaseException
EBaseException - failed to retrieve next serial numbervoid resetSerialNumber(java.math.BigInteger serial)
throws EBaseException
EBaseExceptionjava.math.BigInteger getTheSerialNumber()
throws EBaseException
EBaseException - failed to retrieve next serial numbervoid setMaxSerial(java.lang.String serial)
throws EBaseException
serial - maximum numberEBaseException - failed to set maximum serial numbervoid setNextMaxSerial(java.lang.String serial)
throws EBaseException
serial - maximum numberEBaseException - failed to set maximum serial number in next rangevoid checkRanges()
throws EBaseException
EBaseException - failed to check next range for conflictsvoid setEnableSerialMgmt(boolean value)
throws EBaseException
value - true/falseEBaseException - failed to set