| Package | Description |
|---|---|
| tss |
| Modifier and Type | Method and Description |
|---|---|
Tpm |
TpmBase._allowErrors()
For the next TPM command invocation, errors will not cause an exception to be thrown
(use _lastCommandSucceeded or _getLastResponseCode() to check for an error)
|
Tpm |
TpmBase._expectError(TPM_RC expectedResponse)
For the next TPM command invocation, an exception will be throw if the command
returns a response code different from expectedResponse.
|
Tpm |
TpmBase._expectMoreResponses(TPM_RC... expectedResponses)
Adds more response codes allowed to be returned by the next executed command.
|
Tpm |
TpmBase._expectResponses(TPM_RC... expectedResponses)
The next executed command should return one of the response codes contained
in the given list.
|
Tpm |
TpmBase._withSession(TPM_HANDLE h)
Specifies a single session handle to use with the next command
|
Tpm |
TpmBase._withSessions(TPM_HANDLE... hh)
Specifies the session handles to use with the next command
|
static Tpm |
TpmFactory.localTpmSimulator()
Connect to a simulator running on localhost using the default ports.
|
static Tpm |
TpmFactory.platformTpm()
Connect to the platform TPM device.
|
static Tpm |
TpmFactory.remoteTpmSimulator(String hostName)
Connect to a simulator running on localhost using the default ports.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
TpmHelpers.getTpmProperty(Tpm tpm,
TPM_PT prop) |
Copyright © 2017. All rights reserved.