Package tss.tpm

Class TPM2_GetCapability_REQUEST

  • All Implemented Interfaces:
    TpmMarshaller

    public class TPM2_GetCapability_REQUEST
    extends ReqStructure
    This command returns various information regarding the TPM and its current state.
    • Field Detail

      • capability

        public TPM_CAP capability
        Group selection; determines the format of the response
      • property

        public int property
        Further definition of information
      • propertyCount

        public int propertyCount
        Number of properties of the indicated type to return
    • Constructor Detail

      • TPM2_GetCapability_REQUEST

        public TPM2_GetCapability_REQUEST()
      • TPM2_GetCapability_REQUEST

        public TPM2_GetCapability_REQUEST​(TPM_CAP _capability,
                                          int _property,
                                          int _propertyCount)
        Parameters:
        _capability - Group selection; determines the format of the response
        _property - Further definition of information
        _propertyCount - Number of properties of the indicated type to return
    • Method Detail

      • toTpm

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

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

        public static TPM2_GetCapability_REQUEST 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 TPM2_GetCapability_REQUEST 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