|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectiaik.tc.tss.impl.java.tsp.internal.TcTspCommon
iaik.tc.tss.impl.java.tsp.internal.TcTspInternal
public class TcTspInternal
Constructor Summary | |
---|---|
TcTspInternal()
|
Method Summary | |
---|---|
TcTcsAuth |
FieldUpgrade(TcContext context,
TcBlobData inData,
TcTcsAuth inAuth1,
TcTpmSecret ownerAuth)
This command is vendor specific. |
static void |
TcsipEvictKey(TcContext context,
long keyHandle)
This method allows to flush a key from the key cache. |
static java.lang.Object[] |
TspActivateIdentity_Internal(TcContext context,
long idKeyHandle,
TcBlobData blob,
TcTcsAuth inAuth1,
TcTcsAuth inAuth2,
TcTpmSecret idKeyAuth,
TcTpmSecret ownerAuth)
The purpose of this method is twofold: The first purpose is to obtain assurance that the credential in the TPM_SYM_CA_ATTESTATION is for this TPM. |
static java.lang.Object[] |
TspAuthorizeMigrationKey_Internal(TcContext context,
int migrationScheme,
TcTpmPubkey migrationKey,
TcTcsAuth inAuth1,
TcTpmSecret ownerAuth)
This method creates an authorization blob to allow the TPM owner to specify which migration facility they will use and allow users to migrate information without further involvement with the TPM owner. |
static java.lang.Object[] |
TspCertifyKey_Internal(TcContext context,
long certHandle,
long keyHandle,
TcTpmNonce antiReplay,
TcTcsAuth inAuth1,
TcTcsAuth inAuth2,
TcTpmSecret certAuth,
TcTpmSecret keyAuth)
This method allows a key to certify the public portion of certain storage and signing keys. |
static java.lang.Object[] |
TspCertifyKey2_Internal(TcContext context,
long certHandle,
long keyHandle,
TcTpmDigest migrationPubDigest,
TcTpmNonce antiReplay,
TcTcsAuth inAuth1,
TcTcsAuth inAuth2,
TcTpmSecret keyAuth,
TcTpmSecret certAuth)
This method allows a key to certify the public portion of certifiable migratable storage and signing keys. |
static java.lang.Object[] |
TspChangeAuth_Internal(TcContext context,
long parentHandle,
int protocolID,
TcTpmEncauth newAuth,
int entityType,
TcBlobData encData,
TcTcsAuth inAuth1,
TcTcsAuth inAuth2,
TcTpmSecret parentAuth,
TcTpmSecret entityAuth,
TcTpmSecret entityAuthVal)
This method allows the owner of an entity to change the authorization data for the entity. |
static java.lang.Object[] |
TspChangeAuthAsymFinish_Internal(TcContext context,
long parentHandle,
long ephHandle,
int entityType,
TcTpmDigest newAuthLink,
TcBlobData encNewAuth,
TcBlobData encData,
TcTcsAuth inAuth1,
TcTpmSecret privAuth)
This method completes the process of changing authorization for an entity. |
static java.lang.Object[] |
TspChangeAuthAsymStart_Internal(TcContext context,
long idHandle,
TcTpmNonce antiReplay,
TcTpmKeyParms tempKey,
TcTcsAuth inAuth1,
TcTpmSecret idAuth)
This method starts the process of changing authorization for an entity. |
static TcTcsAuth |
TspChangeAuthOwner_Internal(TcContext context,
int protocolID,
TcTpmEncauth newAuth,
int entityType,
TcTcsAuth inAuth1,
TcTpmSecret ownerAuth)
This method allows the owner of an entity to change the authorization data fro the TPM owner or the SRK. |
static java.lang.Object[] |
TspCMK_CreateTicket_Internal(TcContext context,
TcTpmPubkey verificationKey,
TcTpmDigest signedData,
TcBlobData signatureValue,
TcTcsAuth inAuth1,
TcTpmSecret pubAuth)
This owner controlled command uses a public key to verify the signature over a digest. |
static java.lang.Object[] |
TspCmkApproveMA_Internal(TcContext context,
TcTpmDigest migrationAuthorityDigest,
TcTcsAuth inAuth1,
TcTpmSecret ownerAuth)
This command is used to create an authorization ticket, to allow the TPM owner to specify/select one or more migration authorities they approve and allow user to generate CMKs without further involvement of the owner. |
static java.lang.Object[] |
TspCmkConvertMigration_Internal(TcContext context,
long parentHandle,
TcTpmCmkAuth restrictTicket,
TcTpmDigest sigTicket,
TcTpmKey12 migratedKey,
TcTpmMsaComposite msaList,
TcBlobData random,
TcTcsAuth inAuth1,
TcTpmSecret parentAuth)
This command is used as the final step to finish migrating a key to a new TPM. |
static java.lang.Object[] |
TspCmkCreateBlob_Internal(TcContext context,
long parentHandle,
int migrationType,
TcTpmMigrationkeyAuth migrationKeyAuth,
TcTpmDigest pubSourceKeyDigest,
TcTpmMsaComposite msaList,
TcBlobData restrictTicket,
TcBlobData sigTicket,
TcBlobData encData,
TcTcsAuth inAuth1,
TcTpmSecret parentAuth)
This command is similar to TcspiCreateMigrationBlob, except that it uses migration authority data whose migration data are independent from tpmProof. |
static java.lang.Object[] |
TspCmkCreateKey_Internal(TcContext context,
long parentHandle,
TcTpmEncauth dataUsageAuth,
TcTpmKey12 keyInfo,
TcTpmDigest migrationAuthorityApproval,
TcTpmDigest migrationAuthorityDigest,
TcTcsAuth inAuth1,
TcTpmSecret pubAuth)
This command both generates and creates a secure storage bundle for asymmetric keys whose migration is controlled/restricted by a migration authority. |
static TcTcsAuth |
TspCmkSetRestrictions_Internal(TcContext context,
long restriction,
TcTcsAuth inAuth1,
TcTpmSecret ownerAuth)
This command is used by the owner to order the usage of a CMK with delegated authorization. |
static void |
TspContextClose_Internal(TcContext context)
|
static void |
TspContextConnect_Internal(TcContext context,
java.lang.String hostname)
|
static TcBlobData |
TspContextGetCapability_Internal(TcContext context,
long capArea,
TcBlobData subCap)
|
static long |
TspContextOpen_Internal(TcContext context)
|
static void |
TspContinueSelfTest_Internal(TcContext context)
This method informs the TPM that it may complete the self test of all TPM functions. |
static java.lang.Object[] |
TspConvertMigrationBlob_Internal(TcContext context,
long parentHandle,
TcBlobData inData,
TcBlobData random,
TcTcsAuth inAuth1,
TcTpmSecret parentAuth)
This method takes a migration blob and creates a normal wrapped blob. |
static java.lang.Object[] |
TspCreateCounter_Internal(TcContext context,
TcTpmEncauth encAuth,
TcBlobData label,
TcTcsAuth inAuth1,
TcTpmSecret ownerAuth)
This method creates a new counter in the TPM. |
static java.lang.Object[] |
TspCreateEndorsementKeyPair_Internal(TcContext context,
TcTpmKeyParms keyInfo,
TcTpmNonce antiReplay)
This method generates the endorsement key pair. |
static java.lang.Object[] |
TspCreateMaintenanceArchive_Internal(TcContext context,
boolean generateRandom,
TcTcsAuth inAuth1,
TcTpmSecret ownerAuth)
This method creates a TPM maintenance archive. |
static java.lang.Object[] |
TspCreateMigrationBlob_Internal(TcContext context,
long parentHandle,
int migrationType,
TcTpmMigrationkeyAuth migrationKeyAuth,
TcBlobData encData,
TcTcsAuth inAuth1,
TcTcsAuth inAuth2,
TcTpmSecret parentAuth,
TcTpmSecret entityAuth)
This method implements the first step in the process of moving a migratable key to a new parent key or platform. |
static java.lang.Object[] |
TspCreateRevocableEK_Internal(TcContext context,
TcTpmKeyParms keyInfo,
TcTpmNonce antiReplay,
boolean generateReset,
TcTpmNonce inputEKreset)
This method generates the revocable endorsement key pair. |
static java.lang.Object[] |
TspCreateWrapKey_Internal(TcContext context,
long parentHandle,
TcTpmEncauth dataUsageAuth,
TcTpmEncauth dataMigrationAuth,
TcITpmKeyNew keyInfo,
TcTcsAuth inAuth1,
TcTpmSecret pubAuth)
|
static java.lang.Object[] |
TspDaaJoin_Internal(TcContext context,
long handle,
short stage,
TcBlobData inputData0,
TcBlobData inputData1,
TcTcsAuth inAuth1,
TcTpmSecret ownerAuth)
This method executes a TPM DAA join command. |
static java.lang.Object[] |
TspDaaSign_Internal(TcContext context,
long handle,
short stage,
TcBlobData inputData0,
TcBlobData inputData1,
TcTcsAuth inAuth1,
TcTpmSecret ownerAuth)
This method executes a TPM DAA sign command. |
static java.lang.Object[] |
TspDelegate_ReadTable_Internal(TcContext context)
This command is used to read from the TPM the public contents of the family and delegate tables that are stored on the TPM. |
static java.lang.Object[] |
TspDelegate_UpdateVerificationCount_Internal(TcContext context,
TcBlobData inputData,
TcTcsAuth inAuth1,
TcTpmSecret ownerAuth)
This method sets the cerificationCount in an entity (a blob or a delegation row) to the current family value, in order that the delegations represented by that entity will continue to be accepted by the TPM. |
static java.lang.Object[] |
TspDelegateCreateKeyDelegation_Internal(TcContext context,
long keyHandle,
TcTpmDelegatePublic publicInfo,
TcTpmEncauth delAuth,
TcTcsAuth inAuth1,
TcTpmSecret privAuth)
This method is used to delegate the privilege to us a key by creating a blob that can be used TPM_DSAP. |
static java.lang.Object[] |
TspDelegateCreateOwnerDelegation_Internal(TcContext context,
boolean increment,
TcTpmDelegatePublic publicInfo,
TcTpmEncauth delAuth,
TcTcsAuth inAuth1,
TcTpmSecret ownerAuth)
This method is used to delegate owner privileges to use a set of command ordinals by creating a blob. |
static TcTcsAuth |
TspDelegateLoadOwnerDelegation_Internal(TcContext context,
long index,
TcTpmDelegateOwnerBlob blob,
TcTcsAuth inAuth1,
TcTpmSecret ownerAuth)
This method is used to load an owner delegation blob into the TPM non-volatile delegation table. |
static java.lang.Object[] |
TspDelegateManage_Internal(TcContext context,
long familyID,
long opCode,
TcBlobData opData,
TcTcsAuth inAuth1,
TcTpmSecret ownerAuth)
This command is authorized either by the TPM owner or by physical presence. |
static void |
TspDelegateVerifyDelegation_Internal(TcContext context,
TcBlobData delegation)
This method interprets a delegate blob and returns success or failure, depending on whether the blob is currently valid. |
static TcTpmDigest |
TspDirRead_Internal(TcContext context,
long dirIndex)
This method provides read access to the Data Integrity Registers. |
static TcTcsAuth |
TspDirWriteAuth_Internal(TcContext context,
long dirIndex,
TcTpmDigest newContents,
TcTcsAuth inAuth1,
TcTpmSecret ownerAuth)
|
static void |
TspDisableForceClear_Internal(TcContext context)
This command disables the execution of the ForceClear command until next startup cycle. |
static TcTcsAuth |
TspDisableOwnerClear_Internal(TcContext context,
TcTcsAuth inAuth1,
TcTpmSecret ownerAuth)
This command disables the ability to execute the OwnerClear command permanently. |
static TcTcsAuth |
TspDisablePubekRead_Internal(TcContext context,
TcTcsAuth inAuth1,
TcTpmSecret ownerAuth)
This method returns the public portion of the endorsement key. |
static java.lang.Object[] |
TspDSAP_Internal(TcContext context,
int entityType,
long keyHandle,
TcTpmNonce nonceOddDSAP,
TcBlobData entityValue)
This method opens a delegated authorization session. |
static java.lang.Object[] |
TspEstablishTransport_Internal(TcContext context,
long encHandle,
TcTpmTransportPublic transPublic,
TcBlobData secret,
TcTcsAuth inAuth1,
TcTpmSecret keyAuth)
|
static java.lang.Object[] |
TspExecuteTransport_Internal(TcContext context,
TcBlobData wrappedCmd,
long transHandle,
TcTcsAuth inAuth1,
TcTpmSecret transAuth)
|
static TcTpmDigest |
TspExtend_Internal(TcContext context,
long pcrNum,
TcTpmDigest inDigest)
This command causes the modification of a specific PCR register. |
static void |
TspForceClear_Internal(TcContext context)
This method performs the clear operation under physical presence. |
static java.lang.Object[] |
TspGetAuditDigest_Internal(TcContext context,
long startOrdinal)
This method gets the digest of audited ordinals. |
static java.lang.Object[] |
TspGetAuditDigestSigned_Internal(TcContext context,
long keyHandle,
boolean closeAudit,
TcTpmNonce antiReplay,
TcTcsAuth inAuth1,
TcTpmSecret keyAuth)
This method gets the signed digest of audited ordinals. |
static TcBlobData |
TspGetCapability_Internal(TcContext context,
long capArea,
TcBlobData subCap)
This method allows the TPM to report back the requestor what type of TPM it is dealing with. |
static java.lang.Object[] |
TspGetCapabilityOwner_Internal(TcContext context,
TcTcsAuth inAuth1,
TcTpmSecret ownerAuth)
This method enables the TPM owner to retrieve information belonging to the TPM owner. |
static java.lang.Object[] |
TspGetCredentials_Internal(TcContext context)
|
static TcTssPcrEvent |
TspGetPcrEvent(TcContext context,
long pcrIndex,
long number)
This method is used to retrieve events logged with TcTcsi.TcsiLogPcrEvent(long, TcTssPcrEvent) . |
static long |
TspGetPcrEventCount(TcContext context,
long pcrIndex)
This method returns the number of events logged with TcTcsi.TcsiLogPcrEvent(long, TcTssPcrEvent) . |
static TcTssPcrEvent[] |
TspGetPcrEventLog(TcContext context)
This method returns the event log of all events since the TPM was initialized. |
static TcTssPcrEvent[] |
TspGetPcrEventsByPcr(TcContext context,
long pcrIndex,
long firstEvent,
long eventCount)
This metho returns an event log bound to a single PCR. |
static java.lang.Object[] |
TspGetPubKey_Internal(TcContext context,
long keyHandle,
TcTcsAuth inAuth1,
TcTpmSecret keyAuth)
|
static TcBlobData |
TspGetRandom_Internal(TcContext context,
long bytesRequested)
This method returns the next bytesRequested bytes from the random number generator to the caller. |
static TcBlobData |
TspGetTestResult_Internal(TcContext context)
This method provides manufacturer specific information regarding the results of the self-test. |
static TcBlobData |
TspIfxReadTpm11Ek(TcContext context)
This method reads the EK certificate embedded in 1.1b Infineon chips. |
static java.lang.Object[] |
TspIncrementCounter_Internal(TcContext context,
long countID,
TcTcsAuth inAuth1,
TcTpmSecret counterAuth)
This method selects a counter if one has not yet been selected, and increments that counter register. |
static TcTcsAuth |
TspKillMaintenanceFeature_Internal(TcContext context,
TcTcsAuth inAuth1,
TcTpmSecret ownerAuth)
This method triggers a permanent action that prevents ANYONE from creating a TPM maintenance archive until a new TPM owner is set. |
static java.lang.Object[] |
TspLoadKey2ByBlob_Internal(TcContext context,
long hUnwrappingKey,
TcITpmKey wrappedKeyBlob,
TcTcsAuth inAuth1,
TcTpmSecret parentAuth)
|
static java.lang.Object[] |
TspLoadKeyByBlob_Internal(TcContext context,
long hUnwrappingKey,
TcTpmKey wrappedKeyBlob,
TcTcsAuth inAuth1,
TcTpmSecret parentAuth)
|
static java.lang.Object[] |
TspLoadMaintenanceArchive_Internal(TcContext context,
TcBlobData inData,
TcTcsAuth inAuth1,
TcTpmSecret ownerAuth)
This method loads a TPM maintenance archive that has been massaged by the manufacturer to load into another TPM. |
static TcTpmDigest |
TspLoadManuMaintPub_Internal(TcContext context,
TcTpmNonce antiReplay,
TcTpmPubkey pubKey)
This method loads the TPM manufactuerer's public key for use in the maintenance process. |
static long |
TspLogPcrEvent(TcContext context,
TcTssPcrEvent pcrEvent)
This method adds a new event to the end of the array associated with the named PCR. |
static java.lang.Object[] |
TspMakeIdentity_Internal(TcContext context,
TcTpmEncauth identityAuth,
TcTpmDigest labelPrivCADigest,
TcITpmKeyNew idKeyParams,
TcTcsAuth inAuth1,
TcTcsAuth inAuth2,
TcTpmSecret srkAuth,
TcTpmSecret ownerAuth)
|
static java.lang.Object[] |
TspMakeIdentity2_Internal(TcContext context,
TcTpmEncauth identityAuth,
TcTpmDigest labelPrivCADigest,
TcITpmKeyNew idKeyParams,
TcTcsAuth inAuth1,
TcTcsAuth inAuth2,
TcTpmSecret srkAuth,
TcTpmSecret ownerAuth)
|
static java.lang.Object[] |
TspMigrateKey_Internal(TcContext context,
long maKeyHandle,
TcTpmPubkey pubKey,
TcBlobData inData,
TcTcsAuth inAuth1,
TcTpmSecret keyAuth)
This method performs the function of a migration authority. |
static TcTcsAuth |
TspNvDefineSpace_Internal(TcContext context,
TcTpmNvDataPublic pubInfo,
TcTpmEncauth encAuth,
TcTcsAuth inAuth1,
TcTpmSecret ownerAuth)
This command sets aside space in the TPM NVRAM and defines the access requirements necessary to read and write that space. |
static java.lang.Object[] |
TspNvReadValue_Internal(TcContext context,
long nvIndex,
long offset,
long dataSz,
TcTcsAuth inAuth1,
TcTpmSecret ownerAuth)
This method reads a value from the NV store. |
static java.lang.Object[] |
TspNvReadValueAuth_Internal(TcContext context,
long nvIndex,
long offset,
long dataSz,
TcTcsAuth inAuth1,
TcTpmSecret authHmac)
This method reads a value from the NV store. |
static TcTcsAuth |
TspNvWriteValue_Internal(TcContext context,
long nvIndex,
long offset,
TcBlobData data,
TcTcsAuth inAuth1,
TcTpmSecret ownerAuth)
This command writes the value to a defined area. |
static TcTcsAuth |
TspNvWriteValueAuth_Internal(TcContext context,
long nvIndex,
long offset,
TcBlobData data,
TcTcsAuth inAuth1,
TcTpmSecret authValue)
This command writes a previously defined area. |
static TcTcsAuth |
TspOIAP_Internal(TcContext context)
This method allows the creation of an authorization handle and the tracking of the handle by the TPM. |
static java.lang.Object[] |
TspOSAP_Internal(TcContext context,
int entityType,
long entityValue,
TcTpmNonce nonceOddOSAP)
This method creates the authorization handle, the shared secret and generates nonceEven and nonceEvenOSAP. |
static TcTcsAuth |
TspOwnerClear_Internal(TcContext context,
TcTcsAuth inAuth1,
TcTpmSecret ownerAuth)
This command clears the TPM under owner authorization. |
static java.lang.Object[] |
TspOwnerReadInternalPub_Internal(TcContext context,
long keyHandle,
TcTcsAuth inAuth1,
TcTpmSecret ownerAuth)
|
static java.lang.Object[] |
TspOwnerReadPubek_Internal(TcContext context,
TcTcsAuth inAuth1,
TcTpmSecret ownerAuth)
This method allows the TPM owner to read the public endorsement key. |
static TcTcsAuth |
TspOwnerSetDisable_Internal(TcContext context,
boolean disableState,
TcTcsAuth inAuth1,
TcTpmSecret ownerAuth)
This method is used to change the status of the TPM_PERSISTENT_DISABLE flag. |
static TcTpmDigest |
TspPcrRead_Internal(TcContext context,
long pcrIndex)
This method provides a non-cryptographic reporting of the contents of a named PCR. |
static void |
TspPcrReset_Internal(TcContext context,
TcTpmPcrSelection pcrSelection)
This method resets a PCR register. |
static void |
TspPhysicalDisable_Internal(TcContext context)
This method disables the TPM physical presence. |
static void |
TspPhysicalEnable_Internal(TcContext context)
This method enables the TPM physical presence. |
static void |
TspPhysicalPresence_Internal(TcContext context,
int physicalPresence)
This method sets the physical presence flags. |
static void |
TspPhysicalSetDeactivated_Internal(TcContext context,
boolean state)
This method sets the TPM_PERSITSTENT_FLAGS.deactivated flag to the value in the state parameter. |
static java.lang.Object[] |
TspQuote_Internal(TcContext context,
long keyHandle,
TcTpmNonce externalData,
TcTpmPcrSelection targetPCR,
TcTcsAuth inAuth1,
TcTpmSecret privAuth)
This command provides cryptographic reporting of PCR values. |
static java.lang.Object[] |
TspQuote2_Internal(TcContext context,
long keyHandle,
TcTpmNonce externalData,
TcTpmPcrSelection targetPCR,
boolean addVersion,
TcTcsAuth inAuth1,
TcTpmSecret privAuth)
This command provides cryptographic reporting of PCR values. |
static TcTpmCounterValue |
TspReadCounter_Internal(TcContext context,
long countID)
This method reads the current value of a counter register. |
static TcTpmCurrentTicks |
TspReadCurrentTicks_Internal(TcContext context)
This method reads the current tick out of the TPM. |
static TcTpmDigest |
TspReadManuMaintPub_Internal(TcContext context,
TcTpmNonce antiReplay)
This command is used to check whether the manufactuerer's public maintenance key in a TPM has the expected value. |
static java.lang.Object[] |
TspReadPubek_Internal(TcContext context,
TcTpmNonce antiReplay)
This method returns the public portion of the endorsement key. |
static TcTcsAuth |
TspReleaseCounter_Internal(TcContext context,
long countID,
TcTcsAuth inAuth1,
TcTpmSecret counterAuth)
This method releases a counter so that no reads or increments of the indicated counter will succeed. |
static TcTcsAuth |
TspReleaseCounterOwner_Internal(TcContext context,
long countID,
TcTcsAuth inAuth1,
TcTpmSecret ownerAuth)
This method releases a counter so that no reads or increments of the indicated counter will succeed. |
static java.lang.Object[] |
TspReleaseTransportSigned_Internal(TcContext context,
long keyHandle,
TcTpmNonce antiReplay,
long transHandle,
TcTcsAuth inAuth1,
TcTcsAuth inAuth2,
TcTpmSecret keyAuth,
TcTpmSecret transAuth)
|
static TcTcsAuth |
TspResetLockValue_Internal(TcContext context,
TcTcsAuth inAuth1,
TcTpmSecret ownerAuth)
Resets the lock that get set in a TPM after multiple false authorization attempts. |
static void |
TspRevokeEndorsementKeyPair_Internal(TcContext context,
TcTpmNonce EKReset)
This method clears the TPM revocable endorsement key pair. |
static java.lang.Object[] |
TspSeal_Internal(TcContext context,
long keyHandle,
TcTpmEncauth encAuth,
TcITpmPcrInfo pcrInfo,
TcBlobData inData,
TcTcsAuth inAuth1,
TcTpmSecret pubAuth)
This method allows software to explicitly state the future trusted configuration that the platform must be in for the secret to be revealed. |
static java.lang.Object[] |
TspSealx_Internal(TcContext context,
long keyHandle,
TcTpmEncauth encAuth,
TcTpmPcrInfoLong pcrInfo,
TcBlobData inData,
TcTcsAuth inAuth1,
TcTpmSecret pubAuth)
This method allows software to explicitly state the future trusted configuration that the platform must be in for the secret to be revealed. |
static void |
TspSelfTestFull_Internal(TcContext context)
This method triggers a test of all TPM protected capabilities. |
static TcTcsAuth |
TspSetCapability_Internal(TcContext context,
long capArea,
TcBlobData subCap,
TcBlobData setValue,
TcTcsAuth inAuth1,
TcTpmSecret ownerAuth)
This method allows the caller to set values in the TPM. |
static void |
TspSetOperatorAuth_Internal(TcContext context,
TcTpmSecret operatorAuth)
Sets the operator authorization value for the platform. |
static TcTcsAuth |
TspSetOrdinalAuditStatus_Internal(TcContext context,
long ordinalToAudit,
boolean auditState,
TcTcsAuth inAuth1,
TcTpmSecret ownerAuth)
This command sets the audit flag for a given ordinal. |
static void |
TspSetOwnerInstall_Internal(TcContext context,
boolean state)
This method determines if the TPM has a current owner. |
static TcTcsAuth |
TspSetRedirection_Internal(TcContext context,
long keyHandle,
long redirCmd,
TcBlobData inputData,
TcTcsAuth inAuth1,
TcTpmSecret ownerAuth)
Redirected keys enable the output of a TPM to be directed to non-TCG security functions in the platform, without exposing that output to non-security functions. |
static void |
TspSetTempDeactivated_Internal(TcContext context)
This method sets the TPM_VOLATILE_FLAGS.deactivated to the value TRUE which temporarily deactivates the TPM. |
static TcTcsAuth |
TspSetTempDeactivated2_Internal(TcContext context,
TcTcsAuth inAuth1,
TcTpmSecret operatorAuth)
This method sets the TPM_VOLATILE_FLAGS.deactivated to the value TRUE which temporarily deactivates the TPM. |
static TcTpmDigest |
TspSHA1Complete_Internal(TcContext context,
TcBlobData hashData)
|
static java.lang.Object[] |
TspSHA1CompleteExtend_Internal(TcContext context,
long pcrNum,
TcBlobData hashData)
|
static java.lang.Long |
TspSHA1Start_Internal(TcContext context)
|
static void |
TspSHA1Update_Internal(TcContext context,
long numBytes,
TcBlobData hashData)
|
static java.lang.Object[] |
TspSign_Internal(TcContext context,
long keyHandle,
TcBlobData areaToSign,
TcTcsAuth inAuth1,
TcTpmSecret privAuth)
This method signs a digest and returns the resulting digital signature. |
static void |
TspStirRandom_Internal(TcContext context,
TcBlobData inData)
This method adds entropy to the RNG state. |
static java.lang.Object[] |
TspTakeOwnership_Internal(TcContext context,
int protocolID,
TcBlobData encOwnerAuth,
TcBlobData encSrkAuth,
TcITpmKeyNew srkParams,
TcTcsAuth inAuth1,
TcTpmSecret ownerAuth)
This method inserts the Owner-authorization data and creates a new Storage Root Key (SRK). |
static void |
TspTerminateHandle_Internal(TcContext context,
long handle)
This method allows the TPM driver to clear out information in an authorization handle. |
static java.lang.Object[] |
TspTickStampBlob_Internal(TcContext context,
long keyHandle,
TcTpmNonce antiReplay,
TcTpmDigest digestToStamp,
TcTcsAuth inAuth1,
TcTpmSecret privAuth)
This method is similar to a time stamp: it associates a tick value with a blob, indicating that the blob existed at some point earlier than the time corresponding to the tick value. |
static java.lang.Object[] |
TspUnBind_Internal(TcContext context,
long keyHandle,
TcBlobData inData,
TcTcsAuth inAuth1,
TcTpmSecret privAuth)
This method takes the data blob that is the result of a bind command and decrypts it for export to the user. |
static java.lang.Object[] |
TspUnseal_Internal(TcContext context,
long parentHandle,
TcITpmStoredData inData,
TcTcsAuth inAuth1,
TcTcsAuth inAuth2,
TcTpmSecret parentAuth,
TcTpmSecret dataAuth)
This method will reveal sealed data only if it was encrypted on this platform and the current configuration (defined by the named PCRs) is the one named as qualified to decrypt it. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TcTspInternal()
Method Detail |
---|
public static java.lang.Object[] TspLoadKeyByBlob_Internal(TcContext context, long hUnwrappingKey, TcTpmKey wrappedKeyBlob, TcTcsAuth inAuth1, TcTpmSecret parentAuth) throws TcTssException
TcTssException
public static java.lang.Object[] TspLoadKey2ByBlob_Internal(TcContext context, long hUnwrappingKey, TcITpmKey wrappedKeyBlob, TcTcsAuth inAuth1, TcTpmSecret parentAuth) throws TcTssException
TcTssException
public static java.lang.Object[] TspMakeIdentity_Internal(TcContext context, TcTpmEncauth identityAuth, TcTpmDigest labelPrivCADigest, TcITpmKeyNew idKeyParams, TcTcsAuth inAuth1, TcTcsAuth inAuth2, TcTpmSecret srkAuth, TcTpmSecret ownerAuth) throws TcTssException
context
- The context this call is associated with.identityAuth
- Encrypted usage AuthData for the new identitylabelPrivCADigest
- The digest of the identity label and privacy CA chosen for the AIKidKeyParams
- Structure containing all parameters of new identity key. pubKey.keyLength &
idKeyParams.encData are both 0. This object may be of type TcTpmKeyNew or
TcTpmKey12New.inAuth1
- The data for the first authorization session.inAuth2
- The data for the second authorization session.srkAuth
- HMAC key for the first authorization session.ownerAuth
- HMAC key for the second authorization session.
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspMakeIdentity2_Internal(TcContext context, TcTpmEncauth identityAuth, TcTpmDigest labelPrivCADigest, TcITpmKeyNew idKeyParams, TcTcsAuth inAuth1, TcTcsAuth inAuth2, TcTpmSecret srkAuth, TcTpmSecret ownerAuth) throws TcTssException
context
- The context this call is associated with.identityAuth
- Encrypted usage AuthData for the new identitylabelPrivCADigest
- The digest of the identity label and privacy CA chosen for the AIKidKeyParams
- Structure containing all parameters of new identity key. pubKey.keyLength &
idKeyParams.encData are both 0. This object may be of type TcTpmKeyNew or
TcTpmKey12New.inAuth1
- The data for the first authorization session.inAuth2
- The data for the second authorization session.srkAuth
- HMAC key for the first authorization session.ownerAuth
- HMAC key for the second authorization session.
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspGetCredentials_Internal(TcContext context) throws TcTssException
TcTssException
public static void TspContextConnect_Internal(TcContext context, java.lang.String hostname) throws TcTssException
TcTssException
public static long TspContextOpen_Internal(TcContext context) throws TcTssException
TcTssException
public static void TspContextClose_Internal(TcContext context) throws TcTssException
TcTssException
public static TcBlobData TspContextGetCapability_Internal(TcContext context, long capArea, TcBlobData subCap) throws TcTssException
TcTssException
public static long TspLogPcrEvent(TcContext context, TcTssPcrEvent pcrEvent) throws TcTssException
TcTssPcrEvent
event to the end of the
event log. The TCS MUST maintain an array of event-supporting data with events identified by
the register to which they belong and the order in which the events occurred. The log need not
be in a TCG-shielded location, and the Tcsi_LogPcrEvent action need not be a TCG-protected
capability.
context
- Handle to established context.pcrEvent
- Details of the event being logged.
{@link
- TcTssException}
TcTssException
public static TcTssPcrEvent TspGetPcrEvent(TcContext context, long pcrIndex, long number) throws TcTssException
TcTcsi.TcsiLogPcrEvent(long, TcTssPcrEvent)
. This method needs not to be a protected
capability and the log events retrieved need not to be in a shielded location.
The command retrieves events previously logged using
TcTcsi.TcsiLogPcrEvent(long, TcTssPcrEvent)
. The format of the data returned is
identical to that previously logged. This operation retrieves log entries by PCR index and
event number. On TCS initialization the event log for each PCR is empty. Then, for each PCR,
the first event logged is numbered 0; the next is numbered 1, and so on. Attempts to receive
log items beyond the end of the log return an error.
context
- Handle to the established context.pcrIndex
- The index of the PCR.number
- The number events required. Events are numbered from 0 to the number of events
logged on the named PCR.
{@link
- TcTssException}
TcTssException
public static long TspGetPcrEventCount(TcContext context, long pcrIndex) throws TcTssException
TcTcsi.TcsiLogPcrEvent(long, TcTssPcrEvent)
.
context
- Handle to the established context.pcrIndex
- The index of the PCR.
{@link
- TcTssException}
TcTssException
public static TcTssPcrEvent[] TspGetPcrEventsByPcr(TcContext context, long pcrIndex, long firstEvent, long eventCount) throws TcTssException
TcTssPcrEvent
structures. The caller can limit the size of the returned
array using eventCount. The caller can also specify the number of the first event on the
returned event log using firstEvent. This allow the caller to retrieve the event log step by
step, or to retrieve a partial event log when required. The array elements are of variable
size, and the TcTssPcrEvent
structure defines the size of the current event and the
register with which it is associated.
context
- Handle to the established context.pcrIndex
- The index of the PCR.firstEvent
- The number of the first event in the returned array.eventCount
- The max number of events to returned. Set to -1 to return all events for the
PCR.
{@link
- TcTssException}
TcTssException
public static TcTssPcrEvent[] TspGetPcrEventLog(TcContext context) throws TcTssException
TcTssPcrEvent
structures in the following order: all
events bound to PCR 0 (in the order they have arrived), all events bound to PCR 1 (in the order
they have arrived), etc. If the event log is epmpty, an empty array is returned.
context
- Handle to the established context.
{@link
- TcTssException}
TcTssException
public static void TspSelfTestFull_Internal(TcContext context) throws TcTssException
context
- The context this call is associated with.
{@link
- TcTssException}
TcTssException
public static void TspContinueSelfTest_Internal(TcContext context) throws TcTssException
context
- The context this call is associated with.
{@link
- TcTssException}
TcTssException
public static TcBlobData TspGetTestResult_Internal(TcContext context) throws TcTssException
context
- The context this call is associated with.
{@link
- TcTssException}
TcTssException
public static void TspSetOwnerInstall_Internal(TcContext context, boolean state) throws TcTssException
context
- The context this call is associated with.state
- The state to which ownership flag is to be set.
{@link
- TcTssException}
TcTssException
public static TcTcsAuth TspOwnerSetDisable_Internal(TcContext context, boolean disableState, TcTcsAuth inAuth1, TcTpmSecret ownerAuth) throws TcTssException
context
- The context this call is associated with.disableState
- Value for disable state - enable if TRUEinAuth1
- The data for the authorization session.ownerAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static void TspPhysicalEnable_Internal(TcContext context) throws TcTssException
context
- The context this call is associated with.
{@link
- TcTssException}
TcTssException
public static void TspPhysicalDisable_Internal(TcContext context) throws TcTssException
context
- The context this call is associated with.
{@link
- TcTssException}
TcTssException
public static void TspPhysicalSetDeactivated_Internal(TcContext context, boolean state) throws TcTssException
context
- The context this call is associated with.state
- State to which deactivated flag is to be set.
{@link
- TcTssException}
TcTssException
public static TcTcsAuth TspSetTempDeactivated2_Internal(TcContext context, TcTcsAuth inAuth1, TcTpmSecret operatorAuth) throws TcTssException
context
- The context this call is associated with.inAuth1
- The data for the authorization session.operatorAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static void TspSetTempDeactivated_Internal(TcContext context) throws TcTssException
context
- The context this call is associated with.
{@link
- TcTssException}
TcTssException
public static void TspSetOperatorAuth_Internal(TcContext context, TcTpmSecret operatorAuth) throws TcTssException
context
- The context this call is associated with.operatorAuth
- The operator AuthData
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspTakeOwnership_Internal(TcContext context, int protocolID, TcBlobData encOwnerAuth, TcBlobData encSrkAuth, TcITpmKeyNew srkParams, TcTcsAuth inAuth1, TcTpmSecret ownerAuth) throws TcTssException
context
- The context this call is associated with.protocolID
- The ownership protocol in use.encOwnerAuth
- The owner AuthData encrypted with PUBEK.encSrkAuth
- The SRK AuthData encrypted with PUBEK.srkParams
- Structure containing all parameters of new SRK. pubKey.keyLength & encSize are
both 0. This structure MAY be TcTpmKey12.inAuth1
- The data for the authorization session.ownerAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static TcTcsAuth TspOwnerClear_Internal(TcContext context, TcTcsAuth inAuth1, TcTpmSecret ownerAuth) throws TcTssException
context
- The context this call is associated with.inAuth1
- The data for the authorization session.ownerAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static void TspForceClear_Internal(TcContext context) throws TcTssException
context
- The context this call is associated with.
{@link
- TcTssException}
TcTssException
public static TcTcsAuth TspDisableOwnerClear_Internal(TcContext context, TcTcsAuth inAuth1, TcTpmSecret ownerAuth) throws TcTssException
context
- The context this call is associated with.inAuth1
- The data for the authorization session.ownerAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static void TspDisableForceClear_Internal(TcContext context) throws TcTssException
context
- The context this call is associated with.
{@link
- TcTssException}
TcTssException
public static void TspPhysicalPresence_Internal(TcContext context, int physicalPresence) throws TcTssException
context
- The context this call is associated with.physicalPresence
- The state to set the TPM's PhysicalPresence flags.
{@link
- TcTssException}
TcTssException
public static TcBlobData TspGetCapability_Internal(TcContext context, long capArea, TcBlobData subCap) throws TcTssException
context
- The context this call is associated with.capArea
- Partition of capabilities to be interrogatedsubCap
- Further definition of information
{@link
- TcTssException}
TcTssException
public static TcTcsAuth TspSetCapability_Internal(TcContext context, long capArea, TcBlobData subCap, TcBlobData setValue, TcTcsAuth inAuth1, TcTpmSecret ownerAuth) throws TcTssException
context
- The context this call is associated with.capArea
- Partition of capabilities to be setsubCap
- Further definition of informationsetValue
- The value to setinAuth1
- The data for the authorization session.ownerAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspGetCapabilityOwner_Internal(TcContext context, TcTcsAuth inAuth1, TcTpmSecret ownerAuth) throws TcTssException
context
- The context this call is associated with.inAuth1
- The data for the authorization session.ownerAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspGetAuditDigest_Internal(TcContext context, long startOrdinal) throws TcTssException
context
- The context this call is associated with.startOrdinal
- The starting ordinal for the list of audited ordinals
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspGetAuditDigestSigned_Internal(TcContext context, long keyHandle, boolean closeAudit, TcTpmNonce antiReplay, TcTcsAuth inAuth1, TcTpmSecret keyAuth) throws TcTssException
context
- The context this call is associated with.keyHandle
- The handle of a loaded key that can perform digital signatures.closeAudit
- Indication if audit session should be closedantiReplay
- A nonce to prevent replay attacksinAuth1
- The data for the authorization session.keyAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static TcTcsAuth TspSetOrdinalAuditStatus_Internal(TcContext context, long ordinalToAudit, boolean auditState, TcTcsAuth inAuth1, TcTpmSecret ownerAuth) throws TcTssException
context
- The context this call is associated with.ordinalToAudit
- The ordinal whose audit flag is to be set.auditState
- Value for audit flag.inAuth1
- The data for the authorization session.ownerAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public TcTcsAuth FieldUpgrade(TcContext context, TcBlobData inData, TcTcsAuth inAuth1, TcTpmSecret ownerAuth) throws TcTssException
context
- The context this call is associated with.inData
- Vendor specific data blob with upgrade information.inAuth1
- The data for the authorization session.ownerAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static TcTcsAuth TspSetRedirection_Internal(TcContext context, long keyHandle, long redirCmd, TcBlobData inputData, TcTcsAuth inAuth1, TcTpmSecret ownerAuth) throws TcTssException
context
- The context this call is associated with.keyHandle
- The keyHandle identifier of a loaded key that can implement redirection.redirCmd
- The command to executeinputData
- Manufacturer parameterinAuth1
- The data for the authorization session.ownerAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static TcTcsAuth TspResetLockValue_Internal(TcContext context, TcTcsAuth inAuth1, TcTpmSecret ownerAuth) throws TcTssException
context
- The context this call is associated with.inAuth1
- The data for the authorization session.ownerAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspSeal_Internal(TcContext context, long keyHandle, TcTpmEncauth encAuth, TcITpmPcrInfo pcrInfo, TcBlobData inData, TcTcsAuth inAuth1, TcTpmSecret pubAuth) throws TcTssException
context
- The context this call is associated with.keyHandle
- Handle of a loaded key that can perform seal operations.encAuth
- The encrypted AuthData for the sealed data.pcrInfo
- The PCR selection information. The caller MAY use TcTpmPcrInfoLong.inData
- The data to be sealed to the platform and any specified PCRsinAuth1
- The data for the authorization session.pubAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspUnseal_Internal(TcContext context, long parentHandle, TcITpmStoredData inData, TcTcsAuth inAuth1, TcTcsAuth inAuth2, TcTpmSecret parentAuth, TcTpmSecret dataAuth) throws TcTssException
context
- The context this call is associated with.parentHandle
- Handle of a loaded key that can unseal the data.inData
- The encrypted data generated by TPM_Seal.inAuth1
- The data for the first authorization session.inAuth2
- The data for the second authorization session.parentAuth
- HMAC key for the first authorization session.dataAuth
- HMAC key for the second authorization session.
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspUnBind_Internal(TcContext context, long keyHandle, TcBlobData inData, TcTcsAuth inAuth1, TcTpmSecret privAuth) throws TcTssException
context
- The context this call is associated with.keyHandle
- The keyHandle identifier of a loaded key that can perform UnBindoperations.inData
- Encrypted blob to be decryptedinAuth1
- The data for the authorization session.privAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspCreateWrapKey_Internal(TcContext context, long parentHandle, TcTpmEncauth dataUsageAuth, TcTpmEncauth dataMigrationAuth, TcITpmKeyNew keyInfo, TcTcsAuth inAuth1, TcTpmSecret pubAuth) throws TcTssException
context
- The context this call is associated with.parentHandle
- Handle of a loaded key that can perform key wrapping.dataUsageAuth
- Encrypted usage AuthData for the sealed data.dataMigrationAuth
- Encrypted migration AuthData for the sealed data.keyInfo
- Information about key to be created, pubKey.keyLength and keyInfo.encData
elements are 0. MAY be TcTpmKey12inAuth1
- The data for the authorization session.pubAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspGetPubKey_Internal(TcContext context, long keyHandle, TcTcsAuth inAuth1, TcTpmSecret keyAuth) throws TcTssException
context
- The context this call is associated with.keyHandle
- TPM handle of key.inAuth1
- The data for the authorization session.keyAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspSealx_Internal(TcContext context, long keyHandle, TcTpmEncauth encAuth, TcTpmPcrInfoLong pcrInfo, TcBlobData inData, TcTcsAuth inAuth1, TcTpmSecret pubAuth) throws TcTssException
context
- The context this call is associated with.keyHandle
- Handle of a loaded key that can perform seal operations.encAuth
- The encrypted AuthData for the sealed data.pcrInfo
- MUST use TcTpmPcrInfoLong.inData
- The data to be sealed to the platform and any specified PCRsinAuth1
- The data for the authorization session.pubAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspCreateMigrationBlob_Internal(TcContext context, long parentHandle, int migrationType, TcTpmMigrationkeyAuth migrationKeyAuth, TcBlobData encData, TcTcsAuth inAuth1, TcTcsAuth inAuth2, TcTpmSecret parentAuth, TcTpmSecret entityAuth) throws TcTssException
context
- The context this call is associated with.parentHandle
- Handle of the parent key that can decrypt encData.migrationType
- The migration type, either MIGRATE or REWRAP.migrationKeyAuth
- Migration public key and its authorization session digest.encData
- The encrypted entity that is to be modified.inAuth1
- The data for the first authorization session.inAuth2
- The data for the second authorization session.parentAuth
- HMAC key for the first authorization session.entityAuth
- HMAC key for the second authorization session.
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspConvertMigrationBlob_Internal(TcContext context, long parentHandle, TcBlobData inData, TcBlobData random, TcTcsAuth inAuth1, TcTpmSecret parentAuth) throws TcTssException
context
- The context this call is associated with.parentHandle
- Handle of a loaded key that can decrypt keys.inData
- The XOR'd and encrypted key.random
- Random value used to hide key data.inAuth1
- The data for the authorization session.parentAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspAuthorizeMigrationKey_Internal(TcContext context, int migrationScheme, TcTpmPubkey migrationKey, TcTcsAuth inAuth1, TcTpmSecret ownerAuth) throws TcTssException
context
- The context this call is associated with.migrationScheme
- Type of migration operation that is to be permitted for this key.migrationKey
- The public key to be authorized.inAuth1
- The data for the authorization session.ownerAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspMigrateKey_Internal(TcContext context, long maKeyHandle, TcTpmPubkey pubKey, TcBlobData inData, TcTcsAuth inAuth1, TcTpmSecret keyAuth) throws TcTssException
context
- The context this call is associated with.maKeyHandle
- Handle of the key to be used to migrate the key.pubKey
- Public key to which the blob is to be migratedinData
- The input blobinAuth1
- The data for the authorization session.keyAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static TcTcsAuth TspCmkSetRestrictions_Internal(TcContext context, long restriction, TcTcsAuth inAuth1, TcTpmSecret ownerAuth) throws TcTssException
context
- The context this call is associated with.restriction
- The bit mask of how to set the restrictions on CMK keysinAuth1
- The data for the authorization session.ownerAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspCmkApproveMA_Internal(TcContext context, TcTpmDigest migrationAuthorityDigest, TcTcsAuth inAuth1, TcTpmSecret ownerAuth) throws TcTssException
context
- The context this call is associated with.migrationAuthorityDigest
- A digest of a TcTpmMsaComposite structure (itself one or more
digests of public keys belonging to migration authorities)inAuth1
- The data for the authorization session.ownerAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspCmkCreateKey_Internal(TcContext context, long parentHandle, TcTpmEncauth dataUsageAuth, TcTpmKey12 keyInfo, TcTpmDigest migrationAuthorityApproval, TcTpmDigest migrationAuthorityDigest, TcTcsAuth inAuth1, TcTpmSecret pubAuth) throws TcTssException
context
- The context this call is associated with.parentHandle
- Handle of a loaded key that can perform key wrapping.dataUsageAuth
- Encrypted usage AuthData for the sealed data.keyInfo
- Information about key to be created, pubKey.keyLength and keyInfo.encData
elements are 0. MUST be TcTpmKey12migrationAuthorityApproval
- A ticket, created by the TPM Owner using TPM_CMK_ApproveMA,
approving a TcTpmMsaComposite structuremigrationAuthorityDigest
- The digest of a TcTpmMsaComposite structureinAuth1
- The data for the authorization session.pubAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspCMK_CreateTicket_Internal(TcContext context, TcTpmPubkey verificationKey, TcTpmDigest signedData, TcBlobData signatureValue, TcTcsAuth inAuth1, TcTpmSecret pubAuth) throws TcTssException
context
- The context this call is associated with.verificationKey
- The public key to be used to check signatureValuesignedData
- The data to be verifiedsignatureValue
- The signatureValue to be verifiedinAuth1
- The data for the authorization session.pubAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspCmkCreateBlob_Internal(TcContext context, long parentHandle, int migrationType, TcTpmMigrationkeyAuth migrationKeyAuth, TcTpmDigest pubSourceKeyDigest, TcTpmMsaComposite msaList, TcBlobData restrictTicket, TcBlobData sigTicket, TcBlobData encData, TcTcsAuth inAuth1, TcTpmSecret parentAuth) throws TcTssException
context
- The context this call is associated with.parentHandle
- Handle of the parent key that can decrypt encData.migrationType
- The migration type, either TPM_MS_RESTRICT_MIGRATE or
TPM_MS_RESTRICT_APPROVE_DOUBLEmigrationKeyAuth
- Migration public key and its authorization session digest.pubSourceKeyDigest
- The digest of the TcTpmPubkey of the entity to be migratedmsaList
- One or more digests of public keys belonging to migration authoritiesrestrictTicket
- Either a NULL parameter or a TcTpmCmkAuth structure, containing the
digests of the public keys belonging to the Migration Authority, the destination
parent key and the key-to-be-migrated.sigTicket
- Either a NULL parameter or a TcTpmDigest structure, generated by the TPM,
signaling a valid signature over restrictTicketencData
- The encrypted entity that is to be modified.inAuth1
- The data for the authorization session.parentAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspCmkConvertMigration_Internal(TcContext context, long parentHandle, TcTpmCmkAuth restrictTicket, TcTpmDigest sigTicket, TcTpmKey12 migratedKey, TcTpmMsaComposite msaList, TcBlobData random, TcTcsAuth inAuth1, TcTpmSecret parentAuth) throws TcTssException
context
- The context this call is associated with.parentHandle
- Handle of a loaded key that can decrypt keys.restrictTicket
- The digests of public keys belonging to the Migration Authority, the
destination parent key and the key-to-be-migrated.sigTicket
- A signature ticket, generated by the TPM, signaling a valid signature over
restrictTicketmigratedKey
- The public key of the key-to-be-migrated. The private portion MUST be
TcTpmMigrateAsymkey properly XOR'dmsaList
- One or more digests of public keys belonging to migration authoritiesrandom
- Random value used to hide key data.inAuth1
- The data for the authorization session.parentAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspCreateMaintenanceArchive_Internal(TcContext context, boolean generateRandom, TcTcsAuth inAuth1, TcTpmSecret ownerAuth) throws TcTssException
context
- The context this call is associated with.generateRandom
- Use RNG or Owner authorization to generate 'random'.inAuth1
- The data for the authorization session.ownerAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspLoadMaintenanceArchive_Internal(TcContext context, TcBlobData inData, TcTcsAuth inAuth1, TcTpmSecret ownerAuth) throws TcTssException
context
- The context this call is associated with.inData
- Vendor specific data.inAuth1
- The data for the authorization session.ownerAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static TcTcsAuth TspKillMaintenanceFeature_Internal(TcContext context, TcTcsAuth inAuth1, TcTpmSecret ownerAuth) throws TcTssException
context
- The context this call is associated with.inAuth1
- The data for the authorization session.ownerAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static TcTpmDigest TspLoadManuMaintPub_Internal(TcContext context, TcTpmNonce antiReplay, TcTpmPubkey pubKey) throws TcTssException
context
- The context this call is associated with.antiReplay
- AntiReplay and validation noncepubKey
- The public key of the manufacturer to be in use for maintenance
{@link
- TcTssException}
TcTssException
public static TcTpmDigest TspReadManuMaintPub_Internal(TcContext context, TcTpmNonce antiReplay) throws TcTssException
context
- The context this call is associated with.antiReplay
- AntiReplay and validation nonce
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspSign_Internal(TcContext context, long keyHandle, TcBlobData areaToSign, TcTcsAuth inAuth1, TcTpmSecret privAuth) throws TcTssException
context
- The context this call is associated with.keyHandle
- The keyHandle identifier of a loaded key that can perform digital signatures.areaToSign
- The value to signinAuth1
- The data for the authorization session.privAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static TcBlobData TspGetRandom_Internal(TcContext context, long bytesRequested) throws TcTssException
context
- The context this call is associated with.bytesRequested
- Number of bytes to return
{@link
- TcTssException}
TcTssException
public static void TspStirRandom_Internal(TcContext context, TcBlobData inData) throws TcTssException
context
- The context this call is associated with.inData
- Data to add entropy to RNG state
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspCertifyKey_Internal(TcContext context, long certHandle, long keyHandle, TcTpmNonce antiReplay, TcTcsAuth inAuth1, TcTcsAuth inAuth2, TcTpmSecret certAuth, TcTpmSecret keyAuth) throws TcTssException
context
- The context this call is associated with.certHandle
- Handle of the key to be used to certify the key.keyHandle
- Handle of the key to be certified.antiReplay
- 160 bits of externally supplied data (typically a nonce provided to prevent
replay-attacks)inAuth1
- The data for the first authorization session.inAuth2
- The data for the second authorization session.certAuth
- HMAC key for the first authorization session.keyAuth
- HMAC key for the second authorization session.
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspCertifyKey2_Internal(TcContext context, long certHandle, long keyHandle, TcTpmDigest migrationPubDigest, TcTpmNonce antiReplay, TcTcsAuth inAuth1, TcTcsAuth inAuth2, TcTpmSecret keyAuth, TcTpmSecret certAuth) throws TcTssException
context
- The context this call is associated with.keyHandle
- Handle of the key to be certified.certHandle
- Handle of the key to be used to certify the key.migrationPubDigest
- The digest of a TcTpmMsaCompositestructure, containing at least one
public key of a Migration AuthorityantiReplay
- 160 bits of externally supplied data (typically a nonce provided to prevent
replay-attacks)inAuth1
- The data for the first authorization session.inAuth2
- The data for the second authorization session.keyAuth
- HMAC key for the first authorization session.certAuth
- HMAC key for the second authorization session.
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspCreateEndorsementKeyPair_Internal(TcContext context, TcTpmKeyParms keyInfo, TcTpmNonce antiReplay) throws TcTssException
context
- The context this call is associated with.antiReplay
- Arbitrary data.keyInfo
- Information about key to be created, this includes all algorithm parameters.
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspCreateRevocableEK_Internal(TcContext context, TcTpmKeyParms keyInfo, TcTpmNonce antiReplay, boolean generateReset, TcTpmNonce inputEKreset) throws TcTssException
context
- The context this call is associated with.keyInfo
- Information about key to be created, this includes all algorithm parameters.antiReplay
- Arbitrary data.generateReset
- If TRUE use TPM RNG to generate EKreset. If FALSE use the passed value
inputEKreset,inputEKreset
- The authorization value to be used with RevokeEndorsementKeyPair if
generateReset==FALSE, else the parameter is present but ignored.
{@link
- TcTssException}
TcTssException
public static void TspRevokeEndorsementKeyPair_Internal(TcContext context, TcTpmNonce EKReset) throws TcTssException
context
- The context this call is associated with.EKReset
- The value that will be matched toEK Reset
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspReadPubek_Internal(TcContext context, TcTpmNonce antiReplay) throws TcTssException
context
- The context this call is associated with.
{@link
- TcTssException}
TcTssException
public static void TcsipEvictKey(TcContext context, long keyHandle) throws TcTssException
context
- The context this call is associated with.keyHandle
- TCS key handle of the key to be evicted.
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspOwnerReadInternalPub_Internal(TcContext context, long keyHandle, TcTcsAuth inAuth1, TcTpmSecret ownerAuth) throws TcTssException
context
- The context this call is associated with.keyHandle
- Handle for either PUBEK or SRKinAuth1
- The data for the authorization session.ownerAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspActivateIdentity_Internal(TcContext context, long idKeyHandle, TcBlobData blob, TcTcsAuth inAuth1, TcTcsAuth inAuth2, TcTpmSecret idKeyAuth, TcTpmSecret ownerAuth) throws TcTssException
context
- The context this call is associated with.idKeyHandle
- Identity key to be activated.blob
- The encrypted ASYM_CA_CONTENTS orTcTpmEkBlob.inAuth1
- The data for the first authorization session.inAuth2
- The data for the second authorization session.idKeyAuth
- HMAC key for the first authorization session.ownerAuth
- HMAC key for the second authorization session.
{@link
- TcTssException}
TcTssException
public static TcTpmDigest TspExtend_Internal(TcContext context, long pcrNum, TcTpmDigest inDigest) throws TcTssException
context
- The context this call is associated with.pcrNum
- The PCR to be updated.inDigest
- The 160 bit value representing the event to be recorded.
{@link
- TcTssException}
TcTssException
public static TcTpmDigest TspPcrRead_Internal(TcContext context, long pcrIndex) throws TcTssException
context
- The context this call is associated with.pcrIndex
- Index of the PCR to be read
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspQuote_Internal(TcContext context, long keyHandle, TcTpmNonce externalData, TcTpmPcrSelection targetPCR, TcTcsAuth inAuth1, TcTpmSecret privAuth) throws TcTssException
context
- The context this call is associated with.keyHandle
- The keyHandle identifier of a loaded key that can sign the PCR values.externalData
- 160 bits of externally supplied data (typically a nonce provided by a
server to prevent replay-attacks)targetPCR
- The indices of the PCRs that are to be reported.inAuth1
- The data for the authorization session.privAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static void TspPcrReset_Internal(TcContext context, TcTpmPcrSelection pcrSelection) throws TcTssException
context
- The context this call is associated with.pcrSelection
- The PCR's to reset.
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspQuote2_Internal(TcContext context, long keyHandle, TcTpmNonce externalData, TcTpmPcrSelection targetPCR, boolean addVersion, TcTcsAuth inAuth1, TcTpmSecret privAuth) throws TcTssException
context
- The context this call is associated with.keyHandle
- The keyHandle identifier of a loaded key that can sign the PCR values.externalData
- 160 bits of externally supplied data (typically a nonce provided by a
server to prevent replay-attacks)targetPCR
- The indices of the PCRs that are to be reported.addVersion
- When TRUE add TcTpmCapVersionInfoto the outputinAuth1
- The data for the authorization session.privAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspChangeAuth_Internal(TcContext context, long parentHandle, int protocolID, TcTpmEncauth newAuth, int entityType, TcBlobData encData, TcTcsAuth inAuth1, TcTcsAuth inAuth2, TcTpmSecret parentAuth, TcTpmSecret entityAuth, TcTpmSecret entityAuthVal) throws TcTssException
context
- The context this call is associated with.parentHandle
- Handle of the parent key to the entity.protocolID
- The protocol in use.newAuth
- The encrypted new AuthData for the entity.entityType
- The type of entity to be modified.encData
- The encrypted entity that is to be modified.inAuth1
- The data for the first authorization session.inAuth2
- The data for the second authorization session.parentAuth
- HMAC key for the first authorization session.entityAuth
- HMAC key for the second authorization session.entityAuthVal
- HMAC key for validating the output of the second authorization session. On
1.2 TPMs enityAuth and entityAuthVal typically are the same (namely the new secret of
the entity). On 1.1 TPMs entityAuth is the new secret while entityAuthVal is the old
secret of the entity.
{@link
- TcTssException}
TcTssException
public static TcTcsAuth TspChangeAuthOwner_Internal(TcContext context, int protocolID, TcTpmEncauth newAuth, int entityType, TcTcsAuth inAuth1, TcTpmSecret ownerAuth) throws TcTssException
context
- The context this call is associated with.protocolID
- The protocol in use.newAuth
- The encrypted new AuthData for the entityentityType
- The type of entity to be modifiedinAuth1
- The data for the authorization session.ownerAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static TcTcsAuth TspOIAP_Internal(TcContext context) throws TcTssException
context
- The context this call is associated with.
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspOSAP_Internal(TcContext context, int entityType, long entityValue, TcTpmNonce nonceOddOSAP) throws TcTssException
context
- The context this call is associated with.entityType
- The type of entity in use.entityValue
- The selection value based on entityType, e.g. a keyHandle.
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspDSAP_Internal(TcContext context, int entityType, long keyHandle, TcTpmNonce nonceOddDSAP, TcBlobData entityValue) throws TcTssException
context
- The context this call is associated with.entityType
- The type of delegation information to usekeyHandle
- Key for which delegated authority corresponds, or 0 if delegated owner
activity. Only relevant if entityValue equals TcTpmDelegateKeyBlobentityValue
- TcTpmDelegateKeyBlob or TcTpmDelegateOwnerBlob or index MUST not be empty If
entityType is TPM_ET_DEL_ROW thenentityValue is a long
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspDelegateManage_Internal(TcContext context, long familyID, long opCode, TcBlobData opData, TcTcsAuth inAuth1, TcTpmSecret ownerAuth) throws TcTssException
context
- The context this call is associated with.familyID
- The familyID that is to be managedopCode
- Operation to be performed by this command.opData
- Data necessary to implement opCodeinAuth1
- The data for the authorization session.ownerAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspDelegateCreateKeyDelegation_Internal(TcContext context, long keyHandle, TcTpmDelegatePublic publicInfo, TcTpmEncauth delAuth, TcTcsAuth inAuth1, TcTpmSecret privAuth) throws TcTssException
context
- The context this call is associated with.keyHandle
- The keyHandle identifier of a loaded key.publicInfo
- The public information necessary to fill in the blobdelAuth
- The encrypted new AuthData for the blob. The encryption key is the shared secret
from the authorization session protocol.inAuth1
- The data for the authorization session.privAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspDelegateCreateOwnerDelegation_Internal(TcContext context, boolean increment, TcTpmDelegatePublic publicInfo, TcTpmEncauth delAuth, TcTcsAuth inAuth1, TcTpmSecret ownerAuth) throws TcTssException
context
- The context this call is associated with.increment
- Flag dictates whether verificationCount will be incrementedpublicInfo
- The public parameters for the blobdelAuth
- The encrypted new AuthData for the blob. The encryption key is the shared secret
from the OSAP protocol.inAuth1
- The data for the authorization session.ownerAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static TcTcsAuth TspDelegateLoadOwnerDelegation_Internal(TcContext context, long index, TcTpmDelegateOwnerBlob blob, TcTcsAuth inAuth1, TcTpmSecret ownerAuth) throws TcTssException
context
- The context this call is associated with.index
- The index of the delegate row to be writtenblob
- Delegation information, including encrypted portions as appropriateinAuth1
- The data for the authorization session.ownerAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspDelegate_ReadTable_Internal(TcContext context) throws TcTssException
context
- The context this call is associated with.
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspDelegate_UpdateVerificationCount_Internal(TcContext context, TcBlobData inputData, TcTcsAuth inAuth1, TcTpmSecret ownerAuth) throws TcTssException
context
- The context this call is associated with.inputData
- TcTpmDelegateKeyBlob or TcTpmDelegateOwnerBlob or longinAuth1
- The data for the authorization session.ownerAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static void TspDelegateVerifyDelegation_Internal(TcContext context, TcBlobData delegation) throws TcTssException
context
- The context this call is associated with.delegation
- TcTpmDelegateKeyBlob or TcTpmDelegateOwnerBlob
{@link
- TcTssException}
TcTssException
public static TcTcsAuth TspNvDefineSpace_Internal(TcContext context, TcTpmNvDataPublic pubInfo, TcTpmEncauth encAuth, TcTcsAuth inAuth1, TcTpmSecret ownerAuth) throws TcTssException
context
- The context this call is associated with.pubInfo
- The public parameters of the NV area.encAuth
- The encrypted AuthData, only valid if the attributes require subsequent
authorization.inAuth1
- The data for the authorization session.ownerAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static TcTcsAuth TspNvWriteValue_Internal(TcContext context, long nvIndex, long offset, TcBlobData data, TcTcsAuth inAuth1, TcTpmSecret ownerAuth) throws TcTssException
context
- The context this call is associated with.nvIndex
- The index of the area to set.offset
- The offset into the NV Area.data
- The data to set the area to.inAuth1
- The data for the authorization session.ownerAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static TcTcsAuth TspNvWriteValueAuth_Internal(TcContext context, long nvIndex, long offset, TcBlobData data, TcTcsAuth inAuth1, TcTpmSecret authValue) throws TcTssException
context
- The context this call is associated with.nvIndex
- The index of the area to setoffset
- The offset into the chunkdata
- The data to set the area toinAuth1
- The data for the authorization session.authValue
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspNvReadValue_Internal(TcContext context, long nvIndex, long offset, long dataSz, TcTcsAuth inAuth1, TcTpmSecret ownerAuth) throws TcTssException
context
- The context this call is associated with.nvIndex
- The index of the area to setoffset
- The offset into the areadataSz
- The size of the data areainAuth1
- The data for the authorization session.ownerAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspNvReadValueAuth_Internal(TcContext context, long nvIndex, long offset, long dataSz, TcTcsAuth inAuth1, TcTpmSecret authHmac) throws TcTssException
context
- The context this call is associated with.nvIndex
- The index of the area to setoffset
- The offset from the data areadataSz
- The size of the data areainAuth1
- The data for the authorization session.authHmac
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static TcTpmCurrentTicks TspReadCurrentTicks_Internal(TcContext context) throws TcTssException
context
- The context this call is associated with.
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspTickStampBlob_Internal(TcContext context, long keyHandle, TcTpmNonce antiReplay, TcTpmDigest digestToStamp, TcTcsAuth inAuth1, TcTpmSecret privAuth) throws TcTssException
context
- The context this call is associated with.keyHandle
- The keyHandle identifier of a loaded key that can perform digital signatures.antiReplay
- Anti replay value added to signaturedigestToStamp
- The digest to perform the tick stamp oninAuth1
- The data for the authorization session.privAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspEstablishTransport_Internal(TcContext context, long encHandle, TcTpmTransportPublic transPublic, TcBlobData secret, TcTcsAuth inAuth1, TcTpmSecret keyAuth) throws TcTssException
context
- The context this call is associated with.encHandle
- The handle to the key that encrypted the blobtransPublic
- The public information describing the transport sessionsecret
- The encrypted secret areainAuth1
- The data for the authorization session.keyAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspExecuteTransport_Internal(TcContext context, TcBlobData wrappedCmd, long transHandle, TcTcsAuth inAuth1, TcTpmSecret transAuth) throws TcTssException
context
- The context this call is associated with.wrappedCmd
- The wrapped commandtransHandle
- The transport session handleinAuth1
- The data for the authorization session.transAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspReleaseTransportSigned_Internal(TcContext context, long keyHandle, TcTpmNonce antiReplay, long transHandle, TcTcsAuth inAuth1, TcTcsAuth inAuth2, TcTpmSecret keyAuth, TcTpmSecret transAuth) throws TcTssException
context
- The context this call is associated with.keyHandle
- Handle of a loaded key that will perform the signingantiReplay
- Value provided by caller for anti-replay protectiontransHandle
- The transport session handleinAuth1
- The data for the first authorization session.inAuth2
- The data for the second authorization session.keyAuth
- HMAC key for the first authorization session.transAuth
- HMAC key for the second authorization session.
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspCreateCounter_Internal(TcContext context, TcTpmEncauth encAuth, TcBlobData label, TcTcsAuth inAuth1, TcTpmSecret ownerAuth) throws TcTssException
context
- The context this call is associated with.encAuth
- The encrypted authorization data for the new counterlabel
- Label to associate with counterinAuth1
- The data for the authorization session.ownerAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspIncrementCounter_Internal(TcContext context, long countID, TcTcsAuth inAuth1, TcTpmSecret counterAuth) throws TcTssException
context
- The context this call is associated with.countID
- The handle of a valid counterinAuth1
- The data for the authorization session.counterAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static TcTpmCounterValue TspReadCounter_Internal(TcContext context, long countID) throws TcTssException
context
- The context this call is associated with.countID
- ID value of the counter
{@link
- TcTssException}
TcTssException
public static TcTcsAuth TspReleaseCounter_Internal(TcContext context, long countID, TcTcsAuth inAuth1, TcTpmSecret counterAuth) throws TcTssException
context
- The context this call is associated with.countID
- ID value of the counterinAuth1
- The data for the authorization session.counterAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static TcTcsAuth TspReleaseCounterOwner_Internal(TcContext context, long countID, TcTcsAuth inAuth1, TcTpmSecret ownerAuth) throws TcTssException
context
- The context this call is associated with.countID
- ID value of the counterinAuth1
- The data for the authorization session.ownerAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspDaaJoin_Internal(TcContext context, long handle, short stage, TcBlobData inputData0, TcBlobData inputData1, TcTcsAuth inAuth1, TcTpmSecret ownerAuth) throws TcTssException
context
- The context this call is associated with.handle
- Session handlestage
- Processing stage of joininputData0
- Data to be used by this capabilityinputData1
- Data to be used by this capabilityinAuth1
- The data for the authorization session.ownerAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspDaaSign_Internal(TcContext context, long handle, short stage, TcBlobData inputData0, TcBlobData inputData1, TcTcsAuth inAuth1, TcTpmSecret ownerAuth) throws TcTssException
context
- The context this call is associated with.handle
- Handle to the sign sessionstage
- Stage of the sign processinputData0
- Data to be used by this capabilityinputData1
- Data to be used by this capabilityinAuth1
- The data for the authorization session.ownerAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static void TspTerminateHandle_Internal(TcContext context, long handle) throws TcTssException
context
- The context this call is associated with.handle
- The handle to terminate
{@link
- TcTssException}
TcTssException
public static TcTcsAuth TspDirWriteAuth_Internal(TcContext context, long dirIndex, TcTpmDigest newContents, TcTcsAuth inAuth1, TcTpmSecret ownerAuth) throws TcTssException
context
- The context this call is associated with.dirIndex
- Index of the DIRnewContents
- New value to be stored in named DIRinAuth1
- The data for the authorization session.ownerAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static TcTpmDigest TspDirRead_Internal(TcContext context, long dirIndex) throws TcTssException
context
- The context this call is associated with.dirIndex
- Index of the DIR to be read
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspChangeAuthAsymStart_Internal(TcContext context, long idHandle, TcTpmNonce antiReplay, TcTpmKeyParms tempKey, TcTcsAuth inAuth1, TcTpmSecret idAuth) throws TcTssException
context
- The context this call is associated with.idHandle
- The keyHandle identifier of a loaded identity ID keyantiReplay
- The nonce to be inserted into the certifyInfo structuretempKey
- Structure contains all parameters of ephemeral key.inAuth1
- The data for the authorization session.idAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspChangeAuthAsymFinish_Internal(TcContext context, long parentHandle, long ephHandle, int entityType, TcTpmDigest newAuthLink, TcBlobData encNewAuth, TcBlobData encData, TcTcsAuth inAuth1, TcTpmSecret privAuth) throws TcTssException
context
- The context this call is associated with.parentHandle
- The keyHandle of the parent key for the input data.ephHandle
- The keyHandle identifier for the ephemeral key.entityType
- The type of entity to be modified.newAuthLink
- HMAC calculation that links the old and new AuthData values together.encNewAuth
- New AuthData encrypted with ephemeral key.encData
- The encrypted entity that is to be modified.inAuth1
- The data for the authorization session.privAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspOwnerReadPubek_Internal(TcContext context, TcTcsAuth inAuth1, TcTpmSecret ownerAuth) throws TcTssException
context
- The context this call is associated with.inAuth1
- The data for the authorization session.ownerAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static TcTcsAuth TspDisablePubekRead_Internal(TcContext context, TcTcsAuth inAuth1, TcTpmSecret ownerAuth) throws TcTssException
context
- The context this call is associated with.inAuth1
- The data for the authorization session.ownerAuth
- HMAC key for the authorization session.
{@link
- TcTssException}
TcTssException
public static java.lang.Long TspSHA1Start_Internal(TcContext context) throws TcTssException
context
- The context this call is associated with.
{@link
- TcTssException}
TcTssException
public static void TspSHA1Update_Internal(TcContext context, long numBytes, TcBlobData hashData) throws TcTssException
context
- The context this call is associated with.numBytes
- The number of bytes in hashData. Must be a multiple of 64 bytes.hashData
- Bytes to be hashed
{@link
- TcTssException}
TcTssException
public static TcTpmDigest TspSHA1Complete_Internal(TcContext context, TcBlobData hashData) throws TcTssException
context
- The context this call is associated with.hashData
- Final bytes to be hashed
{@link
- TcTssException}
TcTssException
public static java.lang.Object[] TspSHA1CompleteExtend_Internal(TcContext context, long pcrNum, TcBlobData hashData) throws TcTssException
context
- The context this call is associated with.pcrNum
- Index of the PCR to be modifiedhashData
- Final bytes to be hashed
{@link
- TcTssException}
TcTssException
public static TcBlobData TspIfxReadTpm11Ek(TcContext context) throws TcTssException
context
- The context this call is associated with.
TcTssException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |