Package com.netscape.certsrv.dbs.keydb
Interface IKeyRecord
- All Superinterfaces:
IAttrSet
,IDBObj
,Serializable
- All Known Implementing Classes:
KeyRecord
An interface contains constants for key record.
- Version:
- $Revision$, $Date$
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves key algorithm.Retrieves archiver identifier.Retrieves client ID.Retrieves creation time.Retrieves key data type.Date[]
Retrieves dates of recovery.Retrieves key length.Retrieves key status.Retrieves meta info.Retrieves last modification time.Retrieves key owner name.byte[]
Retrieves public key data.getRealm()
Retrieves authorization realm.Retrieves key identifier.getState()
Retrieves the state of the key.org.mozilla.jss.netscape.security.util.WrappingParams
getWrappingParams
(org.mozilla.jss.netscape.security.util.WrappingParams oldParams) void
setWrappingParams
(org.mozilla.jss.netscape.security.util.WrappingParams params, boolean encrypted) Methods inherited from interface com.netscape.certsrv.base.IAttrSet
delete, get, getElements, set
Methods inherited from interface com.netscape.certsrv.dbs.IDBObj
getSerializableAttrNames
-
Field Details
-
ATTR_ID
- See Also:
-
ATTR_STATE
- See Also:
-
ATTR_ALGORITHM
- See Also:
-
ATTR_KEY_SIZE
- See Also:
-
ATTR_OWNER_NAME
- See Also:
-
ATTR_PRIVATE_KEY_DATA
- See Also:
-
ATTR_PUBLIC_KEY_DATA
- See Also:
-
ATTR_DATE_OF_RECOVERY
- See Also:
-
ATTR_CREATE_TIME
- See Also:
-
ATTR_MODIFY_TIME
- See Also:
-
ATTR_META_INFO
- See Also:
-
ATTR_ARCHIVED_BY
- See Also:
-
ATTR_CLIENT_ID
- See Also:
-
ATTR_DATA_TYPE
- See Also:
-
ATTR_STATUS
- See Also:
-
ATTR_REALM
- See Also:
-
STATUS_ANY
- See Also:
-
STATUS_VALID
- See Also:
-
STATUS_INVALID
- See Also:
-
-
Method Details
-
getState
Retrieves the state of the key.- Returns:
- key state
- Throws:
EBaseException
- failed to retrieve state of the key
-
getSerialNumber
Retrieves key identifier.- Returns:
- key id
- Throws:
EBaseException
- failed to retrieve key id
-
getOwnerName
Retrieves key owner name.- Returns:
- key owner name
- Throws:
EBaseException
- failed to retrieve key owner name
-
getAlgorithm
String getAlgorithm()Retrieves key algorithm.- Returns:
- key algorithm
-
getKeySize
Retrieves key length.- Returns:
- key length
- Throws:
EBaseException
- failed to retrieve key length
-
getMetaInfo
MetaInfo getMetaInfo()Retrieves meta info.- Returns:
- MetaInfo
-
getClientId
Retrieves client ID.- Returns:
- client id
- Throws:
EBaseException
- failed to retrieve client id
-
getDataType
Retrieves key data type.- Returns:
- data type
- Throws:
EBaseException
- failed to retrieve data type
-
getKeyStatus
Retrieves key status.- Returns:
- key status
- Throws:
EBaseException
- failed to retrieve key status
-
getArchivedBy
String getArchivedBy()Retrieves archiver identifier.- Returns:
- archiver uid
-
getCreateTime
Date getCreateTime()Retrieves creation time.- Returns:
- creation time
-
getModifyTime
Date getModifyTime()Retrieves last modification time.- Returns:
- modification time
-
getDateOfRevocation
Retrieves dates of recovery.- Returns:
- recovery history
- Throws:
EBaseException
- failed to retrieve recovery history
-
getPublicKeyData
Retrieves public key data.- Returns:
- public key data
- Throws:
EBaseException
- failed to retrieve public key data
-
getRealm
Retrieves authorization realm.- Returns:
- authorization realm
- Throws:
EBaseException
- failed to retrieve authorization realm
-
setWrappingParams
void setWrappingParams(org.mozilla.jss.netscape.security.util.WrappingParams params, boolean encrypted) throws Exception - Throws:
Exception
-
getWrappingParams
org.mozilla.jss.netscape.security.util.WrappingParams getWrappingParams(org.mozilla.jss.netscape.security.util.WrappingParams oldParams) throws Exception - Throws:
Exception
-
isEncrypted
- Throws:
EBaseException
-