edk2toollib/uefi/authenticated_variables_structure_support.py
def MergeSignatureList(self, esl):
        """
        Add the EfiSignatureData entries within the supplied EfiSignatureList to the current object

        No sorting or deduplication is performed, the EfiSignatureData elements are simply appended
        """

        if not isinstance(esl, EfiSignatureList):
            raise Exception("Parameter 1 'esl' must be of type EfiSignatureList")

        if(self.SignatureType != esl.SignatureType):
            raise Exception("Signature Types must match")

        if(self.SignatureHeaderSize > 0
           or esl.SignatureHeaderSize > 0):
            raise Exception("Merge does not support Signature Headers")
        self.SignatureHeaderSize = 0

        if(esl.SignatureListSize == EfiSignatureList.STATIC_STRUCT_SIZE):
            # supplied EfiSignatureList is empty, return
            return

        FixedSizeData = esl.SignatureData_List[0].FIXED_SIZE
        if not FixedSizeData:
            raise Exception("Can only merge EfiSignatureLists with fixed-size data elements")

        if(self.SignatureData_List is None):
            self.SignatureData_List = []
            self.SignatureSize = esl.SignatureSize

        self.SignatureData_List += esl.SignatureData_List
        self.SignatureListSize += esl.SignatureListSize - EfiSignatureList.STATIC_STRUCT_SIZE

        Add the EfiSignatureData entries within the supplied EfiSignatureList to the current object

        No sorting or deduplication is performed, the EfiSignatureData elements are simply appended
        
Add the EfiSignatureData entries within the supplied EfiSignatureList to the current object
No sorting or deduplication is performed, the EfiSignatureData elements are simply appended
Add the EfiSignatureData entries within the supplied EfiSignatureList to the current object No sorting or deduplication is performed the EfiSignatureData elements are simply appended
def MergeSignatureList(self, esl):
        if not isinstance(esl, EfiSignatureList):
            raise Exception("Parameter 1 'esl' must be of type EfiSignatureList")
        if(self.SignatureType != esl.SignatureType):
            raise Exception("Signature Types must match")
        if(self.SignatureHeaderSize > 0
           or esl.SignatureHeaderSize > 0):
            raise Exception("Merge does not support Signature Headers")
        self.SignatureHeaderSize = 0
        if(esl.SignatureListSize == EfiSignatureList.STATIC_STRUCT_SIZE):
            return
        FixedSizeData = esl.SignatureData_List[0].FIXED_SIZE
        if not FixedSizeData:
            raise Exception("Can only merge EfiSignatureLists with fixed-size data elements")
        if(self.SignatureData_List is None):
            self.SignatureData_List = []
            self.SignatureSize = esl.SignatureSize
        self.SignatureData_List += esl.SignatureData_List
        self.SignatureListSize += esl.SignatureListSize - EfiSignatureList.STATIC_STRUCT_SIZE
def MergeSignatureList ( self , esl ) : if not isinstance ( esl , EfiSignatureList ) : raise Exception ( "Parameter 1 'esl' must be of type EfiSignatureList" ) if ( self . SignatureType != esl . SignatureType ) : raise Exception ( "Signature Types must match" ) if ( self . SignatureHeaderSize > 0 or esl . SignatureHeaderSize > 0 ) : raise Exception ( "Merge does not support Signature Headers" ) self . SignatureHeaderSize = 0 if ( esl . SignatureListSize == EfiSignatureList . STATIC_STRUCT_SIZE ) : return FixedSizeData = esl . SignatureData_List [ 0 ] . FIXED_SIZE if not FixedSizeData : raise Exception ( "Can only merge EfiSignatureLists with fixed-size data elements" ) if ( self . SignatureData_List is None ) : self . SignatureData_List = [ ] self . SignatureSize = esl . SignatureSize self . SignatureData_List += esl . SignatureData_List self . SignatureListSize += esl . SignatureListSize - EfiSignatureList . STATIC_STRUCT_SIZE
Add the EfiSignatureData entries within the supplied EfiSignatureList to the current object
No sorting or deduplication is performed, the EfiSignatureData elements are simply appended
Add the EfiSignatureData entries within the supplied EfiSignatureList to the current object No sorting or deduplication is performed the EfiSignatureData elements are simply appended
"""
        Add the EfiSignatureData entries within the supplied EfiSignatureList to the current object

        No sorting or deduplication is performed, the EfiSignatureData elements are simply appended
        """ # supplied EfiSignatureList is empty, return
self
esl