175 )) |
175 )) |
176 else: |
176 else: |
177 label.setText(self.tr( |
177 label.setText(self.tr( |
178 "It is encrypted using {0} at {1} bits, " |
178 "It is encrypted using {0} at {1} bits, " |
179 "with {2} for message authentication and " |
179 "with {2} for message authentication and " |
180 "{3} as key exchange mechanism.\n\n").format( |
180 "{3} as key exchange mechanism.\n\n" |
|
181 ).format( |
181 cipher.encryptionMethod(), |
182 cipher.encryptionMethod(), |
182 cipher.usedBits(), |
183 cipher.usedBits(), |
183 cipher.authenticationMethod(), |
184 cipher.authenticationMethod(), |
184 cipher.keyExchangeMethod() |
185 cipher.keyExchangeMethod() |
185 ) |
186 )) |
186 ) |
|
187 layout.addWidget(label, rows, 1) |
187 layout.addWidget(label, rows, 1) |
188 rows += 1 |
188 rows += 1 |
189 |
189 |
190 def showAt(self, pos): |
190 def showAt(self, pos): |
191 """ |
191 """ |