Package tss.tpm
Class TPMS_NULL_UNION
- java.lang.Object
-
- tss.TpmStructure
-
- tss.tpm.TPMS_NULL_UNION
-
- All Implemented Interfaces:
TPMU_ASYM_SCHEME
,TPMU_KDF_SCHEME
,TPMU_SCHEME_KEYEDHASH
,TPMU_SIG_SCHEME
,TPMU_SIGNATURE
,TPMU_SYM_DETAILS
,TpmMarshaller
,TpmUnion
- Direct Known Subclasses:
TPMS_AES_SYM_DETAILS
,TPMS_ANY_SYM_DETAILS
,TPMS_CAMELLIA_SYM_DETAILS
,TPMS_NULL_ASYM_SCHEME
,TPMS_NULL_KDF_SCHEME
,TPMS_NULL_SCHEME_KEYEDHASH
,TPMS_NULL_SIG_SCHEME
,TPMS_NULL_SIGNATURE
,TPMS_NULL_SYM_DETAILS
,TPMS_SM4_SYM_DETAILS
,TPMS_TDES_SYM_DETAILS
,TPMS_XOR_SYM_DETAILS
public class TPMS_NULL_UNION extends TpmStructure implements TPMU_SYM_DETAILS, TPMU_SCHEME_KEYEDHASH, TPMU_SIG_SCHEME, TPMU_KDF_SCHEME, TPMU_ASYM_SCHEME, TPMU_SIGNATURE
Base class for empty union elements. An empty union element does not contain any data to marshal. This data structure can be used in place of any other union initialized with its own empty element.
-
-
Constructor Summary
Constructors Constructor Description TPMS_NULL_UNION()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static TPMS_NULL_UNION
fromBytes(byte[] byteBuf)
Static marshaling helperstatic TPMS_NULL_UNION
fromTpm(byte[] byteBuf)
Deprecated.UsefromBytes(byte[])
insteadstatic TPMS_NULL_UNION
fromTpm(TpmBuffer buf)
Static marshaling helperTPM_ALG_ID
GetUnionSelector()
TpmUnion methodString
toString()
byte[]
toTpm()
Deprecated.UseTpmStructure.toBytes()
instead-
Methods inherited from class tss.TpmStructure
equals, hashCode, initFromTpm, toBytes, toStringInternal, toTpm
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface tss.TpmMarshaller
initFromTpm, toTpm
-
-
-
-
Method Detail
-
GetUnionSelector
public TPM_ALG_ID GetUnionSelector()
TpmUnion method- Specified by:
GetUnionSelector
in interfaceTPMU_ASYM_SCHEME
- Specified by:
GetUnionSelector
in interfaceTPMU_KDF_SCHEME
- Specified by:
GetUnionSelector
in interfaceTPMU_SCHEME_KEYEDHASH
- Specified by:
GetUnionSelector
in interfaceTPMU_SIG_SCHEME
- Specified by:
GetUnionSelector
in interfaceTPMU_SIGNATURE
- Specified by:
GetUnionSelector
in interfaceTPMU_SYM_DETAILS
-
toTpm
public byte[] toTpm()
Deprecated.UseTpmStructure.toBytes()
instead- Returns:
- Wire (marshaled) representation of this object
-
fromBytes
public static TPMS_NULL_UNION fromBytes(byte[] byteBuf)
Static marshaling helper- Parameters:
byteBuf
- Wire representation of the object- Returns:
- New object constructed from its wire representation
-
fromTpm
public static TPMS_NULL_UNION fromTpm(byte[] byteBuf)
Deprecated.UsefromBytes(byte[])
instead- Parameters:
byteBuf
- Wire representation of the object- Returns:
- New object constructed from its wire representation
-
fromTpm
public static TPMS_NULL_UNION fromTpm(TpmBuffer buf)
Static marshaling helper- Parameters:
buf
- Wire representation of the object- Returns:
- New object constructed from its wire representation
-
-