Interface IKeyRecord


  • public interface IKeyRecord
    An interface contains constants for key record.
    Version:
    $Revision$, $Date$
    • Method Detail

      • getSerialNumber

        java.math.BigInteger getSerialNumber()
                                      throws EBaseException
        Retrieves key identifier.
        Returns:
        key id
        Throws:
        EBaseException - failed to retrieve key id
      • getOwnerName

        java.lang.String getOwnerName()
                               throws EBaseException
        Retrieves key owner name.
        Returns:
        key owner name
        Throws:
        EBaseException - failed to retrieve key owner name
      • getAlgorithm

        java.lang.String getAlgorithm()
        Retrieves key algorithm.
        Returns:
        key algorithm
      • getKeySize

        java.lang.Integer getKeySize()
                              throws EBaseException
        Retrieves key length.
        Returns:
        key length
        Throws:
        EBaseException - failed to retrieve key length
      • getMetaInfo

        MetaInfo getMetaInfo()
        Retrieves meta info.
        Returns:
        MetaInfo
      • getClientId

        java.lang.String getClientId()
                              throws EBaseException
        Retrieves client ID.
        Returns:
        client id
        Throws:
        EBaseException - failed to retrieve client id
      • getDataType

        java.lang.String getDataType()
                              throws EBaseException
        Retrieves key data type.
        Returns:
        data type
        Throws:
        EBaseException - failed to retrieve data type
      • getKeyStatus

        java.lang.String getKeyStatus()
                               throws EBaseException
        Retrieves key status.
        Returns:
        key status
        Throws:
        EBaseException - failed to retrieve key status
      • getArchivedBy

        java.lang.String getArchivedBy()
        Retrieves archiver identifier.
        Returns:
        archiver uid
      • getCreateTime

        java.util.Date getCreateTime()
        Retrieves creation time.
        Returns:
        creation time
      • getModifyTime

        java.util.Date getModifyTime()
        Retrieves last modification time.
        Returns:
        modification time
      • getDateOfRevocation

        java.util.Date[] getDateOfRevocation()
                                      throws EBaseException
        Retrieves dates of recovery.
        Returns:
        recovery history
        Throws:
        EBaseException - failed to retrieve recovery history
      • getPublicKeyData

        byte[] getPublicKeyData()
                         throws EBaseException
        Retrieves public key data.
        Returns:
        public key data
        Throws:
        EBaseException - failed to retrieve public key data
      • getRealm

        java.lang.String getRealm()
                           throws EBaseException
        Retrieves authorization realm.
        Returns:
        authorization realm
        Throws:
        EBaseException - failed to retrieve authorization realm
      • setWrappingParams

        void setWrappingParams​(WrappingParams params,
                               boolean encrypted)
                        throws java.lang.Exception
        Throws:
        java.lang.Exception