STKXSSLCertificateErrorEventArgs#
- class ansys.stk.core.stkx.STKXSSLCertificateErrorEventArgs#
Provide information about an SSL certificate that is expired or invalid.
Overview#
Specify True to ignore the certificate error and continue with establishing secure HTTP connection to the remote server. |
|
Specify True to ignore the certificate error and add the certificate to the list of trusted certificates. |
Return whether the invalid certificate error is ignored. |
|
Certificate’s serial number. |
|
The provider who issued the certificate. |
|
Certificate’s subject field. |
|
Certificate’s valid date. |
|
Certificate’s expiration date. |
|
Whether the certificate is expired. |
|
Certificate’s PEM data encoded as base-64. |
|
Indicate whether the event should continue be routed to the listeners. Setting Handled to true will prevent the event from reaching any remaining listeners. |
Import detail#
from ansys.stk.core.stkx import STKXSSLCertificateErrorEventArgs
Property detail#
- property STKXSSLCertificateErrorEventArgs.is_error_ignored: bool#
Return whether the invalid certificate error is ignored.
- property STKXSSLCertificateErrorEventArgs.valid_date: datetime#
Certificate’s valid date.
- property STKXSSLCertificateErrorEventArgs.expiration_date: datetime#
Certificate’s expiration date.