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 Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic 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.WrappingParamsgetWrappingParams(org.mozilla.jss.netscape.security.util.WrappingParams oldParams) voidsetWrappingParams(org.mozilla.jss.netscape.security.util.WrappingParams params, boolean encrypted) Methods inherited from interface IAttrSet
delete, get, getElements, setModifier and TypeMethodDescriptionvoidDeletes an attribute value from this AttrSet.Gets an attribute value.Returns an enumeration of the names of the attributes existing within this AttrSet.voidSets an attribute value within this AttrSet.Methods inherited from interface IDBObj
getSerializableAttrNamesModifier and TypeMethodDescriptionReturns a list of serializable attribute names.
-
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
-
getKeySize
Retrieves key length.- Returns:
- key length
- Throws:
EBaseException- failed to retrieve key length
-
getMetaInfo
-
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
-
getCreateTime
-
getModifyTime
-
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
-
getWrappingParams
-
isEncrypted
- Throws:
EBaseException
-