<s> from ztag . annotation import * <EOL> class HPPrinterHTTPS ( TLSTag ) : <EOL> protocol = protocols . HTTPS <EOL> subprotocol = protocols . HTTPS . TLS <EOL> port = None <EOL> def process ( self , obj , meta ) : <EOL> cn = obj [ "<STR_LIT>" ] [ "<STR_LIT>" ] [ "<STR_LIT>" ] [ "<STR_LIT>" ] [ <NUM_LIT:0> ] <EOL> if "<STR_LIT>" in cn : <EOL> meta . global_metadata . manufacturer = Manufacturer . HP <EOL> meta . global_metadata . device_type = Type . PRINTER <EOL> return meta </s>
