-
public final class SecurityDomainSecurity
-
-
Method Summary
Modifier and Type Method Description final Flow<SecurityEvent>events()Subscribes to all events related to this domain. final Flow<SecurityEvent.CertificateErrorEvent>certificateError()There is a certificate error. final Flow<SecurityEvent.VisibleSecurityStateChangedEvent>visibleSecurityStateChanged()The security state of the page changed. final Flow<SecurityEvent.SecurityStateChangedEvent>securityStateChanged()The security state of the page changed. final Unitdisable()Disables tracking security state changes. final Unitenable()Enables tracking security state changes. final UnitsetIgnoreCertificateErrors(SetIgnoreCertificateErrorsRequest input)Enable/disable whether all certificate errors should be ignored. final UnithandleCertificateError(HandleCertificateErrorRequest input)Handles a certificate error that fired a certificateError event. final UnitsetOverrideCertificateErrors(SetOverrideCertificateErrorsRequest input)Enable/disable overriding certificate errors. -
-
Method Detail
-
events
final Flow<SecurityEvent> events()
Subscribes to all events related to this domain.
-
certificateError
@Deprecated(message = "Deprecated in the Chrome DevTools protocol") final Flow<SecurityEvent.CertificateErrorEvent> certificateError()
There is a certificate error. If overriding certificate errors is enabled, then it should be handled with the
handleCertificateErrorcommand. Note: this event does not fire if the certificate error has been allowed internally. Only one client per target should override certificate errors at the same time.
-
visibleSecurityStateChanged
final Flow<SecurityEvent.VisibleSecurityStateChangedEvent> visibleSecurityStateChanged()
The security state of the page changed.
-
securityStateChanged
final Flow<SecurityEvent.SecurityStateChangedEvent> securityStateChanged()
The security state of the page changed.
-
setIgnoreCertificateErrors
final Unit setIgnoreCertificateErrors(SetIgnoreCertificateErrorsRequest input)
Enable/disable whether all certificate errors should be ignored.
-
handleCertificateError
@Deprecated(message = "Deprecated in the Chrome DevTools protocol") final Unit handleCertificateError(HandleCertificateErrorRequest input)
Handles a certificate error that fired a certificateError event.
-
setOverrideCertificateErrors
@Deprecated(message = "Deprecated in the Chrome DevTools protocol") final Unit setOverrideCertificateErrors(SetOverrideCertificateErrorsRequest input)
Enable/disable overriding certificate errors. If enabled, all certificate error events need to be handled by the DevTools client and should be answered with
handleCertificateErrorcommands.
-
-
-
-