public class DuplicateResponse extends TpmStructure
| Modifier and Type | Field and Description |
|---|---|
TPM2B_PRIVATE |
duplicate
private area that may be encrypted by encryptionKeyIn; and may be doubly encrypted
|
byte[] |
encryptionKeyOut
If the caller provided an encryption key or if symmetricAlg was TPM_ALG_NULL, then this will be the Empty Buffer; otherwise, it shall contain the TPM-generated, symmetric encryption key for the inner wrapper.
|
byte[] |
outSymSeed
seed protected by the asymmetric algorithms of new parent (NP)
|
| Constructor and Description |
|---|
DuplicateResponse()
This command duplicates a loaded object so that it may be used in a different hierarchy.
|
DuplicateResponse(byte[] _encryptionKeyOut,
TPM2B_PRIVATE _duplicate,
byte[] _outSymSeed)
This command duplicates a loaded object so that it may be used in a different hierarchy.
|
| Modifier and Type | Method and Description |
|---|---|
static DuplicateResponse |
fromTpm(byte[] x) |
static DuplicateResponse |
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 byte[] encryptionKeyOut
public TPM2B_PRIVATE duplicate
public byte[] outSymSeed
public DuplicateResponse(byte[] _encryptionKeyOut,
TPM2B_PRIVATE _duplicate,
byte[] _outSymSeed)
_encryptionKeyOut - If the caller provided an encryption key or if symmetricAlg was TPM_ALG_NULL, then this will be the Empty Buffer; otherwise, it shall contain the TPM-generated, symmetric encryption key for the inner wrapper._duplicate - private area that may be encrypted by encryptionKeyIn; and may be doubly encrypted_outSymSeed - seed protected by the asymmetric algorithms of new parent (NP)public DuplicateResponse()
public void toTpm(OutByteBuf buf)
TpmMarshallerbuf - An output byte bufferpublic void initFromTpm(InByteBuf buf)
TpmMarshallerbuf - An input byte bufferpublic byte[] toTpm()
TpmMarshallerpublic static DuplicateResponse fromTpm(byte[] x)
public static DuplicateResponse 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.