SecurityProviderTPMEmulator 类
定义
public class SecurityProviderTPMEmulator extends SecurityProviderTpm
- 继承
继承成员
构造函数
SecurityProviderTPMEmulator() |
Constructor for creating a Security Provider on TPM Simulator |
SecurityProviderTPMEmulator(String registrationId) |
Constructor for creating a Security Provider on TPM Simulator with the supplied Registration ID |
SecurityProviderTPMEmulator(String registrationId, int tpmConnectRetryAttempts) |
Constructor for creating a Security Provider on TPM Simulator with the supplied Registration ID |
SecurityProviderTPMEmulator(String registrationId, String ipAddressSimulator) |
Constructor for creating a Security Provider on TPM Simulator with the supplied Registration ID and ip address of the the remote where TPM simulator is running |
方法
activateIdentityKey(byte[] key) |
Activates the Identity with the nonce provided from the service |
getEndorsementKey() |
Getter for extracting EndorsementKey from TPM |
getRegistrationId() |
Getter for the Registration ID if it was provided. Default is returned otherwise. |
getStorageRootKey() |
Getter for extracting StorageRootKey from TPM |
localTpmSimulatorWithRetry(int retryAttempts) | |
shutDown() |
Closes the simulator if it were running already |
signWithIdentity(byte[] deviceIdData) |
This method signs the TPM with the provided device ID |