Documentation ¶
Index ¶
Constants ¶
View Source
const ( STATE_UNKNOWN = iota STATE_INVALID STATE_VALID )
Variables ¶
View Source
var ( StateToName = map[int]string{ STATE_UNKNOWN: "NotFound", STATE_INVALID: "Invalid", STATE_VALID: "Valid", } )
Functions ¶
This section is empty.
Types ¶
type AbstractROA ¶
type AbstractRoute ¶
type OriginValidator ¶
type OriginValidator struct {
// contains filtered or unexported fields
}
func NewOV ¶
func NewOV(vrp []AbstractROA) *OriginValidator
vrp: Validated ROA Payload https://tools.ietf.org/html/rfc6811
func (*OriginValidator) Validate ¶
func (ov *OriginValidator) Validate(route AbstractRoute) ([]AbstractROA, int, error)
Click to show internal directories.
Click to hide internal directories.