Package tss.tpm

Class TPM2_ECC_Parameters_REQUEST

  • All Implemented Interfaces:
    TpmMarshaller

    public class TPM2_ECC_Parameters_REQUEST
    extends ReqStructure
    This command returns the parameters of an ECC curve identified by its TCG-assigned curveID.
    • Field Detail

    • Constructor Detail

      • TPM2_ECC_Parameters_REQUEST

        public TPM2_ECC_Parameters_REQUEST()
      • TPM2_ECC_Parameters_REQUEST

        public TPM2_ECC_Parameters_REQUEST​(TPM_ECC_CURVE _curveID)
        Parameters:
        _curveID - Parameter set selector
    • Method Detail

      • toTpm

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

        public static TPM2_ECC_Parameters_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_ECC_Parameters_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_ECC_Parameters_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