Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PolicyReporter ¶
type PolicyReporter interface { IDLookup(remoteContoller, remotePUID string, tags *policy.TagStore) bool IPLookup() bool Policy(tags *policy.TagStore) (*policy.FlowPolicy, *policy.FlowPolicy) ReportStats(remoteType collector.EndPointType, remoteController string, remotePUID string, mode string, report *policy.FlowPolicy, packet *policy.FlowPolicy, accept bool) }
PolicyReporter is the interface to allow looking up policies and report stats
type Verifier ¶
type Verifier interface { // TrustCA replaces the trusted CA list. TrustCAs(caPool *x509.CertPool) // VerifyPeerCertificate verifies if this TLS connection should be admitted. VerifyPeerCertificate(rawCerts [][]byte, verifiedChains [][]*x509.Certificate, policy PolicyReporter, mustHaveClientIDCert bool) error }
Verifier interface defines the methods a verifier must implement
Click to show internal directories.
Click to hide internal directories.