| Package | Description |
|---|---|
| tss | |
| tss.tpm |
| Modifier and Type | Field and Description |
|---|---|
TPMT_PUBLIC |
Tss.Key.PublicPart |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
Crypto.asymEncrypt(TPMT_PUBLIC _pub,
byte[] data,
String encodingParms) |
CreateResponse |
Tpm.Create(TPM_HANDLE parentHandle,
TPMS_SENSITIVE_CREATE inSensitive,
TPMT_PUBLIC inPublic,
byte[] outsideInfo,
TPMS_PCR_SELECTION[] creationPCR)
This command is used to create an object that can be loaded into a TPM using TPM2_Load().
|
static Tss.ActivationCredential |
Tss.createActivationCredential(TPMT_PUBLIC ek,
byte[] nameOfKeyToBeActivated,
byte[] secret)
Create an TPM activation bundle.
|
static Tss.DuplicationBlob |
Tss.createDuplicationBlob(TPMT_PUBLIC targetParent,
TPMT_PUBLIC _publicPart,
TPMT_SENSITIVE _sensitivePart,
TPMT_SYM_DEF_OBJECT innerWrapper) |
static Tss.Key |
Tss.createKey(TPMT_PUBLIC pub) |
CreatePrimaryResponse |
Tpm.CreatePrimary(TPM_HANDLE primaryHandle,
TPMS_SENSITIVE_CREATE inSensitive,
TPMT_PUBLIC inPublic,
byte[] outsideInfo,
TPMS_PCR_SELECTION[] creationPCR)
This command is used to create a Primary Object under one of the Primary Seeds or a Temporary Object under TPM_RH_NULL.
|
static TPM_ALG_ID |
Crypto.getSigningHashAlg(TPMT_PUBLIC pub)
Extract the signing hash algorithm from various supported schemes
|
TPM2B_PRIVATE |
Tpm.Import(TPM_HANDLE parentHandle,
byte[] encryptionKey,
TPMT_PUBLIC objectPublic,
TPM2B_PRIVATE duplicate,
byte[] inSymSeed,
TPMT_SYM_DEF_OBJECT symmetricAlg)
This command allows an object to be encrypted using the symmetric encryption values of a Storage Key.
|
TPM_HANDLE |
Tpm.Load(TPM_HANDLE parentHandle,
TPM2B_PRIVATE inPrivate,
TPMT_PUBLIC inPublic)
This command is used to load objects into the TPM.
|
TPM_HANDLE |
Tpm.LoadExternal(TPMT_SENSITIVE inPrivate,
TPMT_PUBLIC inPublic,
TPM_HANDLE hierarchy)
This command is used to load an object that is not a Protected Object into the TPM.
|
static boolean |
Crypto.validateQuote(TPMT_PUBLIC pubKey,
PCR_ReadResponse expectedPcrs,
byte[] nonce,
QuoteResponse quote)
Validate a TPM quote against a set of PCR and a nonce.
|
static boolean |
Crypto.validateSignature(TPMT_PUBLIC _pubKey,
byte[] _dataThatWasSigned,
TPMU_SIGNATURE _signature)
Validate a TPM signature.
|
| Modifier and Type | Field and Description |
|---|---|
TPMT_PUBLIC |
TPM2_Load_REQUEST.inPublic
the public portion of the object
|
TPMT_PUBLIC |
TPM2_LoadExternal_REQUEST.inPublic
the public portion of the object
|
TPMT_PUBLIC |
TPM2_Create_REQUEST.inPublic
the public template
|
TPMT_PUBLIC |
TPM2_CreatePrimary_REQUEST.inPublic
the public template
|
TPMT_PUBLIC |
TPM2_Import_REQUEST.objectPublic
the public area of the object to be imported This is provided so that the integrity value for duplicate and the object attributes can be checked.
|
TPMT_PUBLIC |
ReadPublicResponse.outPublic
structure containing the public area of an object
|
TPMT_PUBLIC |
CreateResponse.outPublic
the public portion of the created object
|
TPMT_PUBLIC |
CreatePrimaryResponse.outPublic
the public portion of the created object
|
TPMT_PUBLIC |
CreateLoadedResponse.outPublic
the public portion of the created object
|
TPMT_PUBLIC |
TssObject.Public
Public part of key
|
TPMT_PUBLIC |
TPM2B_PUBLIC.publicArea
the public area NOTE The + indicates that the caller may specify that use of TPM_ALG_NULL is allowed for nameAlg.
|
TPMT_PUBLIC |
TSS_KEY.publicPart
Public part of key
|
| Modifier and Type | Method and Description |
|---|---|
static TPMT_PUBLIC |
TPMT_PUBLIC.fromTpm(byte[] x) |
static TPMT_PUBLIC |
TPMT_PUBLIC.fromTpm(InByteBuf buf) |
| Constructor and Description |
|---|
CreateLoadedResponse(TPM_HANDLE _handle,
TPM2B_PRIVATE _outPrivate,
TPMT_PUBLIC _outPublic,
byte[] _name)
This command creates an object and loads it in the TPM.
|
CreatePrimaryResponse(TPM_HANDLE _handle,
TPMT_PUBLIC _outPublic,
TPMS_CREATION_DATA _creationData,
byte[] _creationHash,
TPMT_TK_CREATION _creationTicket,
byte[] _name)
This command is used to create a Primary Object under one of the Primary Seeds or a Temporary Object under TPM_RH_NULL.
|
CreateResponse(TPM2B_PRIVATE _outPrivate,
TPMT_PUBLIC _outPublic,
TPMS_CREATION_DATA _creationData,
byte[] _creationHash,
TPMT_TK_CREATION _creationTicket)
This command is used to create an object that can be loaded into a TPM using TPM2_Load().
|
ReadPublicResponse(TPMT_PUBLIC _outPublic,
byte[] _name,
byte[] _qualifiedName)
This command allows access to the public area of a loaded object.
|
TPM2_Create_REQUEST(TPM_HANDLE _parentHandle,
TPMS_SENSITIVE_CREATE _inSensitive,
TPMT_PUBLIC _inPublic,
byte[] _outsideInfo,
TPMS_PCR_SELECTION[] _creationPCR)
This command is used to create an object that can be loaded into a TPM using TPM2_Load().
|
TPM2_CreatePrimary_REQUEST(TPM_HANDLE _primaryHandle,
TPMS_SENSITIVE_CREATE _inSensitive,
TPMT_PUBLIC _inPublic,
byte[] _outsideInfo,
TPMS_PCR_SELECTION[] _creationPCR)
This command is used to create a Primary Object under one of the Primary Seeds or a Temporary Object under TPM_RH_NULL.
|
TPM2_Import_REQUEST(TPM_HANDLE _parentHandle,
byte[] _encryptionKey,
TPMT_PUBLIC _objectPublic,
TPM2B_PRIVATE _duplicate,
byte[] _inSymSeed,
TPMT_SYM_DEF_OBJECT _symmetricAlg)
This command allows an object to be encrypted using the symmetric encryption values of a Storage Key.
|
TPM2_Load_REQUEST(TPM_HANDLE _parentHandle,
TPM2B_PRIVATE _inPrivate,
TPMT_PUBLIC _inPublic)
This command is used to load objects into the TPM.
|
TPM2_LoadExternal_REQUEST(TPMT_SENSITIVE _inPrivate,
TPMT_PUBLIC _inPublic,
TPM_HANDLE _hierarchy)
This command is used to load an object that is not a Protected Object into the TPM.
|
TPM2B_PUBLIC(TPMT_PUBLIC _publicArea)
This sized buffer is used to embed a TPMT_PUBLIC in a load command and in any response that returns a public area.
|
TSS_KEY(TPMT_PUBLIC _publicPart,
byte[] _privatePart)
Contains the public and private part of a TPM key
|
TssObject(TPMT_PUBLIC _Public,
TPMT_SENSITIVE _Sensitive,
TPM2B_PRIVATE _Private)
Contains the public and the plaintext-sensitive and/or encrypted private part of a TPM key (or other object)
|
Copyright © 2017. All rights reserved.