public interface IKeyRecord
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ATTR_ALGORITHM |
static java.lang.String |
ATTR_ARCHIVED_BY |
static java.lang.String |
ATTR_CLIENT_ID |
static java.lang.String |
ATTR_CREATE_TIME |
static java.lang.String |
ATTR_DATA_TYPE |
static java.lang.String |
ATTR_DATE_OF_RECOVERY |
static java.lang.String |
ATTR_ID |
static java.lang.String |
ATTR_KEY_SIZE |
static java.lang.String |
ATTR_META_INFO |
static java.lang.String |
ATTR_MODIFY_TIME |
static java.lang.String |
ATTR_OWNER_NAME |
static java.lang.String |
ATTR_PRIVATE_KEY_DATA |
static java.lang.String |
ATTR_PUBLIC_KEY_DATA |
static java.lang.String |
ATTR_REALM |
static java.lang.String |
ATTR_STATE |
static java.lang.String |
ATTR_STATUS |
static java.lang.String |
STATUS_ANY |
static java.lang.String |
STATUS_INVALID |
static java.lang.String |
STATUS_VALID |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlgorithm()
Retrieves key algorithm.
|
java.lang.String |
getArchivedBy()
Retrieves archiver identifier.
|
java.lang.String |
getClientId()
Retrieves client ID.
|
java.util.Date |
getCreateTime()
Retrieves creation time.
|
java.lang.String |
getDataType()
Retrieves key data type.
|
java.util.Date[] |
getDateOfRevocation()
Retrieves dates of recovery.
|
java.lang.Integer |
getKeySize()
Retrieves key length.
|
java.lang.String |
getKeyStatus()
Retrieves key status.
|
MetaInfo |
getMetaInfo()
Retrieves meta info.
|
java.util.Date |
getModifyTime()
Retrieves last modification time.
|
java.lang.String |
getOwnerName()
Retrieves key owner name.
|
byte[] |
getPublicKeyData()
Retrieves public key data.
|
java.lang.String |
getRealm()
Retrieves authorization realm.
|
java.math.BigInteger |
getSerialNumber()
Retrieves key identifier.
|
KeyState |
getState()
Retrieves the state of the key.
|
static final java.lang.String ATTR_ID
static final java.lang.String ATTR_STATE
static final java.lang.String ATTR_ALGORITHM
static final java.lang.String ATTR_KEY_SIZE
static final java.lang.String ATTR_OWNER_NAME
static final java.lang.String ATTR_PRIVATE_KEY_DATA
static final java.lang.String ATTR_PUBLIC_KEY_DATA
static final java.lang.String ATTR_DATE_OF_RECOVERY
static final java.lang.String ATTR_CREATE_TIME
static final java.lang.String ATTR_MODIFY_TIME
static final java.lang.String ATTR_META_INFO
static final java.lang.String ATTR_ARCHIVED_BY
static final java.lang.String ATTR_CLIENT_ID
static final java.lang.String ATTR_DATA_TYPE
static final java.lang.String ATTR_STATUS
static final java.lang.String ATTR_REALM
static final java.lang.String STATUS_ANY
static final java.lang.String STATUS_VALID
static final java.lang.String STATUS_INVALID
KeyState getState() throws EBaseException
EBaseException
- failed to retrieve state of the keyjava.math.BigInteger getSerialNumber() throws EBaseException
EBaseException
- failed to retrieve key idjava.lang.String getOwnerName() throws EBaseException
EBaseException
- failed to retrieve key owner namejava.lang.String getAlgorithm()
java.lang.Integer getKeySize() throws EBaseException
EBaseException
- failed to retrieve key lengthMetaInfo getMetaInfo()
java.lang.String getClientId() throws EBaseException
EBaseException
- failed to retrieve client idjava.lang.String getDataType() throws EBaseException
EBaseException
- failed to retrieve data typejava.lang.String getKeyStatus() throws EBaseException
EBaseException
- failed to retrieve key statusjava.lang.String getArchivedBy()
java.util.Date getCreateTime()
java.util.Date getModifyTime()
java.util.Date[] getDateOfRevocation() throws EBaseException
EBaseException
- failed to retrieve recovery historybyte[] getPublicKeyData() throws EBaseException
EBaseException
- failed to retrieve public key datajava.lang.String getRealm() throws EBaseException
EBaseException
- failed to retrieve authorization realm