Property | Type | Description | |
---|---|---|---|
SecretEncodingParms | byte[] | ||
UseAuth |
Property | Type | Description | |
---|---|---|---|
CreateSensitiveComposite | ISensitiveCompositeUnion | ||
GetSymDef | |||
Transform | void |
Method | Description | |
---|---|---|
Copy ( ) : |
||
CreateStorageParent ( |
Creates a *software* root key. The key will be random (not created from a seed). The key can be used as the root of a software hierarchy that can be translated into a duplication blob ready for import into a TPM. Depending on the type of key, the software root key can be a parent for other root keys that can comprise a migration group. The caller should specify necessary key parameters in Public.
|
|
GetDuplicationBlob ( |
Creates a duplication blob for the current key that can be Imported as a child of newParent. Three forms are possible. GetPlaintextDuplicationBlob() allows plaintext-import. This function enables duplication with and without an inner wrapper (depending on whether innerWrapper is null)
|
|
GetName ( ) : byte[] |
Get the name of the associated public object
|
|
GetPlaintextDuplicationBlob ( ) : |
Create a plaintext duplication blob that can be imported into a TPM
|
|
GetPrivate ( |
Creates a Private area for this key that will be loadable on a TPM though TPM2_Load() if the target TPM already has the parent storage key "parent" loaded. This function lets applications create key-hierarchies in software that can be loaded into a TPM once the parent has been "TPM2_Import'ed." TPM2_Import() supports plaintext import. To get this sort of import blob set intendedParent to null
|
|
TssObject ( ) : System | ||
TssObject ( |
||
TssObject ( |
||
TssObject ( |
||
_SetTransformer ( Transformer transformer ) : void |
Install a transformer callback (for debugging). Transformer is called on several code-paths in creating SW-generated keys, import blobs, and activation blobs. Transformer can arbitrarily manipulate the byte array parameter and the transformed value will be used (this allows a caller to transform parameters that are hard to affect in the raw TPM command because they are protected by crypto. Note that the transformer callback should only work on a fraction (say 10%) of the calls because the it is called several times during preparation of some data structures and if one always modifies the first then it is possible that the second is never processed by the TPM.
|
Method | Description | |
---|---|---|
CreateSensitiveComposite ( |
Create a new asymmetric key based on the parameters in keyParms. The resulting key data is returned in structures suitable for incorporation in a TPMT_PUBLIC and TPMS_SENSITIVE
|
|
GetSymDef ( |
Extract and return the SymDefObject that describes the associated symmetric algorithm that is used for key protection in storage keys.
|
|
Transform ( byte x ) : void |
public static CreateStorageParent ( |
||
keyParameters | ||
authVal | ||
return |
public GetDuplicationBlob ( |
||
newParent | ||
innerWrapper | ||
encryptedWrappingKey | byte | |
return |
public GetPlaintextDuplicationBlob ( ) : |
||
return |
public GetPrivate ( |
||
intendedParent | ||
return |
public TssObject ( |
||
the_publicPart | Public part of key | |
the_sensitivePart | Sensitive part of key | |
the_privatePart | Private part is the encrypted sensitive part of key | |
return | System |
public TssObject ( |
||
thePublicPart | ||
thePrivatePart | ||
return | System |
public TssObject ( |
||
the_TssObject | ||
return | System |
public _SetTransformer ( Transformer transformer ) : void | ||
transformer | Transformer | |
return | void |
public static byte[] SecretEncodingParms | ||
return | byte[] |