package security
Import Path
github.com/chromedp/cdproto/security (on go.dev)
Dependency Relation
imports 7 packages, and imported by 2 packages
Involved Source Files
easyjson.go
events.go
Package security provides the Chrome DevTools Protocol
commands, types, and events for the Security domain.
Security.
Generated by the cdproto-gen command.
types.go
Package-Level Type Names (total 13)
CertificateErrorAction the action to take when a certificate error occurs.
continue will continue processing the request and cancel will cancel the
request.
See: https://chromedevtools.github.io/devtools-protocol/tot/Security#type-CertificateErrorAction
MarshalEasyJSON satisfies easyjson.Marshaler.
MarshalJSON satisfies json.Marshaler.
String returns the CertificateErrorAction as string value.
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
UnmarshalJSON satisfies json.Unmarshaler.
CertificateErrorAction : github.com/goccy/go-json.Marshaler
*CertificateErrorAction : github.com/goccy/go-json.Unmarshaler
CertificateErrorAction : github.com/mailru/easyjson.Marshaler
*CertificateErrorAction : github.com/mailru/easyjson.MarshalerUnmarshaler
*CertificateErrorAction : github.com/mailru/easyjson.Unmarshaler
CertificateErrorAction : encoding/json.Marshaler
*CertificateErrorAction : encoding/json.Unmarshaler
CertificateErrorAction : expvar.Var
CertificateErrorAction : fmt.Stringer
const CertificateErrorActionCancel
const CertificateErrorActionContinue
CertificateID an internal certificate ID value.
See: https://chromedevtools.github.io/devtools-protocol/tot/Security#type-CertificateId
Int64 returns the CertificateID as int64 value.
CertificateSecurityState details about the security state of the page
certificate.
See: https://chromedevtools.github.io/devtools-protocol/tot/Security#type-CertificateSecurityState
// Page certificate.
// True if the certificate has a SHA1 signature in the chain.
// True if the certificate uses a weak signature aglorithm.
// The highest priority network error code, if the certificate has an error.
// Cipher name.
// Name of the issuing CA.
// Key Exchange used by the connection, or the empty string if not applicable.
// (EC)DH group used by the connection, if applicable.
// TLS MAC. Note that AEAD ciphers do not have separate MACs.
// True if modern SSL
// True if the connection is using an obsolete SSL cipher.
// True if the connection is using an obsolete SSL key exchange.
// True if the connection is using an obsolete SSL protocol.
// True if the connection is using an obsolete SSL signature.
// Protocol name (e.g. "TLS 1.2" or "QUIC").
// Certificate subject name.
// Certificate valid from date.
// Certificate valid to (expiration) date
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
CertificateSecurityState : github.com/goccy/go-json.Marshaler
*CertificateSecurityState : github.com/goccy/go-json.Unmarshaler
CertificateSecurityState : github.com/mailru/easyjson.Marshaler
*CertificateSecurityState : github.com/mailru/easyjson.MarshalerUnmarshaler
*CertificateSecurityState : github.com/mailru/easyjson.Unmarshaler
CertificateSecurityState : encoding/json.Marshaler
*CertificateSecurityState : encoding/json.Unmarshaler
DisableParams disables tracking security state changes.
Do executes Security.disable against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*DisableParams : github.com/chromedp/chromedp.Action
*DisableParams : github.com/chromedp/chromedp.CallAction
*DisableParams : github.com/chromedp/chromedp.EmulateAction
*DisableParams : github.com/chromedp/chromedp.EvaluateAction
*DisableParams : github.com/chromedp/chromedp.KeyAction
*DisableParams : github.com/chromedp/chromedp.MouseAction
*DisableParams : github.com/chromedp/chromedp.NavigateAction
*DisableParams : github.com/chromedp/chromedp.PollAction
*DisableParams : github.com/chromedp/chromedp.QueryAction
DisableParams : github.com/goccy/go-json.Marshaler
*DisableParams : github.com/goccy/go-json.Unmarshaler
DisableParams : github.com/mailru/easyjson.Marshaler
*DisableParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*DisableParams : github.com/mailru/easyjson.Unmarshaler
DisableParams : encoding/json.Marshaler
*DisableParams : encoding/json.Unmarshaler
func Disable() *DisableParams
EnableParams enables tracking security state changes.
Do executes Security.enable against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*EnableParams : github.com/chromedp/chromedp.Action
*EnableParams : github.com/chromedp/chromedp.CallAction
*EnableParams : github.com/chromedp/chromedp.EmulateAction
*EnableParams : github.com/chromedp/chromedp.EvaluateAction
*EnableParams : github.com/chromedp/chromedp.KeyAction
*EnableParams : github.com/chromedp/chromedp.MouseAction
*EnableParams : github.com/chromedp/chromedp.NavigateAction
*EnableParams : github.com/chromedp/chromedp.PollAction
*EnableParams : github.com/chromedp/chromedp.QueryAction
EnableParams : github.com/goccy/go-json.Marshaler
*EnableParams : github.com/goccy/go-json.Unmarshaler
EnableParams : github.com/mailru/easyjson.Marshaler
*EnableParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*EnableParams : github.com/mailru/easyjson.Unmarshaler
EnableParams : encoding/json.Marshaler
*EnableParams : encoding/json.Unmarshaler
func Enable() *EnableParams
EventVisibleSecurityStateChanged the security state of the page changed.
See: https://chromedevtools.github.io/devtools-protocol/tot/Security#event-visibleSecurityStateChanged
// Security state information about the page.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
EventVisibleSecurityStateChanged : github.com/goccy/go-json.Marshaler
*EventVisibleSecurityStateChanged : github.com/goccy/go-json.Unmarshaler
EventVisibleSecurityStateChanged : github.com/mailru/easyjson.Marshaler
*EventVisibleSecurityStateChanged : github.com/mailru/easyjson.MarshalerUnmarshaler
*EventVisibleSecurityStateChanged : github.com/mailru/easyjson.Unmarshaler
EventVisibleSecurityStateChanged : encoding/json.Marshaler
*EventVisibleSecurityStateChanged : encoding/json.Unmarshaler
MixedContentType a description of mixed content (HTTP resources on HTTPS
pages), as defined by https://www.w3.org/TR/mixed-content/#categories.
See: https://chromedevtools.github.io/devtools-protocol/tot/Security#type-MixedContentType
MarshalEasyJSON satisfies easyjson.Marshaler.
MarshalJSON satisfies json.Marshaler.
String returns the MixedContentType as string value.
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
UnmarshalJSON satisfies json.Unmarshaler.
MixedContentType : github.com/goccy/go-json.Marshaler
*MixedContentType : github.com/goccy/go-json.Unmarshaler
MixedContentType : github.com/mailru/easyjson.Marshaler
*MixedContentType : github.com/mailru/easyjson.MarshalerUnmarshaler
*MixedContentType : github.com/mailru/easyjson.Unmarshaler
MixedContentType : encoding/json.Marshaler
*MixedContentType : encoding/json.Unmarshaler
MixedContentType : expvar.Var
MixedContentType : fmt.Stringer
const MixedContentTypeBlockable
const MixedContentTypeNone
const MixedContentTypeOptionallyBlockable
SafetyTipInfo [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/Security#type-SafetyTipInfo
// The URL the safety tip suggested ("Did you mean?"). Only filled in for lookalike matches.
// Describes whether the page triggers any safety tips or reputation warnings. Default is unknown.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
SafetyTipInfo : github.com/goccy/go-json.Marshaler
*SafetyTipInfo : github.com/goccy/go-json.Unmarshaler
SafetyTipInfo : github.com/mailru/easyjson.Marshaler
*SafetyTipInfo : github.com/mailru/easyjson.MarshalerUnmarshaler
*SafetyTipInfo : github.com/mailru/easyjson.Unmarshaler
SafetyTipInfo : encoding/json.Marshaler
*SafetyTipInfo : encoding/json.Unmarshaler
SafetyTipStatus [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/Security#type-SafetyTipStatus
MarshalEasyJSON satisfies easyjson.Marshaler.
MarshalJSON satisfies json.Marshaler.
String returns the SafetyTipStatus as string value.
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
UnmarshalJSON satisfies json.Unmarshaler.
SafetyTipStatus : github.com/goccy/go-json.Marshaler
*SafetyTipStatus : github.com/goccy/go-json.Unmarshaler
SafetyTipStatus : github.com/mailru/easyjson.Marshaler
*SafetyTipStatus : github.com/mailru/easyjson.MarshalerUnmarshaler
*SafetyTipStatus : github.com/mailru/easyjson.Unmarshaler
SafetyTipStatus : encoding/json.Marshaler
*SafetyTipStatus : encoding/json.Unmarshaler
SafetyTipStatus : expvar.Var
SafetyTipStatus : fmt.Stringer
const SafetyTipStatusBadReputation
const SafetyTipStatusLookalike
SetIgnoreCertificateErrorsParams enable/disable whether all certificate
errors should be ignored.
// Ignores input events processing when set to true.
Do executes Security.setIgnoreCertificateErrors against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*SetIgnoreCertificateErrorsParams : github.com/chromedp/chromedp.Action
*SetIgnoreCertificateErrorsParams : github.com/chromedp/chromedp.CallAction
*SetIgnoreCertificateErrorsParams : github.com/chromedp/chromedp.EmulateAction
*SetIgnoreCertificateErrorsParams : github.com/chromedp/chromedp.EvaluateAction
*SetIgnoreCertificateErrorsParams : github.com/chromedp/chromedp.KeyAction
*SetIgnoreCertificateErrorsParams : github.com/chromedp/chromedp.MouseAction
*SetIgnoreCertificateErrorsParams : github.com/chromedp/chromedp.NavigateAction
*SetIgnoreCertificateErrorsParams : github.com/chromedp/chromedp.PollAction
*SetIgnoreCertificateErrorsParams : github.com/chromedp/chromedp.QueryAction
SetIgnoreCertificateErrorsParams : github.com/goccy/go-json.Marshaler
*SetIgnoreCertificateErrorsParams : github.com/goccy/go-json.Unmarshaler
SetIgnoreCertificateErrorsParams : github.com/mailru/easyjson.Marshaler
*SetIgnoreCertificateErrorsParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*SetIgnoreCertificateErrorsParams : github.com/mailru/easyjson.Unmarshaler
SetIgnoreCertificateErrorsParams : encoding/json.Marshaler
*SetIgnoreCertificateErrorsParams : encoding/json.Unmarshaler
func SetIgnoreCertificateErrors(ignore bool) *SetIgnoreCertificateErrorsParams
State the security level of a page or resource.
See: https://chromedevtools.github.io/devtools-protocol/tot/Security#type-SecurityState
MarshalEasyJSON satisfies easyjson.Marshaler.
MarshalJSON satisfies json.Marshaler.
String returns the State as string value.
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
UnmarshalJSON satisfies json.Unmarshaler.
State : github.com/goccy/go-json.Marshaler
*State : github.com/goccy/go-json.Unmarshaler
State : github.com/mailru/easyjson.Marshaler
*State : github.com/mailru/easyjson.MarshalerUnmarshaler
*State : github.com/mailru/easyjson.Unmarshaler
State : encoding/json.Marshaler
*State : encoding/json.Unmarshaler
State : expvar.Var
State : fmt.Stringer
const StateInfo
const StateInsecure
const StateInsecureBroken
const StateNeutral
const StateSecure
const StateUnknown
StateExplanation an explanation of an factor contributing to the security
state.
See: https://chromedevtools.github.io/devtools-protocol/tot/Security#type-SecurityStateExplanation
// Page certificate.
// Full text explanation of the factor.
// The type of mixed content described by the explanation.
// Recommendations to fix any issues.
// Security state representing the severity of the factor being explained.
// Short phrase describing the type of factor.
// Title describing the type of factor.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
StateExplanation : github.com/goccy/go-json.Marshaler
*StateExplanation : github.com/goccy/go-json.Unmarshaler
StateExplanation : github.com/mailru/easyjson.Marshaler
*StateExplanation : github.com/mailru/easyjson.MarshalerUnmarshaler
*StateExplanation : github.com/mailru/easyjson.Unmarshaler
StateExplanation : encoding/json.Marshaler
*StateExplanation : encoding/json.Unmarshaler
VisibleSecurityState security state information about the page.
See: https://chromedevtools.github.io/devtools-protocol/tot/Security#type-VisibleSecurityState
// Security state details about the page certificate.
// The type of Safety Tip triggered on the page. Note that this field will be set even if the Safety Tip UI was not actually shown.
// The security level of the page.
// Array of security state issues ids.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
VisibleSecurityState : github.com/goccy/go-json.Marshaler
*VisibleSecurityState : github.com/goccy/go-json.Unmarshaler
VisibleSecurityState : github.com/mailru/easyjson.Marshaler
*VisibleSecurityState : github.com/mailru/easyjson.MarshalerUnmarshaler
*VisibleSecurityState : github.com/mailru/easyjson.Unmarshaler
VisibleSecurityState : encoding/json.Marshaler
*VisibleSecurityState : encoding/json.Unmarshaler
Package-Level Functions (total 3)
Disable disables tracking security state changes.
See: https://chromedevtools.github.io/devtools-protocol/tot/Security#method-disable
Enable enables tracking security state changes.
See: https://chromedevtools.github.io/devtools-protocol/tot/Security#method-enable
SetIgnoreCertificateErrors enable/disable whether all certificate errors
should be ignored.
See: https://chromedevtools.github.io/devtools-protocol/tot/Security#method-setIgnoreCertificateErrors
parameters:
ignore - If true, all certificate errors will be ignored.
Package-Level Constants (total 16)
CertificateErrorAction values.
CertificateErrorAction values.
Command names.
Command names.
Command names.
MixedContentType values.
MixedContentType values.
MixedContentType values.
SafetyTipStatus values.
SafetyTipStatus values.
State values.
State values.
State values.
State values.
State values.
State values.
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |