Versions in this module Expand all Collapse all v1 v1.0.0 Apr 14, 2020 Changes in this version + const CommandSecurityDisable + const CommandSecurityEnable + const CommandSecurityHandleCertificateError + const CommandSecuritySetIgnoreCertificateErrors + const CommandSecuritySetOverrideCertificateErrors + const EventSecurityCertificateError + const EventSecuritySecurityStateChanged + const EventSecurityVisibleSecurityStateChanged + var EventConstants = map[string]Unmarshaler + func GetEventReply(event string) (json.Unmarshaler, bool) + type CertificateErrorAction string + const CertificateErrorActionCancel + const CertificateErrorActionContinue + const CertificateErrorActionNotSet + func (e CertificateErrorAction) String() string + func (e CertificateErrorAction) Valid() bool + type CertificateErrorReply struct + ErrorType string + EventID int + RequestURL string + func (a *CertificateErrorReply) GetFrameID() string + func (a *CertificateErrorReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *CertificateErrorReply) UnmarshalJSON(b []byte) error + type CertificateID int + type CertificateSecurityState struct + Certificate []string + CertificateHasSha1Signature bool + CertificateHasWeakSignature bool + CertificateNetworkError string + Cipher string + Issuer string + KeyExchange string + KeyExchangeGroup string + MAC string + ModernSSL bool + ObsoleteSSLCipher bool + ObsoleteSSLKeyExchange bool + ObsoleteSSLProtocol bool + ObsoleteSSLSignature bool + Protocol string + SubjectName string + ValidFrom shared.TimeSinceEpoch + ValidTo shared.TimeSinceEpoch + type DisableArgs struct + func (a *DisableArgs) MarshalJSON() ([]byte, error) + func (a *DisableArgs) UnmarshalJSON(b []byte) error + type DisableReply struct + func (a *DisableReply) GetFrameID() string + func (a *DisableReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *DisableReply) UnmarshalJSON(b []byte) error + type EnableArgs struct + func (a *EnableArgs) MarshalJSON() ([]byte, error) + func (a *EnableArgs) UnmarshalJSON(b []byte) error + type EnableReply struct + func (a *EnableReply) GetFrameID() string + func (a *EnableReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *EnableReply) UnmarshalJSON(b []byte) error + type HandleCertificateErrorArgs struct + Action CertificateErrorAction + EventID int + func (a *HandleCertificateErrorArgs) MarshalJSON() ([]byte, error) + func (a *HandleCertificateErrorArgs) UnmarshalJSON(b []byte) error + type HandleCertificateErrorReply struct + func (a *HandleCertificateErrorReply) GetFrameID() string + func (a *HandleCertificateErrorReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *HandleCertificateErrorReply) UnmarshalJSON(b []byte) error + type InsecureContentStatus struct + ContainedMixedForm bool + DisplayedContentWithCertErrors bool + DisplayedInsecureContentStyle State + DisplayedMixedContent bool + RanContentWithCertErrors bool + RanInsecureContentStyle State + RanMixedContent bool + type MixedContentType string + const MixedContentTypeBlockable + const MixedContentTypeNone + const MixedContentTypeNotSet + const MixedContentTypeOptionallyBlockable + func (e MixedContentType) String() string + func (e MixedContentType) Valid() bool + type SafetyTipInfo struct + SafeURL string + SafetyTipStatus SafetyTipStatus + type SafetyTipStatus string + const SafetyTipStatusBadReputation + const SafetyTipStatusLookalike + const SafetyTipStatusNotSet + func (e SafetyTipStatus) String() string + func (e SafetyTipStatus) Valid() bool + type SetIgnoreCertificateErrorsArgs struct + Ignore bool + func (a *SetIgnoreCertificateErrorsArgs) MarshalJSON() ([]byte, error) + func (a *SetIgnoreCertificateErrorsArgs) UnmarshalJSON(b []byte) error + type SetIgnoreCertificateErrorsReply struct + func (a *SetIgnoreCertificateErrorsReply) GetFrameID() string + func (a *SetIgnoreCertificateErrorsReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *SetIgnoreCertificateErrorsReply) UnmarshalJSON(b []byte) error + type SetOverrideCertificateErrorsArgs struct + Override bool + func (a *SetOverrideCertificateErrorsArgs) MarshalJSON() ([]byte, error) + func (a *SetOverrideCertificateErrorsArgs) UnmarshalJSON(b []byte) error + type SetOverrideCertificateErrorsReply struct + func (a *SetOverrideCertificateErrorsReply) GetFrameID() string + func (a *SetOverrideCertificateErrorsReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *SetOverrideCertificateErrorsReply) UnmarshalJSON(b []byte) error + type State string + const StateInfo + const StateInsecure + const StateInsecureBroken + const StateNeutral + const StateNotSet + const StateSecure + const StateUnknown + func (e State) String() string + func (e State) Valid() bool + type StateChangedReply struct + Explanations []StateExplanation + InsecureContentStatus InsecureContentStatus + SchemeIsCryptographic bool + SecurityState State + Summary string + func (a *StateChangedReply) GetFrameID() string + func (a *StateChangedReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *StateChangedReply) UnmarshalJSON(b []byte) error + type StateExplanation struct + Certificate []string + Description string + MixedContentType MixedContentType + Recommendations *[]string + SecurityState State + Summary string + Title string + type Unmarshaler func() json.Unmarshaler + type VisibleSecurityState struct + CertificateSecurityState *CertificateSecurityState + SafetyTipInfo *SafetyTipInfo + SecurityState State + SecurityStateIssueIDs []string + type VisibleSecurityStateChangedReply struct + VisibleSecurityState VisibleSecurityState + func (a *VisibleSecurityStateChangedReply) GetFrameID() string + func (a *VisibleSecurityStateChangedReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *VisibleSecurityStateChangedReply) UnmarshalJSON(b []byte) error