Package tss.tpm

Class TPM2B_ID_OBJECT

  • All Implemented Interfaces:
    TpmMarshaller

    public class TPM2B_ID_OBJECT
    extends TpmStructure
    This structure is an output from TPM2_MakeCredential() and is an input to TPM2_ActivateCredential().
    • Field Detail

      • credential

        public TPMS_ID_OBJECT credential
        An encrypted credential area
    • Constructor Detail

      • TPM2B_ID_OBJECT

        public TPM2B_ID_OBJECT()
      • TPM2B_ID_OBJECT

        public TPM2B_ID_OBJECT​(TPMS_ID_OBJECT _credential)
        Parameters:
        _credential - An encrypted credential area
    • Method Detail

      • toTpm

        public byte[] toTpm()
        Deprecated.
        Returns:
        Wire (marshaled) representation of this object
      • fromBytes

        public static TPM2B_ID_OBJECT fromBytes​(byte[] byteBuf)
        Static marshaling helper
        Parameters:
        byteBuf - Wire representation of the object
        Returns:
        New object constructed from its wire representation
      • fromTpm

        public static TPM2B_ID_OBJECT fromTpm​(byte[] byteBuf)
        Deprecated.
        Use fromBytes(byte[]) instead
        Parameters:
        byteBuf - Wire representation of the object
        Returns:
        New object constructed from its wire representation
      • fromTpm

        public static TPM2B_ID_OBJECT fromTpm​(TpmBuffer buf)
        Static marshaling helper
        Parameters:
        buf - Wire representation of the object
        Returns:
        New object constructed from its wire representation
      • toStringInternal

        public void toStringInternal​(TpmStructurePrinter _p,
                                     int d)
        Description copied from class: TpmStructure
        Serialize this object to the structure printer
        Overrides:
        toStringInternal in class TpmStructure
        Parameters:
        _p - The structure accumulator
        d - The data to serialize