|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object iaik.tc.tss.impl.java.tcs.tcsi.TcTcsi
public class TcTcsi
This class provides a set of functions making up the TCS interface (TCSI). This interface is the one to be exposed to the TSP. This can be done in several ways ranging from RPC (RMI) to SOAP. For testing, a local procedure call interface might be of interest as well. Note that access to the TPM must be properly synchronized. According to the TCG specification, the TCS is the component for the TSS that is responsible for this synchronization. Since all calls from TSPs (no matter if they were received via SOAP, RMI, ...) have to pass the TCSI implemented in this class, it is the logical point for implementing synchronization. Methods (or data) that are beyond (or more precisely below) the TCSI do not require explicit synchronization since it can safely be assumed that only one thread at a time can be beyond this point.
Constructor Summary | |
---|---|
TcTcsi()
|
Method Summary | |
---|---|
static java.lang.Object[] |
TcsEstablishTransport(long hContext,
long tcsEncKeyHandle,
TcTpmTransportPublic transPublic,
TcBlobData secret,
TcTcsAuth inAuth1)
TODO (transport): implement Tcsip method signature |
static java.lang.Object[] |
TcsExecuteTransport(long hContext,
TcBlobData wrappedCmd,
long transHandle,
TcTcsAuth inAuth1)
TODO (transport): implement Tcsip method signature |
static long |
TcsiCloseContext(long hContext)
|
static TcTssKmKeyinfo[] |
TcsiEnumRegisteredKeys(long hContext,
TcTssUuid keyUuid)
This method allows obtaining an array of TcTssKmKeyinfo
structures. |
static long |
TcsiFreeMemory(long hContext,
long pMemory)
|
static TcBlobData |
TcsiGetCapability(long hContext,
long capArea,
TcBlobData subCap)
|
static java.lang.Object[] |
TcsiGetCredentials(long hContext)
This method returns the endorsement, platform, and conformance credentials for a platform. |
static TcTssPcrEvent |
TcsiGetPcrEvent(long hContext,
long pcrIndex,
long number)
This method is used to retrieve events logged with TcsiLogPcrEvent(long, TcTssPcrEvent) . |
static long |
TcsiGetPcrEventCount(long hContext,
long pcrIndex)
This method returns the number of events logged with TcsiLogPcrEvent(long, TcTssPcrEvent) . |
static TcTssPcrEvent[] |
TcsiGetPcrEventLog(long hContext)
This method returns the event log of all events since the TPM was initialized. |
static TcTssPcrEvent[] |
TcsiGetPcrEventsByPcr(long hContext,
long pcrIndex,
long firstEvent,
long eventCount)
This method returns an event log bound to a single PCR. |
static TcTssKmKeyinfo |
TcsiGetRegisteredKey(long hContext,
TcTssUuid keyUuid)
This method allows obtaining a TcTssKmKeyinfo structure
containing information about the registered key. |
static TcBlobData |
TcsiGetRegisteredKeyBlob(long hContext,
TcTssUuid keyUuid)
This method returns the key blob (either TcTpmKey or
TcTpmKey12 ) of the key with the given UUID. |
static TcBlobData |
TcsiGetRegisteredKeyByPublicInfo(long hContext,
long algId,
TcBlobData publicInfo)
This method returns the key blob specified by the publicInfo parameter. |
static long |
TcsiLogPcrEvent(long hContext,
TcTssPcrEvent pcrEvent)
This method adds a new event to the end of the array associated with the named PCR. |
static java.lang.Object[] |
TcsiOpenContext()
|
static java.lang.Object[] |
TcsipActivateTpmIdentity(long hContext,
long tcsIdKeyHandle,
TcBlobData blob,
TcTcsAuth inKeyAuth,
TcTcsAuth inOwnerAuth)
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[] |
TcsipAuthorizeMigrationKey(long hContext,
int migrationScheme,
TcTpmPubkey migrationKey,
TcTcsAuth 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[] |
TcsipCertifyKey(long hContext,
long tcsCertHandle,
long tcsKeyHandle,
TcTpmNonce antiReplay,
TcTcsAuth certAuth,
TcTcsAuth keyAuth)
This method allows a key to certify the public portion of certain storage and signing keys. |
static java.lang.Object[] |
TcsipCertifyKey2(long hContext,
long tcsCertHandle,
long tcsKeyHandle,
TcTpmDigest migrationPubDigest,
TcTpmNonce antiReplay,
TcTcsAuth certAuth,
TcTcsAuth keyAuth)
This method allows a key to certify the public portion of certifiable migratable storage and signing keys. |
static java.lang.Object[] |
TcsipChangeAuth(long hContext,
long tcsParentKeyHandle,
int protocolID,
TcTpmEncauth newAuth,
int entityType,
TcBlobData encData,
TcTcsAuth ownerAuth,
TcTcsAuth entityAuth)
This method allows the owner of an entity to change the authorization data for the entity. |
static java.lang.Object[] |
TcsipChangeAuthAsymFinish(long hContext,
long tcsParentKeyHandle,
long tcsEphHandle,
int entityType,
TcTpmDigest newAuthLink,
TcBlobData encNewAuth,
TcBlobData encData,
TcTcsAuth inAuth)
This method completes the process of changing authorization for an entity. |
static java.lang.Object[] |
TcsipChangeAuthAsymStart(long hContext,
long tcsKeyHandle,
TcTpmNonce antiReplay,
TcTpmKeyParms tempKeyInfo,
TcTcsAuth inAuth)
This method starts the process of changing authorization for an entity. |
static java.lang.Object[] |
TcsipChangeAuthOwner(long hContext,
int protocolID,
TcTpmEncauth newAuth,
int entityType,
TcTcsAuth 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[] |
TcsipCmkApproveMA(long hContext,
TcTpmDigest migrationAuthorityDigest,
TcTcsAuth 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[] |
TcsipCmkConvertMigration(long hContext,
long tcsParentKeyHandle,
TcTpmCmkAuth restrictTicket,
TcTpmDigest sigTicket,
TcTpmKey12 migratedKey,
TcTpmMsaComposite msaList,
TcBlobData random,
TcTcsAuth parentAuth)
This command is used as the final step to finish migrating a key to a new TPM. |
static java.lang.Object[] |
TcsipCmkCreateBlob(long hContext,
long tcsParentKeyHandle,
int migrationType,
TcTpmMigrationkeyAuth migrationKeyAuth,
TcTpmDigest pubSourceKeyDigest,
TcTpmMsaComposite msaList,
TcBlobData restrictTicket,
TcBlobData sigTicket,
TcBlobData encData,
TcTcsAuth 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[] |
TcsipCmkCreateKey(long hContext,
long tcsParentKeyHandle,
TcTpmEncauth keyDataUsageAuth,
TcTpmDigest migrationAuthorityApproval,
TcTpmDigest migrationAuthorityDigest,
TcTpmKey12 keyInfo,
TcTcsAuth inAuth)
This command both generates and creates a secure storage bundle for asymmetric keys whose migration is controlled/restricted by a migration authority. |
static java.lang.Object[] |
TcsipCmkCreateTicket(long hContext,
TcTpmPubkey pubVerificationKey,
TcTpmDigest signedData,
TcBlobData signatureValue,
TcTcsAuth ownerAuth)
This owner controlled command uses a public key to verify the signature over a digest. |
static java.lang.Object[] |
TcsipCmkSetRestrictions(long hContext,
long restriction,
TcTcsAuth ownerAuth)
This command is used by the owner to order the usage of a CMK with delegated authorization. |
static java.lang.Object[] |
TcsipContinueSelfTest(long hContext)
This method informs the TPM that it may complete the self test of all TPM functions. |
static java.lang.Object[] |
TcsipConvertMigrationBlob(long hContext,
long tcsParentKeyHandle,
TcBlobData inData,
TcBlobData random,
TcTcsAuth parentAuth)
This method takes a migration blob and creates a normal wrapped blob. |
static java.lang.Object[] |
TcsipCreateCounter(long hContext,
TcBlobData label,
TcTpmEncauth encAuth,
TcTcsAuth ownerAuth)
This method creates a new counter in the TPM. |
static java.lang.Object[] |
TcsipCreateEndorsementKeyPair(long hContext,
TcTpmNonce antiReplay,
TcTpmKeyParms keyInfo)
This method generates the endorsement key pair. |
static java.lang.Object[] |
TcsipCreateMaintenanceArchive(long hContext,
boolean generateRandom,
TcTcsAuth ownerAuth)
This method creates a TPM maintenance archive. |
static java.lang.Object[] |
TcsipCreateMigrationBlob(long hContext,
long tcsParentKeyHandle,
int migrationType,
TcTpmMigrationkeyAuth migrationKeyAuth,
TcBlobData encData,
TcTcsAuth parentAuth,
TcTcsAuth 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[] |
TcsipCreateRevocableEK(long hContext,
TcTpmNonce antiReplay,
TcTpmKeyParms keyInfo,
boolean generateReset,
TcTpmNonce inputEKreset)
This method generates the revocable endorsement key pair. |
static java.lang.Object[] |
TcsipCreateWrapKey(long hContext,
long tcsHParentKey,
TcTpmEncauth keyUsageAuth,
TcTpmEncauth keyMigrationAuth,
TcITpmKeyNew keyInfo,
TcTcsAuth inAuth)
This method allows creating a new key, which is wrapped by the already loaded wrapping key. |
static java.lang.Object[] |
TcsipDaaJoin(long hContext,
long handle,
short stage,
TcBlobData inputData0,
TcBlobData inputData1,
TcTcsAuth ownerAuth)
This method executes a TPM DAA join command. |
static java.lang.Object[] |
TcsipDaaSign(long hContext,
long handle,
short stage,
TcBlobData inputData0,
TcBlobData inputData1,
TcTcsAuth ownerAuth)
This method executes a TPM DAA sign command. |
static java.lang.Object[] |
TcsipDelegateCreateKeyDelegation(long hContext,
long tcsKeyHandle,
TcTpmDelegatePublic publicInfo,
TcTpmEncauth encDelAuth,
TcTcsAuth keyAuth)
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[] |
TcsipDelegateCreateOwnerDelegation(long hContext,
boolean increment,
TcTpmDelegatePublic publicInfo,
TcTpmEncauth encDelAuth,
TcTcsAuth ownerAuth)
This method is used to delegate owner privileges to use a set of command ordinals by creating a blob. |
static java.lang.Object[] |
TcsipDelegateLoadOwnerDelegation(long hContext,
long index,
TcTpmDelegateOwnerBlob blob,
TcTcsAuth ownerAuth)
This method is used to load an owner delegation blob into the TPM non-volatile delegation table. |
static java.lang.Object[] |
TcsipDelegateManage(long hContext,
long familyID,
long opFlag,
TcBlobData opData,
TcTcsAuth ownerAuth)
This command is authorized either by the TPM owner or by physical presence. |
static java.lang.Object[] |
TcsipDelegateReadTable(long hContext)
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[] |
TcsipDelegateUpdateVerificationCount(long hContext,
TcBlobData inputData,
TcTcsAuth 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[] |
TcsipDelegateVerifyDelegation(long hContext,
TcBlobData delegation)
This method interprets a delegate blob and returns success or failure, depending on whether the blob is currently valid. |
static java.lang.Object[] |
TcsipDirRead(long hContext,
long dirIndex)
This method provides read access to the Data Integrity Registers. |
static java.lang.Object[] |
TcsipDirWriteAuth(long hContext,
long dirIndex,
TcTpmDigest newContents,
TcTcsAuth inAuth)
This method provides write access to the Data Integrity Registers. |
static java.lang.Object[] |
TcsipDisableForceClear(long hContext)
This command disables the execution of the ForceClear command until next startup cycle. |
static java.lang.Object[] |
TcsipDisableOwnerClear(long hContext,
TcTcsAuth ownerAuth)
This command disables the ability to execute the OwnerClear command permanently. |
static java.lang.Object[] |
TcsipDisablePubekRead(long hContext,
TcTcsAuth ownerAuth)
This method returns the public portion of the endorsement key. |
static java.lang.Object[] |
TcsipDSAP(long hContext,
int entityType,
long tcsKeyHandle,
TcTpmNonce nonceOddDSAP,
TcBlobData entityValue)
This method opens a delegated authorization session. |
static java.lang.Object[] |
TcsipEvictKey(long hContext,
long tcsKeyHandle)
This method allows to flush a key from the key cache. |
static java.lang.Object[] |
TcsipExtend(long hContext,
long pcrNum,
TcTpmDigest inDigest)
This command causes the modification of a specific PCR register. |
static java.lang.Object[] |
TcsipFieldUpgrade(long hContext,
TcBlobData inData,
TcTcsAuth ownerAuth)
This command provides a mechanism that allows a vendor to update the protected capabilities once a TPM is in the field. |
static java.lang.Object[] |
TcsipForceClear(long hContext)
This method performs the clear operation under physical presence. |
static java.lang.Object[] |
TcsipGetAuditDigest(long hContext,
long startOrdinal)
This method gets the digest of audited ordinals. |
static java.lang.Object[] |
TcsipGetAuditDigestSigned(long hContext,
long tcsKeyHandle,
boolean closeAudit,
TcTpmNonce antiReplay,
TcTcsAuth inAuth)
This method gets the signed digest of audited ordinals. |
static java.lang.Object[] |
TcsipGetCapability(long hContext,
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[] |
TcsipGetCapabilityOwner(long hContext,
TcTcsAuth ownerAuth)
This method enables the TPM owner to retrieve information belonging to the TPM owner. |
static java.lang.Object[] |
TcsipGetPubKey(long hContext,
long tcsKeyHandle,
TcTcsAuth inAuth)
This method allows obtaining the public key data of a key loaded in the TPM. |
static java.lang.Object[] |
TcsipGetRandom(long hContext,
long bytesRequested)
This method returns the next bytesRequested bytes from the random number generator to the caller. |
static java.lang.Object[] |
TcsipGetTestResult(long hContext)
This method provides manufacturer specific information regarding the results of the self-test. |
static java.lang.Object[] |
TcsipIfxReadTpm11EkCert(long hContext,
byte index,
TcBlobData antiReplay)
Vendor specific for Infineon 1.1b TPMs. |
static java.lang.Object[] |
TcsipIncrementCounter(long hContext,
long countID,
TcTcsAuth counterAuth)
This method selects a counter if one has not yet been selected, and increments that counter register. |
static void |
TcsipKeyControlOwner(long hContext,
long tcsKeyHandle,
long attribName,
long attribValue,
TcTcsAuth ownerAuth,
TcTssUuid uuidData)
Tcsip_KeyControlOwner controls attributes of a loaded key. |
static java.lang.Object[] |
TcsipKillMaintenanceFeature(long hContext,
TcTcsAuth ownerAuth)
This method is a permanent action that prevents ANYONE from creating a TPM maintenance archive until a new TPM owner is set. |
static java.lang.Object[] |
TcsipLoadKey2ByBlob(long hContext,
long tcsUnwrappingKey,
TcITpmKey wrappedKeyBlob,
TcTcsAuth inAuth)
|
static java.lang.Object[] |
TcsipLoadKeyByBlob(long hContext,
long hUnwrappingKey,
TcTpmKey wrappedKeyBlob,
TcTcsAuth inAuth)
|
static long |
TcsipLoadKeyByUuid(long hContext,
TcTssUuid keyUuid,
TcTcsLoadkeyInfo loadKeyInfo)
|
static java.lang.Object[] |
TcsipLoadMaintenanceArchive(long hContext,
TcBlobData inData,
TcTcsAuth ownerAuth)
This method loads a TPM maintenance archive that has been massaged by the manufacturer to load into another TPM. |
static java.lang.Object[] |
TcsipLoadManuMaintPub(long hContext,
TcTpmNonce antiReplay,
TcTpmPubkey pubKey)
This method loads the TPM manufactuerer's public key for use in the maintenance process. |
static java.lang.Object[] |
TcsipMakeIdentity(long hContext,
TcTpmEncauth identityAuth,
TcTpmDigest labelPrivCADigest,
TcITpmKeyNew idKeyParams,
TcTcsAuth inAuth1,
TcTcsAuth inAuth2)
This method allows creating a TPM identity and additionally returns the endorsement credential, the platform credential and the conformance credential. |
static java.lang.Object[] |
TcsipMakeIdentity2(long hContext,
TcTpmEncauth identityAuth,
TcTpmDigest labelPrivCADigest,
TcITpmKeyNew idKeyParams,
TcTcsAuth inAuth1,
TcTcsAuth inAuth2)
This method performs the TPM operations necessary to create an identity key. |
static java.lang.Object[] |
TcsipMigrateKey(long hContext,
long tcsMaKeyHandle,
TcTpmPubkey pubKey,
TcBlobData inData,
TcTcsAuth ownerAuth)
This method performs the function of a migration authority. |
static java.lang.Object[] |
TcsipNvDefineOrReleaseSpace(long hContext,
TcTpmNvDataPublic pubInfo,
TcTpmEncauth encAuth,
TcTcsAuth inAuth)
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[] |
TcsipNvReadValue(long hContext,
long nvIndex,
long offset,
long dataSz,
TcTcsAuth inAuth1)
This method reads a value from the NV store. |
static java.lang.Object[] |
TcsipNvReadValueAuth(long hContext,
long nvIndex,
long offset,
long dataLength,
TcTcsAuth inAuth)
This method reads a value from the NV store. |
static java.lang.Object[] |
TcsipNvWriteValue(long hContext,
long nvIndex,
long offset,
TcBlobData data,
TcTcsAuth inAuth)
This command writes the value to a defined area. |
static java.lang.Object[] |
TcsipNvWriteValueAuth(long hContext,
long nvIndex,
long offset,
TcBlobData data,
TcTcsAuth inAuth)
This command writes a previously defined area. |
static java.lang.Object[] |
TcsipOIAP(long hContext)
This method allows the creation of an authorization handle and the tracking of the handle by the TPM. |
static java.lang.Object[] |
TcsipOSAP(long hContext,
int entityType,
long entityValue,
TcTpmNonce nonceOddOSAP)
This method creates the authorization handle, the shared secret and generates nonceEven and nonceEvenOSAP. |
static java.lang.Object[] |
TcsipOwnerClear(long hContext,
TcTcsAuth ownerAuth)
This command clears the TPM under owner authorization. |
static java.lang.Object[] |
TcsipOwnerReadInternalPub(long hContext,
long tcsKeyHandle,
TcTcsAuth inAuth)
This method allows the TPM owner to read the public SRK key or the internal public EK key. |
static java.lang.Object[] |
TcsipOwnerReadPubek(long hContext,
TcTcsAuth ownerAuth)
This method allows the TPM owner to read the public endorsement key. |
static java.lang.Object[] |
TcsipOwnerSetDisable(long hContext,
boolean disableState,
TcTcsAuth ownerAuth)
This method is used to change the status of the TPM_PERSISTENT_DISABLE flag. |
static java.lang.Object[] |
TcsipPcrRead(long hContext,
long pcrNum)
This method provides a non-cryptographic reporting of the contents of a named PCR. |
static java.lang.Object[] |
TcsipPcrReset(long hContext,
TcTpmPcrSelection pcrSelection)
This method resets a PCR register. |
static java.lang.Object[] |
TcsipPhysicalDisable(long hContext)
This method disables the TPM physical presence. |
static java.lang.Object[] |
TcsipPhysicalEnable(long hContext)
This method enables the TPM physical presence. |
static java.lang.Object[] |
TcsipPhysicalPresence(long hContext,
int physicalPresence)
This method sets the physical presence flags. |
static java.lang.Object[] |
TcsipPhysicalSetDeactivated(long hContext,
boolean state)
This method sets the TPM_PERSITSTENT_FLAGS.deactivated flag to the value in the state parameter. |
static java.lang.Object[] |
TcsipQuote(long hContext,
long tcsKeyHandle,
TcTpmNonce antiReplay,
TcTpmPcrSelection targetPCR,
TcTcsAuth inAuth)
This command provides cryptographic reporting of PCR values. |
static java.lang.Object[] |
TcsipQuote2(long hContext,
long tcsKeyHandle,
TcTpmNonce antiReplay,
TcTpmPcrSelection targetPCR,
boolean addVersion,
TcTcsAuth inAuth)
This command provides cryptographic reporting of PCR values. |
static java.lang.Object[] |
TcsipReadCounter(long hContext,
long countID)
This method reads the current value of a counter register. |
static java.lang.Object[] |
TcsipReadCurrentTicks(long hContext)
This method reads the current tick out of the TPM. |
static java.lang.Object[] |
TcsipReadManuMaintPub(long hContext,
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[] |
TcsipReadPubek(long hContext,
TcTpmNonce antiReplay)
This method returns the public portion of the endorsement key. |
static java.lang.Object[] |
TcsipReleaseCounter(long hContext,
long countID,
TcTcsAuth counterAuth)
This method releases a counter so that no reads or increments of the indicated counter will succeed. |
static java.lang.Object[] |
TcsipReleaseCounterOwner(long hContext,
long countID,
TcTcsAuth ownerAuth)
This method releases a counter so that no reads or increments of the indicated counter will succeed. |
static java.lang.Object[] |
TcsipResetLockValue(long hContext,
TcTcsAuth ownerAuth)
Resets the lock that get set in a TPM after multiple false authorization attempts. |
static java.lang.Object[] |
TcsipRevokeEndorsementKeyPair(long hContext,
TcTpmNonce ekReset)
This method clears the TPM revocable endorsement key pair. |
static java.lang.Object[] |
TcsipSeal(long hContext,
long tcsKeyHandle,
TcTpmEncauth encAuth,
TcITpmPcrInfo pcrInfo,
TcBlobData inData,
TcTcsAuth inAuth)
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[] |
TcsipSealx(long hContext,
long tcsKeyHandle,
TcTpmEncauth encAuth,
TcTpmPcrInfoLong pcrInfo,
TcBlobData inData,
TcTcsAuth inAuth)
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[] |
TcsipSelfTestFull(long hContext)
This method triggers a test of all TPM protected capabilities. |
static java.lang.Object[] |
TcsipSetCapability(long hContext,
long capArea,
TcBlobData subCap,
TcBlobData value,
TcTcsAuth ownerAuth)
This method allows the caller to set values in the TPM. |
static java.lang.Object[] |
TcsipSetOperatorAuth(long hContext,
TcTpmSecret operatorAuth)
Sets the operator authorization value for the platform. |
static java.lang.Object[] |
TcsipSetOrdinalAuditStatus(long hContext,
TcTcsAuth ownerAuth,
long ordinalToAudit,
boolean auditState)
This command sets the audit flag for a given ordinal. |
static java.lang.Object[] |
TcsipSetOwnerInstall(long hContext,
boolean state)
This method determines if the TPM has a current owner. |
static java.lang.Object[] |
TcsipSetRedirection(long hContext,
long tcsKeyHandle,
long redirCmd,
TcBlobData inputData,
TcTcsAuth inAuth)
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 java.lang.Object[] |
TcsipSetTempDeactivated(long hContext,
TcTcsAuth operatorAuth)
This method sets the TPM_VOLATILE_FLAGS.deactivated to the value TRUE which temporarily deactivates the TPM. |
static java.lang.Object[] |
TcsipSetTempDeactivatedNoAuth(long hContext)
This method sets the TPM_VOLATILE_FLAGS.deactivated to the value TRUE which temporarily deactivates the TPM. |
static java.lang.Object[] |
TcsipSign(long hContext,
long tcsKeyHandle,
TcBlobData areaToSign,
TcTcsAuth inAuth)
This method signs a digest and returns the resulting digital signature. |
static java.lang.Object[] |
TcsipStirRandom(long hContext,
TcBlobData inData)
This method adds entropy to the RNG state. |
static java.lang.Object[] |
TcsipTakeOwnership(long hContext,
int protocolID,
TcBlobData encOwnerAuth,
TcBlobData encSrkAuth,
TcITpmKeyNew srkParams,
TcTcsAuth inAuth)
This method inserts the Owner-authorization data and creates a new Storage Root Key (SRK). |
static java.lang.Object[] |
TcsipTerminateHandle(long hContext,
long handle)
This method allows the TPM driver to clear out information in an authorization handle. |
static java.lang.Object[] |
TcsipTickStampBlob(long hContext,
long keyHandle,
TcTpmNonce antiReplay,
TcTpmDigest digestToStamp,
TcTcsAuth 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[] |
TcsipUnBind(long hContext,
long tcsKeyHandle,
TcBlobData inData,
TcTcsAuth inAuth)
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[] |
TcsipUnseal(long hContext,
long tcsKeyHandle,
TcITpmStoredData inData,
TcTcsAuth keyAuth,
TcTcsAuth 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. |
static void |
TcsiRegisterKey(long hContext,
TcTssUuid wrappingKeyUuid,
TcTssUuid keyUuid,
TcBlobData key,
TcBlobData vendorData)
Tcsi_RegisterKey allows registering a key in the TCS Persistent Storage (PS). |
static void |
TcsiUnregisterKey(long hContext,
TcTssUuid keyUuid)
A key once registered in the TCS PS can be unregistered from the PS, if that key is not required any longer. |
static java.lang.Object[] |
TcsReleaseTransportSigned(long hContext,
long tcsKeyHandle,
TcTpmNonce antiReplay,
long transHandle,
TcTcsAuth inAuth1,
TcTcsAuth inAuth2)
TODO (transport): implement Tcsip method signature |
static java.lang.Object[] |
TcsSHA1Complete(long hContext,
TcBlobData hashData)
|
static java.lang.Object[] |
TcsSHA1CompleteExtend(long hContext,
long pcrNum,
TcBlobData hashData)
|
static java.lang.Object[] |
TcsSHA1Start(long hContext)
|
static java.lang.Object[] |
TcsSHA1Update(long hContext,
long numBytes,
TcBlobData hashData)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TcTcsi()
Method Detail |
---|
public static java.lang.Object[] TcsiOpenContext()
public static long TcsiCloseContext(long hContext) throws TcTcsException, TcTpmException, TcTddlException
TcTcsException
TcTpmException
TcTddlException
public static long TcsiFreeMemory(long hContext, long pMemory) throws TcTcsException
TcTcsException
public static TcBlobData TcsiGetCapability(long hContext, long capArea, TcBlobData subCap) throws TcTcsException
TcTcsException
public static long TcsiLogPcrEvent(long hContext, TcTssPcrEvent pcrEvent) throws TcTcsException
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.
hContext
- Handle to established context.pcrEvent
- Details of the event being logged.
{@link
- TcTcsException}
TcTcsException
public static TcTssPcrEvent TcsiGetPcrEvent(long hContext, long pcrIndex, long number) throws TcTcsException
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
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.
hContext
- 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
- TcTcsException}
TcTcsException
public static long TcsiGetPcrEventCount(long hContext, long pcrIndex) throws TcTcsException
TcsiLogPcrEvent(long, TcTssPcrEvent)
.
hContext
- Handle to the established context.pcrIndex
- The index of the PCR.
{@link
- TcTcsException}
TcTcsException
public static TcTssPcrEvent[] TcsiGetPcrEventsByPcr(long hContext, long pcrIndex, long firstEvent, long eventCount) throws TcTcsException
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.
hContext
- 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
- TcTcsException}
TcTcsException
public static TcTssPcrEvent[] TcsiGetPcrEventLog(long hContext) throws TcTcsException
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 empty, an empty
array is returned.
hContext
- Handle to the established context.
{@link
- TcTcsException}
TcTcsException
public static void TcsiRegisterKey(long hContext, TcTssUuid wrappingKeyUuid, TcTssUuid keyUuid, TcBlobData key, TcBlobData vendorData) throws TcTssException
hContext
- Handle to established context.wrappingKeyUuid
- UUID of the already registered wrapping parent key.keyUuid
- Id of the key to be registered.key
- The key blob to be stored in the persistent storage.vendorData
- Vendor specific data (currently ignored).
{@link
- TcTcsException}
TcTssException
public static void TcsiUnregisterKey(long hContext, TcTssUuid keyUuid) throws TcTssException
hContext
- Handle to established context.keyUuid
- UUID by which the key is registered.
{@link
- TcTcsException}
TcTssException
public static void TcsipKeyControlOwner(long hContext, long tcsKeyHandle, long attribName, long attribValue, TcTcsAuth ownerAuth, TcTssUuid uuidData) throws TcTcsException
hContext
- Handle to established context.tcsKeyHandle
- Application key handle.attribName
- Attribute name.attribValue
- Attribute value.ownerAuth
- Owner authorization session data.uuidData
- The UUID the key was registered as a TPM resident key.
{@link
- TcTcsException}
TcTcsException
public static TcTssKmKeyinfo[] TcsiEnumRegisteredKeys(long hContext, TcTssUuid keyUuid) throws TcTssException
TcTssKmKeyinfo
structures. This information reflects the registered key hierarchy. The
caller will receive information of the whole key hierarchy. The keys
stored in the persistent storage are totally independent from either the
context provided in the function call or the context, which was provided
while processing the key registration.
hContext
- Handle to established context.keyUuid
- UUID of key the key hierarchy should be returned of. If NULL,
the whole key hierarchy will be returned.
TcTssKmKeyinfo
structures
{@link
- TcTcsException}
TcTssException
public static TcTssKmKeyinfo TcsiGetRegisteredKey(long hContext, TcTssUuid keyUuid) throws TcTssException
TcTssKmKeyinfo
structure
containing information about the registered key.
hContext
- Handle to established context.keyUuid
- UUID of the key information is required.
TcTssKmKeyinfo
structure
{@link
- TcTssException}
TcTssException
public static TcBlobData TcsiGetRegisteredKeyBlob(long hContext, TcTssUuid keyUuid) throws TcTssException
TcTpmKey
or
TcTpmKey12
) of the key with the given UUID.
hContext
- Handle to established context.keyUuid
- UUID of the key to be returned.
TcBlobData
(either TcTpmKey
or TcTpmKey12
)
{@link
- TcTssException}
TcTssException
public static TcBlobData TcsiGetRegisteredKeyByPublicInfo(long hContext, long algId, TcBlobData publicInfo) throws TcTssException
TcTpmStorePubkey
.
hContext
- Handle to established context.algId
- Algorithm ID for public key.publicInfo
- Public key.
TcBlobData
(either TcTpmKey
or TcTpmKey12
)
{@link
- TcTssException}
TcTssException
public static long TcsipLoadKeyByUuid(long hContext, TcTssUuid keyUuid, TcTcsLoadkeyInfo loadKeyInfo) throws TcTssException
hContext
- keyUuid
- The UUID of the key to be loaded.loadKeyInfo
- Information required to load a key if authorization is
required.
TcTssException
public static java.lang.Object[] TcsipLoadKeyByBlob(long hContext, long hUnwrappingKey, TcTpmKey wrappedKeyBlob, TcTcsAuth inAuth) throws TcTddlException, TcTpmException, TcTcsException
TcTddlException
TcTpmException
TcTcsException
public static java.lang.Object[] TcsipLoadKey2ByBlob(long hContext, long tcsUnwrappingKey, TcITpmKey wrappedKeyBlob, TcTcsAuth inAuth) throws TcTddlException, TcTpmException, TcTcsException
TcTddlException
TcTpmException
TcTcsException
public static java.lang.Object[] TcsipEvictKey(long hContext, long tcsKeyHandle) throws TcTddlException, TcTpmException, TcTcsException
hContext
- The context the call is associated with.tcsKeyHandle
- The TCS key handle of the key to be evicted.
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipOwnerReadInternalPub(long hContext, long tcsKeyHandle, TcTcsAuth inAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- tcsKeyHandle
- inAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipGetPubKey(long hContext, long tcsKeyHandle, TcTcsAuth inAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- tcsKeyHandle
- inAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipCreateWrapKey(long hContext, long tcsHParentKey, TcTpmEncauth keyUsageAuth, TcTpmEncauth keyMigrationAuth, TcITpmKeyNew keyInfo, TcTcsAuth inAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- tcsHParentKey
- keyUsageAuth
- keyMigrationAuth
- keyInfo
- inAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipMakeIdentity2(long hContext, TcTpmEncauth identityAuth, TcTpmDigest labelPrivCADigest, TcITpmKeyNew idKeyParams, TcTcsAuth inAuth1, TcTcsAuth inAuth2) throws TcTddlException, TcTpmException, TcTcsException
hContext
- identityAuth
- labelPrivCADigest
- idKeyParams
- inAuth1
- inAuth2
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipMakeIdentity(long hContext, TcTpmEncauth identityAuth, TcTpmDigest labelPrivCADigest, TcITpmKeyNew idKeyParams, TcTcsAuth inAuth1, TcTcsAuth inAuth2) throws TcTddlException, TcTpmException, TcTcsException
hContext
- identityAuth
- labelPrivCADigest
- idKeyParams
- inAuth1
- inAuth2
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsiGetCredentials(long hContext) throws TcTddlException, TcTpmException, TcTcsException
hContext
-
TcTddlException
TcTpmException
TcTcsException
public static java.lang.Object[] TcsipSelfTestFull(long hContext) throws TcTddlException, TcTpmException, TcTcsException
hContext
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipContinueSelfTest(long hContext) throws TcTddlException, TcTpmException, TcTcsException
hContext
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipGetTestResult(long hContext) throws TcTddlException, TcTpmException, TcTcsException
hContext
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipSetOwnerInstall(long hContext, boolean state) throws TcTddlException, TcTpmException, TcTcsException
hContext
- state
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipOwnerSetDisable(long hContext, boolean disableState, TcTcsAuth ownerAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- disableState
- ownerAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipPhysicalEnable(long hContext) throws TcTddlException, TcTpmException, TcTcsException
hContext
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipPhysicalDisable(long hContext) throws TcTddlException, TcTpmException, TcTcsException
hContext
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipPhysicalSetDeactivated(long hContext, boolean state) throws TcTddlException, TcTpmException, TcTcsException
hContext
- state
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipSetTempDeactivated(long hContext, TcTcsAuth operatorAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- operatorAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipSetTempDeactivatedNoAuth(long hContext) throws TcTddlException, TcTpmException, TcTcsException
hContext
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipSetOperatorAuth(long hContext, TcTpmSecret operatorAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- operatorAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipTakeOwnership(long hContext, int protocolID, TcBlobData encOwnerAuth, TcBlobData encSrkAuth, TcITpmKeyNew srkParams, TcTcsAuth inAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- protocolID
- encOwnerAuth
- encSrkAuth
- srkParams
- inAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipOwnerClear(long hContext, TcTcsAuth ownerAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- ownerAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipForceClear(long hContext) throws TcTddlException, TcTpmException, TcTcsException
hContext
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipDisableOwnerClear(long hContext, TcTcsAuth ownerAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- ownerAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipDisableForceClear(long hContext) throws TcTddlException, TcTpmException, TcTcsException
hContext
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipPhysicalPresence(long hContext, int physicalPresence) throws TcTddlException, TcTpmException, TcTcsException
hContext
- physicalPresence
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipGetCapability(long hContext, long capArea, TcBlobData subCap) throws TcTddlException, TcTpmException, TcTcsException
hContext
- capArea
- subCap
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipSetCapability(long hContext, long capArea, TcBlobData subCap, TcBlobData value, TcTcsAuth ownerAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- capArea
- subCap
- value
- ownerAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipGetCapabilityOwner(long hContext, TcTcsAuth ownerAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- ownerAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipGetAuditDigest(long hContext, long startOrdinal) throws TcTddlException, TcTpmException, TcTcsException
hContext
- startOrdinal
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipGetAuditDigestSigned(long hContext, long tcsKeyHandle, boolean closeAudit, TcTpmNonce antiReplay, TcTcsAuth inAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- tcsKeyHandle
- closeAudit
- antiReplay
- inAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipSetOrdinalAuditStatus(long hContext, TcTcsAuth ownerAuth, long ordinalToAudit, boolean auditState) throws TcTddlException, TcTpmException, TcTcsException
hContext
- ordinalToAudit
- auditState
- ownerAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipFieldUpgrade(long hContext, TcBlobData inData, TcTcsAuth ownerAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- inData
- ownerAuth
-
TcTddlException
TcTpmException
TcTcsException
public static java.lang.Object[] TcsipSetRedirection(long hContext, long tcsKeyHandle, long redirCmd, TcBlobData inputData, TcTcsAuth inAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- tcsKeyHandle
- redirCmd
- inputData
- inAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipResetLockValue(long hContext, TcTcsAuth ownerAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- ownerAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipSeal(long hContext, long tcsKeyHandle, TcTpmEncauth encAuth, TcITpmPcrInfo pcrInfo, TcBlobData inData, TcTcsAuth inAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- tcsKeyHandle
- encAuth
- pcrInfo
- inData
- inAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipUnseal(long hContext, long tcsKeyHandle, TcITpmStoredData inData, TcTcsAuth keyAuth, TcTcsAuth dataAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- tcsKeyHandle
- inData
- keyAuth
- dataAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipUnBind(long hContext, long tcsKeyHandle, TcBlobData inData, TcTcsAuth inAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- tcsKeyHandle
- inData
- inAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipSealx(long hContext, long tcsKeyHandle, TcTpmEncauth encAuth, TcTpmPcrInfoLong pcrInfo, TcBlobData inData, TcTcsAuth inAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- tcsKeyHandle
- encAuth
- pcrInfo
- inData
- inAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipCreateMigrationBlob(long hContext, long tcsParentKeyHandle, int migrationType, TcTpmMigrationkeyAuth migrationKeyAuth, TcBlobData encData, TcTcsAuth parentAuth, TcTcsAuth entityAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- tcsParentKeyHandle
- migrationType
- migrationKeyAuth
- encData
- parentAuth
- entityAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipConvertMigrationBlob(long hContext, long tcsParentKeyHandle, TcBlobData inData, TcBlobData random, TcTcsAuth parentAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- tcsParentKeyHandle
- inData
- random
- parentAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipAuthorizeMigrationKey(long hContext, int migrationScheme, TcTpmPubkey migrationKey, TcTcsAuth ownerAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- migrationScheme
- migrationKey
- ownerAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipMigrateKey(long hContext, long tcsMaKeyHandle, TcTpmPubkey pubKey, TcBlobData inData, TcTcsAuth ownerAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- tcsMaKeyHandle
- pubKey
- inData
- ownerAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipCmkSetRestrictions(long hContext, long restriction, TcTcsAuth ownerAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- restriction
- ownerAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipCmkApproveMA(long hContext, TcTpmDigest migrationAuthorityDigest, TcTcsAuth ownerAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- migrationAuthorityDigest
- ownerAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipCmkCreateKey(long hContext, long tcsParentKeyHandle, TcTpmEncauth keyDataUsageAuth, TcTpmDigest migrationAuthorityApproval, TcTpmDigest migrationAuthorityDigest, TcTpmKey12 keyInfo, TcTcsAuth inAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- tcsParentKeyHandle
- keyDataUsageAuth
- keyInfo
- migrationAuthorityApproval
- migrationAuthorityDigest
- inAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipCmkCreateTicket(long hContext, TcTpmPubkey pubVerificationKey, TcTpmDigest signedData, TcBlobData signatureValue, TcTcsAuth ownerAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- pubVerificationKey
- signedData
- signatureValue
- ownerAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipCmkCreateBlob(long hContext, long tcsParentKeyHandle, int migrationType, TcTpmMigrationkeyAuth migrationKeyAuth, TcTpmDigest pubSourceKeyDigest, TcTpmMsaComposite msaList, TcBlobData restrictTicket, TcBlobData sigTicket, TcBlobData encData, TcTcsAuth parentAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- tcsParentKeyHandle
- migrationType
- migrationKeyAuth
- pubSourceKeyDigest
- msaList
- restrictTicket
- sigTicket
- encData
- parentAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipCmkConvertMigration(long hContext, long tcsParentKeyHandle, TcTpmCmkAuth restrictTicket, TcTpmDigest sigTicket, TcTpmKey12 migratedKey, TcTpmMsaComposite msaList, TcBlobData random, TcTcsAuth parentAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- tcsParentKeyHandle
- restrictTicket
- sigTicket
- migratedKey
- msaList
- random
- parentAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipCreateMaintenanceArchive(long hContext, boolean generateRandom, TcTcsAuth ownerAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- generateRandom
- ownerAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipLoadMaintenanceArchive(long hContext, TcBlobData inData, TcTcsAuth ownerAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- inData
- ownerAuth
-
TcTddlException
TcTpmException
TcTcsException
public static java.lang.Object[] TcsipKillMaintenanceFeature(long hContext, TcTcsAuth ownerAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- ownerAuth
-
TcTddlException
TcTpmException
TcTcsException
public static java.lang.Object[] TcsipLoadManuMaintPub(long hContext, TcTpmNonce antiReplay, TcTpmPubkey pubKey) throws TcTddlException, TcTpmException, TcTcsException
hContext
- antiReplay
- pubKey
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipReadManuMaintPub(long hContext, TcTpmNonce antiReplay) throws TcTddlException, TcTpmException, TcTcsException
hContext
- antiReplay
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipSign(long hContext, long tcsKeyHandle, TcBlobData areaToSign, TcTcsAuth inAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- tcsKeyHandle
- areaToSign
- inAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipGetRandom(long hContext, long bytesRequested) throws TcTddlException, TcTpmException, TcTcsException
hContext
- bytesRequested
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipStirRandom(long hContext, TcBlobData inData) throws TcTddlException, TcTpmException, TcTcsException
hContext
- inData
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipCertifyKey(long hContext, long tcsCertHandle, long tcsKeyHandle, TcTpmNonce antiReplay, TcTcsAuth certAuth, TcTcsAuth keyAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- tcsCertHandle
- tcsKeyHandle
- antiReplay
- certAuth
- keyAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipCertifyKey2(long hContext, long tcsCertHandle, long tcsKeyHandle, TcTpmDigest migrationPubDigest, TcTpmNonce antiReplay, TcTcsAuth certAuth, TcTcsAuth keyAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- tcsKeyHandle
- tcsCertHandle
- migrationPubDigest
- antiReplay
- keyAuth
- certAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipCreateEndorsementKeyPair(long hContext, TcTpmNonce antiReplay, TcTpmKeyParms keyInfo) throws TcTddlException, TcTpmException, TcTcsException
hContext
- antiReplay
- keyInfo
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipCreateRevocableEK(long hContext, TcTpmNonce antiReplay, TcTpmKeyParms keyInfo, boolean generateReset, TcTpmNonce inputEKreset) throws TcTddlException, TcTpmException, TcTcsException
hContext
- antiReplay
- keyInfo
- generateReset
- inputEKreset
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipRevokeEndorsementKeyPair(long hContext, TcTpmNonce ekReset) throws TcTddlException, TcTpmException, TcTcsException
hContext
- ekReset
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipReadPubek(long hContext, TcTpmNonce antiReplay) throws TcTddlException, TcTpmException, TcTcsException
hContext
- antiReplay
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipActivateTpmIdentity(long hContext, long tcsIdKeyHandle, TcBlobData blob, TcTcsAuth inKeyAuth, TcTcsAuth inOwnerAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- tcsIdKeyHandle
- blob
- inKeyAuth
- inOwnerAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipExtend(long hContext, long pcrNum, TcTpmDigest inDigest) throws TcTddlException, TcTpmException, TcTcsException
hContext
- pcrNum
- inDigest
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipPcrRead(long hContext, long pcrNum) throws TcTddlException, TcTpmException, TcTcsException
hContext
- pcrNum
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipQuote(long hContext, long tcsKeyHandle, TcTpmNonce antiReplay, TcTpmPcrSelection targetPCR, TcTcsAuth inAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- tcsKeyHandle
- antiReplay
- targetPCR
- inAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipPcrReset(long hContext, TcTpmPcrSelection pcrSelection) throws TcTddlException, TcTpmException, TcTcsException
hContext
- pcrSelection
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipQuote2(long hContext, long tcsKeyHandle, TcTpmNonce antiReplay, TcTpmPcrSelection targetPCR, boolean addVersion, TcTcsAuth inAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- tcsKeyHandle
- antiReplay
- targetPCR
- addVersion
- inAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipChangeAuth(long hContext, long tcsParentKeyHandle, int protocolID, TcTpmEncauth newAuth, int entityType, TcBlobData encData, TcTcsAuth ownerAuth, TcTcsAuth entityAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- tcsParentKeyHandle
- protocolID
- newAuth
- entityType
- encData
- ownerAuth
- entityAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipChangeAuthOwner(long hContext, int protocolID, TcTpmEncauth newAuth, int entityType, TcTcsAuth ownerAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- protocolID
- newAuth
- entityType
- ownerAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipOIAP(long hContext) throws TcTddlException, TcTpmException, TcTcsException
hContext
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipOSAP(long hContext, int entityType, long entityValue, TcTpmNonce nonceOddOSAP) throws TcTddlException, TcTpmException, TcTcsException
hContext
- entityType
- entityValue
- nonceOddOSAP
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipDSAP(long hContext, int entityType, long tcsKeyHandle, TcTpmNonce nonceOddDSAP, TcBlobData entityValue) throws TcTddlException, TcTpmException, TcTcsException
hContext
- entityType
- tcsKeyHandle
- nonceOddDSAP
- entityValue
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipDelegateManage(long hContext, long familyID, long opFlag, TcBlobData opData, TcTcsAuth ownerAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- familyID
- opFlag
- opData
- ownerAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipDelegateCreateKeyDelegation(long hContext, long tcsKeyHandle, TcTpmDelegatePublic publicInfo, TcTpmEncauth encDelAuth, TcTcsAuth keyAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- tcsKeyHandle
- publicInfo
- encDelAuth
- keyAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipDelegateCreateOwnerDelegation(long hContext, boolean increment, TcTpmDelegatePublic publicInfo, TcTpmEncauth encDelAuth, TcTcsAuth ownerAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- increment
- publicInfo
- encDelAuth
- ownerAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipDelegateLoadOwnerDelegation(long hContext, long index, TcTpmDelegateOwnerBlob blob, TcTcsAuth ownerAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- index
- blob
- ownerAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipDelegateReadTable(long hContext) throws TcTddlException, TcTpmException, TcTcsException
hContext
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipDelegateUpdateVerificationCount(long hContext, TcBlobData inputData, TcTcsAuth ownerAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- inputData
- ownerAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipDelegateVerifyDelegation(long hContext, TcBlobData delegation) throws TcTddlException, TcTpmException, TcTcsException
hContext
- delegation
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipNvDefineOrReleaseSpace(long hContext, TcTpmNvDataPublic pubInfo, TcTpmEncauth encAuth, TcTcsAuth inAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- pubInfo
- encAuth
- inAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipNvWriteValue(long hContext, long nvIndex, long offset, TcBlobData data, TcTcsAuth inAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- nvIndex
- offset
- data
- inAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipNvWriteValueAuth(long hContext, long nvIndex, long offset, TcBlobData data, TcTcsAuth inAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- nvIndex
- offset
- data
- inAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipNvReadValue(long hContext, long nvIndex, long offset, long dataSz, TcTcsAuth inAuth1) throws TcTddlException, TcTpmException, TcTcsException
hContext
- nvIndex
- offset
- dataSz
- inAuth1
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipNvReadValueAuth(long hContext, long nvIndex, long offset, long dataLength, TcTcsAuth inAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- nvIndex
- offset
- dataLength
- inAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipReadCurrentTicks(long hContext) throws TcTddlException, TcTpmException, TcTcsException
hContext
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipTickStampBlob(long hContext, long keyHandle, TcTpmNonce antiReplay, TcTpmDigest digestToStamp, TcTcsAuth privAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- keyHandle
- antiReplay
- digestToStamp
- privAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsEstablishTransport(long hContext, long tcsEncKeyHandle, TcTpmTransportPublic transPublic, TcBlobData secret, TcTcsAuth inAuth1) throws TcTddlException, TcTpmException, TcTcsException
TcTddlException
TcTpmException
TcTcsException
public static java.lang.Object[] TcsExecuteTransport(long hContext, TcBlobData wrappedCmd, long transHandle, TcTcsAuth inAuth1) throws TcTddlException, TcTpmException, TcTcsException
TcTddlException
TcTpmException
TcTcsException
public static java.lang.Object[] TcsReleaseTransportSigned(long hContext, long tcsKeyHandle, TcTpmNonce antiReplay, long transHandle, TcTcsAuth inAuth1, TcTcsAuth inAuth2) throws TcTddlException, TcTpmException, TcTcsException
TcTddlException
TcTpmException
TcTcsException
public static java.lang.Object[] TcsipCreateCounter(long hContext, TcBlobData label, TcTpmEncauth encAuth, TcTcsAuth ownerAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- encAuth
- label
- ownerAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipIncrementCounter(long hContext, long countID, TcTcsAuth counterAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- countID
- counterAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipReadCounter(long hContext, long countID) throws TcTddlException, TcTpmException, TcTcsException
hContext
- countID
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipReleaseCounter(long hContext, long countID, TcTcsAuth counterAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- countID
- counterAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipReleaseCounterOwner(long hContext, long countID, TcTcsAuth ownerAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- countID
- ownerAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipDaaJoin(long hContext, long handle, short stage, TcBlobData inputData0, TcBlobData inputData1, TcTcsAuth ownerAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- handle
- stage
- inputData0
- inputData1
- ownerAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipDaaSign(long hContext, long handle, short stage, TcBlobData inputData0, TcBlobData inputData1, TcTcsAuth ownerAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- handle
- stage
- inputData0
- inputData1
- ownerAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipTerminateHandle(long hContext, long handle) throws TcTddlException, TcTpmException, TcTcsException
hContext
- handle
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipDirWriteAuth(long hContext, long dirIndex, TcTpmDigest newContents, TcTcsAuth inAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- dirIndex
- newContents
- inAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipDirRead(long hContext, long dirIndex) throws TcTddlException, TcTpmException, TcTcsException
hContext
- dirIndex
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipChangeAuthAsymStart(long hContext, long tcsKeyHandle, TcTpmNonce antiReplay, TcTpmKeyParms tempKeyInfo, TcTcsAuth inAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- tcsKeyHandle
- antiReplay
- tempKeyInfo
- inAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipChangeAuthAsymFinish(long hContext, long tcsParentKeyHandle, long tcsEphHandle, int entityType, TcTpmDigest newAuthLink, TcBlobData encNewAuth, TcBlobData encData, TcTcsAuth inAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- tcsParentKeyHandle
- tcsEphHandle
- entityType
- newAuthLink
- encNewAuth
- encData
- inAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipOwnerReadPubek(long hContext, TcTcsAuth ownerAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- ownerAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipDisablePubekRead(long hContext, TcTcsAuth ownerAuth) throws TcTddlException, TcTpmException, TcTcsException
hContext
- ownerAuth
-
TcTddlException,
- TcTpmException
TcTcsException
TcTddlException
TcTpmException
public static java.lang.Object[] TcsipIfxReadTpm11EkCert(long hContext, byte index, TcBlobData antiReplay) throws TcTddlException, TcTpmException, TcTcsException
hContext
- index
- antiReplay
-
TcTddlException
TcTpmException
TcTcsException
public static java.lang.Object[] TcsSHA1Start(long hContext) throws TcTddlException, TcTpmException, TcTcsException
TcTddlException
TcTpmException
TcTcsException
public static java.lang.Object[] TcsSHA1Update(long hContext, long numBytes, TcBlobData hashData) throws TcTddlException, TcTpmException, TcTcsException
TcTddlException
TcTpmException
TcTcsException
public static java.lang.Object[] TcsSHA1Complete(long hContext, TcBlobData hashData) throws TcTddlException, TcTpmException, TcTcsException
TcTddlException
TcTpmException
TcTcsException
public static java.lang.Object[] TcsSHA1CompleteExtend(long hContext, long pcrNum, TcBlobData hashData) throws TcTddlException, TcTpmException, TcTcsException
TcTddlException
TcTpmException
TcTcsException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |