def SignComponentContent(component_filename, output_filename):
 component = rdf_client.ClientComponent.FromSerializedString(open(component_filename, 'rb').read())
 EPrint(('Opened component %s.' % component.summary.name))
 if (component.build_system.system == 'Windows'):
  _SignWindowsComponent(component, output_filename)
  return
 raise RuntimeError(('Component signing is not implemented for OS %s.' % component.build_system.system))

def SignComponentContent ( component_filename , output_filename ) : component = rdf_client . ClientComponent . FromSerializedString ( open ( component_filename , 'rb' ) . read ( ) ) EPrint ( ( 'Opened component %s.' % component . summary . name ) ) if ( component . build_system . system == 'Windows' ) : _SignWindowsComponent ( component , output_filename ) return raise RuntimeError ( ( 'Component signing is not implemented for OS %s.' % component . build_system . system ) )
some oss require the contents of a component to be signed as well .