Package tss

Class TpmDeviceLinux

    • Constructor Detail

      • TpmDeviceLinux

        public TpmDeviceLinux()
    • Method Detail

      • connect

        public boolean connect()
        Description copied from class: TpmDevice
        Establishes a connection with the TPM device.
        Specified by:
        connect in class TpmDevice
        Returns:
        Whether the connection was established
      • dispatchCommand

        public void dispatchCommand​(byte[] command)
        Description copied from class: TpmDevice
        Sends the TPM command buffer byte array to the TPM
        Specified by:
        dispatchCommand in class TpmDevice
        Parameters:
        command - TPM command buffer
      • getResponse

        public byte[] getResponse()
        Specified by:
        getResponse in class TpmDevice
        Returns:
        TPM response buffer received from the TPM device
      • responseReady

        public boolean responseReady()
        Specified by:
        responseReady in class TpmDevice
        Returns:
        Whether the TPM response to the previously issued command is ready