eric6/Documentation/Source/eric6.E5Network.E5SslCertificateSelectionDialog.html

changeset 7273
391d6b7b1eff
parent 6942
2602857055c5
child 7989
a21d673a8f99
equal deleted inserted replaced
7272:1779dc278077 7273:391d6b7b1eff
16 16
17 a { color: #BA6D36; } 17 a { color: #BA6D36; }
18 18
19 </style> 19 </style>
20 </head> 20 </head>
21 <body><a NAME="top" ID="top"></a> 21 <body>
22 <a NAME="top" ID="top"></a>
22 <h1>eric6.E5Network.E5SslCertificateSelectionDialog</h1> 23 <h1>eric6.E5Network.E5SslCertificateSelectionDialog</h1>
24
23 <p> 25 <p>
24 Module implementing a dialog to select a SSL certificate. 26 Module implementing a dialog to select a SSL certificate.
25 </p> 27 </p>
26 <h3>Global Attributes</h3> 28 <h3>Global Attributes</h3>
29
27 <table> 30 <table>
28 <tr><td>None</td></tr> 31 <tr><td>None</td></tr>
29 </table> 32 </table>
30 <h3>Classes</h3> 33 <h3>Classes</h3>
34
31 <table> 35 <table>
36
32 <tr> 37 <tr>
33 <td><a href="#E5SslCertificateSelectionDialog">E5SslCertificateSelectionDialog</a></td> 38 <td><a href="#E5SslCertificateSelectionDialog">E5SslCertificateSelectionDialog</a></td>
34 <td>Class implementing a dialog to select a SSL certificate.</td> 39 <td>Class implementing a dialog to select a SSL certificate.</td>
35 </tr> 40 </tr>
36 </table> 41 </table>
37 <h3>Functions</h3> 42 <h3>Functions</h3>
43
38 <table> 44 <table>
39 <tr><td>None</td></tr> 45 <tr><td>None</td></tr>
40 </table> 46 </table>
41 <hr /><hr /> 47 <hr />
48 <hr />
42 <a NAME="E5SslCertificateSelectionDialog" ID="E5SslCertificateSelectionDialog"></a> 49 <a NAME="E5SslCertificateSelectionDialog" ID="E5SslCertificateSelectionDialog"></a>
43 <h2>E5SslCertificateSelectionDialog</h2> 50 <h2>E5SslCertificateSelectionDialog</h2>
51
44 <p> 52 <p>
45 Class implementing a dialog to select a SSL certificate. 53 Class implementing a dialog to select a SSL certificate.
46 </p> 54 </p>
47 <h3>Derived from</h3> 55 <h3>Derived from</h3>
48 QDialog, Ui_E5SslCertificateSelectionDialog 56 QDialog, Ui_E5SslCertificateSelectionDialog
49 <h3>Class Attributes</h3> 57 <h3>Class Attributes</h3>
58
50 <table> 59 <table>
51 <tr><td>CertRole</td></tr> 60 <tr><td>CertRole</td></tr>
52 </table> 61 </table>
53 <h3>Class Methods</h3> 62 <h3>Class Methods</h3>
63
54 <table> 64 <table>
55 <tr><td>None</td></tr> 65 <tr><td>None</td></tr>
56 </table> 66 </table>
57 <h3>Methods</h3> 67 <h3>Methods</h3>
68
58 <table> 69 <table>
70
59 <tr> 71 <tr>
60 <td><a href="#E5SslCertificateSelectionDialog.__init__">E5SslCertificateSelectionDialog</a></td> 72 <td><a href="#E5SslCertificateSelectionDialog.__init__">E5SslCertificateSelectionDialog</a></td>
61 <td>Constructor</td> 73 <td>Constructor</td>
62 </tr><tr> 74 </tr>
75 <tr>
63 <td><a href="#E5SslCertificateSelectionDialog.__createCaCertificateEntry">__createCaCertificateEntry</a></td> 76 <td><a href="#E5SslCertificateSelectionDialog.__createCaCertificateEntry">__createCaCertificateEntry</a></td>
64 <td>Private method to create a certificate entry.</td> 77 <td>Private method to create a certificate entry.</td>
65 </tr><tr> 78 </tr>
79 <tr>
66 <td><a href="#E5SslCertificateSelectionDialog.__populateCertificatesTree">__populateCertificatesTree</a></td> 80 <td><a href="#E5SslCertificateSelectionDialog.__populateCertificatesTree">__populateCertificatesTree</a></td>
67 <td>Private slot to populate the certificates tree.</td> 81 <td>Private slot to populate the certificates tree.</td>
68 </tr><tr> 82 </tr>
83 <tr>
69 <td><a href="#E5SslCertificateSelectionDialog.getSelectedCertificate">getSelectedCertificate</a></td> 84 <td><a href="#E5SslCertificateSelectionDialog.getSelectedCertificate">getSelectedCertificate</a></td>
70 <td>Public method to get the selected certificate.</td> 85 <td>Public method to get the selected certificate.</td>
71 </tr><tr> 86 </tr>
87 <tr>
72 <td><a href="#E5SslCertificateSelectionDialog.on_certificatesTree_itemSelectionChanged">on_certificatesTree_itemSelectionChanged</a></td> 88 <td><a href="#E5SslCertificateSelectionDialog.on_certificatesTree_itemSelectionChanged">on_certificatesTree_itemSelectionChanged</a></td>
73 <td>Private slot to handle the selection of an item.</td> 89 <td>Private slot to handle the selection of an item.</td>
74 </tr><tr> 90 </tr>
91 <tr>
75 <td><a href="#E5SslCertificateSelectionDialog.on_viewButton_clicked">on_viewButton_clicked</a></td> 92 <td><a href="#E5SslCertificateSelectionDialog.on_viewButton_clicked">on_viewButton_clicked</a></td>
76 <td>Private slot to show data of the selected certificate.</td> 93 <td>Private slot to show data of the selected certificate.</td>
77 </tr> 94 </tr>
78 </table> 95 </table>
79 <h3>Static Methods</h3> 96 <h3>Static Methods</h3>
97
80 <table> 98 <table>
81 <tr><td>None</td></tr> 99 <tr><td>None</td></tr>
82 </table> 100 </table>
101
83 <a NAME="E5SslCertificateSelectionDialog.__init__" ID="E5SslCertificateSelectionDialog.__init__"></a> 102 <a NAME="E5SslCertificateSelectionDialog.__init__" ID="E5SslCertificateSelectionDialog.__init__"></a>
84 <h4>E5SslCertificateSelectionDialog (Constructor)</h4> 103 <h4>E5SslCertificateSelectionDialog (Constructor)</h4>
85 <b>E5SslCertificateSelectionDialog</b>(<i>certificates, parent=None</i>) 104 <b>E5SslCertificateSelectionDialog</b>(<i>certificates, parent=None</i>)
105
86 <p> 106 <p>
87 Constructor 107 Constructor
88 </p><dl> 108 </p>
109 <dl>
110
89 <dt><i>certificates</i> (list of QSslCertificate)</dt> 111 <dt><i>certificates</i> (list of QSslCertificate)</dt>
90 <dd> 112 <dd>
91 list of SSL certificates to select from 113 list of SSL certificates to select from
92 </dd><dt><i>parent</i> (QWidget)</dt> 114 </dd>
115 <dt><i>parent</i> (QWidget)</dt>
93 <dd> 116 <dd>
94 reference to the parent widget 117 reference to the parent widget
95 </dd> 118 </dd>
96 </dl><a NAME="E5SslCertificateSelectionDialog.__createCaCertificateEntry" ID="E5SslCertificateSelectionDialog.__createCaCertificateEntry"></a> 119 </dl>
120 <a NAME="E5SslCertificateSelectionDialog.__createCaCertificateEntry" ID="E5SslCertificateSelectionDialog.__createCaCertificateEntry"></a>
97 <h4>E5SslCertificateSelectionDialog.__createCaCertificateEntry</h4> 121 <h4>E5SslCertificateSelectionDialog.__createCaCertificateEntry</h4>
98 <b>__createCaCertificateEntry</b>(<i>cert</i>) 122 <b>__createCaCertificateEntry</b>(<i>cert</i>)
123
99 <p> 124 <p>
100 Private method to create a certificate entry. 125 Private method to create a certificate entry.
101 </p><dl> 126 </p>
127 <dl>
128
102 <dt><i>cert</i> (QSslCertificate)</dt> 129 <dt><i>cert</i> (QSslCertificate)</dt>
103 <dd> 130 <dd>
104 certificate to insert 131 certificate to insert
105 </dd> 132 </dd>
106 </dl><a NAME="E5SslCertificateSelectionDialog.__populateCertificatesTree" ID="E5SslCertificateSelectionDialog.__populateCertificatesTree"></a> 133 </dl>
134 <a NAME="E5SslCertificateSelectionDialog.__populateCertificatesTree" ID="E5SslCertificateSelectionDialog.__populateCertificatesTree"></a>
107 <h4>E5SslCertificateSelectionDialog.__populateCertificatesTree</h4> 135 <h4>E5SslCertificateSelectionDialog.__populateCertificatesTree</h4>
108 <b>__populateCertificatesTree</b>(<i>certificates</i>) 136 <b>__populateCertificatesTree</b>(<i>certificates</i>)
137
109 <p> 138 <p>
110 Private slot to populate the certificates tree. 139 Private slot to populate the certificates tree.
111 </p><dl> 140 </p>
141 <dl>
142
112 <dt><i>certificates</i> (list of QSslCertificate)</dt> 143 <dt><i>certificates</i> (list of QSslCertificate)</dt>
113 <dd> 144 <dd>
114 list of SSL certificates to select from 145 list of SSL certificates to select from
115 </dd> 146 </dd>
116 </dl><a NAME="E5SslCertificateSelectionDialog.getSelectedCertificate" ID="E5SslCertificateSelectionDialog.getSelectedCertificate"></a> 147 </dl>
148 <a NAME="E5SslCertificateSelectionDialog.getSelectedCertificate" ID="E5SslCertificateSelectionDialog.getSelectedCertificate"></a>
117 <h4>E5SslCertificateSelectionDialog.getSelectedCertificate</h4> 149 <h4>E5SslCertificateSelectionDialog.getSelectedCertificate</h4>
118 <b>getSelectedCertificate</b>(<i></i>) 150 <b>getSelectedCertificate</b>(<i></i>)
151
119 <p> 152 <p>
120 Public method to get the selected certificate. 153 Public method to get the selected certificate.
121 </p><dl> 154 </p>
155 <dl>
122 <dt>Returns:</dt> 156 <dt>Returns:</dt>
123 <dd> 157 <dd>
124 selected certificate 158 selected certificate
125 </dd> 159 </dd>
126 </dl><dl> 160 </dl>
161 <dl>
127 <dt>Return Type:</dt> 162 <dt>Return Type:</dt>
128 <dd> 163 <dd>
129 QSslCertificate 164 QSslCertificate
130 </dd> 165 </dd>
131 </dl><a NAME="E5SslCertificateSelectionDialog.on_certificatesTree_itemSelectionChanged" ID="E5SslCertificateSelectionDialog.on_certificatesTree_itemSelectionChanged"></a> 166 </dl>
167 <a NAME="E5SslCertificateSelectionDialog.on_certificatesTree_itemSelectionChanged" ID="E5SslCertificateSelectionDialog.on_certificatesTree_itemSelectionChanged"></a>
132 <h4>E5SslCertificateSelectionDialog.on_certificatesTree_itemSelectionChanged</h4> 168 <h4>E5SslCertificateSelectionDialog.on_certificatesTree_itemSelectionChanged</h4>
133 <b>on_certificatesTree_itemSelectionChanged</b>(<i></i>) 169 <b>on_certificatesTree_itemSelectionChanged</b>(<i></i>)
170
134 <p> 171 <p>
135 Private slot to handle the selection of an item. 172 Private slot to handle the selection of an item.
136 </p><a NAME="E5SslCertificateSelectionDialog.on_viewButton_clicked" ID="E5SslCertificateSelectionDialog.on_viewButton_clicked"></a> 173 </p>
174 <a NAME="E5SslCertificateSelectionDialog.on_viewButton_clicked" ID="E5SslCertificateSelectionDialog.on_viewButton_clicked"></a>
137 <h4>E5SslCertificateSelectionDialog.on_viewButton_clicked</h4> 175 <h4>E5SslCertificateSelectionDialog.on_viewButton_clicked</h4>
138 <b>on_viewButton_clicked</b>(<i></i>) 176 <b>on_viewButton_clicked</b>(<i></i>)
177
139 <p> 178 <p>
140 Private slot to show data of the selected certificate. 179 Private slot to show data of the selected certificate.
141 </p> 180 </p>
142 <div align="right"><a href="#top">Up</a></div> 181 <div align="right"><a href="#top">Up</a></div>
143 <hr /> 182 <hr />

eric ide

mercurial