public class TPM2_Rewrap_REQUEST extends TpmStructure
| Modifier and Type | Field and Description |
|---|---|
TPM2B_PRIVATE |
inDuplicate
an object encrypted using symmetric key derived from inSymSeed
|
byte[] |
inSymSeed
the seed for the symmetric key and HMAC key needs oldParent private key to recover the seed and generate the symmetric key
|
byte[] |
name
the Name of the object being rewrapped
|
TPM_HANDLE |
newParent
new parent of the object Auth Index: None
|
TPM_HANDLE |
oldParent
parent of object Auth Index: 1 Auth Role: User
|
| Constructor and Description |
|---|
TPM2_Rewrap_REQUEST()
This command allows the TPM to serve in the role as a Duplication Authority.
|
TPM2_Rewrap_REQUEST(TPM_HANDLE _oldParent,
TPM_HANDLE _newParent,
TPM2B_PRIVATE _inDuplicate,
byte[] _name,
byte[] _inSymSeed)
This command allows the TPM to serve in the role as a Duplication Authority.
|
| Modifier and Type | Method and Description |
|---|---|
static TPM2_Rewrap_REQUEST |
fromTpm(byte[] x) |
static TPM2_Rewrap_REQUEST |
fromTpm(InByteBuf buf) |
void |
initFromTpm(InByteBuf buf)
Populate this object from the TPM representation in the input byte buffer object
|
String |
toString() |
void |
toStringInternal(TpmStructurePrinter _p,
int d)
Serialize this object to the structure printer
|
byte[] |
toTpm()
Convert this object to its TPM representation and return it as a byte array
|
void |
toTpm(OutByteBuf buf)
Convert this object to its TPM representation and store in the output byte buffer object
|
equals, hashCodepublic TPM_HANDLE oldParent
public TPM_HANDLE newParent
public TPM2B_PRIVATE inDuplicate
public byte[] name
public byte[] inSymSeed
public TPM2_Rewrap_REQUEST(TPM_HANDLE _oldParent, TPM_HANDLE _newParent, TPM2B_PRIVATE _inDuplicate, byte[] _name, byte[] _inSymSeed)
_oldParent - parent of object Auth Index: 1 Auth Role: User_newParent - new parent of the object Auth Index: None_inDuplicate - an object encrypted using symmetric key derived from inSymSeed_name - the Name of the object being rewrapped_inSymSeed - the seed for the symmetric key and HMAC key needs oldParent private key to recover the seed and generate the symmetric keypublic TPM2_Rewrap_REQUEST()
public void toTpm(OutByteBuf buf)
TpmMarshallerbuf - An output byte bufferpublic void initFromTpm(InByteBuf buf)
TpmMarshallerbuf - An input byte bufferpublic byte[] toTpm()
TpmMarshallerpublic static TPM2_Rewrap_REQUEST fromTpm(byte[] x)
public static TPM2_Rewrap_REQUEST fromTpm(InByteBuf buf)
public void toStringInternal(TpmStructurePrinter _p, int d)
TpmStructuretoStringInternal in class TpmStructure_p - The structure accumulatord - The data to serializeCopyright © 2017. All rights reserved.