Package tss.tpm

Class TPMS_SIGNATURE_ECC

    • Field Detail

      • hash

        public TPM_ALG_ID hash
        The hash algorithm used in the signature process TPM_ALG_NULL is not allowed.
      • signatureR

        public byte[] signatureR
      • signatureS

        public byte[] signatureS
    • Constructor Detail

      • TPMS_SIGNATURE_ECC

        public TPMS_SIGNATURE_ECC()
      • TPMS_SIGNATURE_ECC

        public TPMS_SIGNATURE_ECC​(TPM_ALG_ID _hash,
                                  byte[] _signatureR,
                                  byte[] _signatureS)
        Parameters:
        _hash - The hash algorithm used in the signature process TPM_ALG_NULL is not allowed.
        _signatureR - TBD
        _signatureS - TBD
    • Method Detail

      • toTpm

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

        public static TPMS_SIGNATURE_ECC 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_SIGNATURE_ECC 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 TPMS_SIGNATURE_ECC 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