hep: go-hep.org/x/hep/xrootd/xrdproto/signing Index | Files

package signing

import "go-hep.org/x/hep/xrootd/xrdproto/signing"

Package signing contains implementation of a way to check if request should be signed according to XRootD protocol specification v. 3.1.0, p.75-76.

Index

Package Files

signing.go

type Requirements Uses

type Requirements struct {
    // contains filtered or unexported fields
}

Requirements implements a way to check if request should be signed according to XRootD protocol specification v. 3.1.0, p.75-76.

func Default Uses

func Default() Requirements

Default creates a default Requirements with "None" security level.

func New Uses

func New(level xrdproto.SecurityLevel, overrides []xrdproto.SecurityOverride) Requirements

New creates a Requirements according to provided security level and security overrides.

func (*Requirements) Needed Uses

func (sr *Requirements) Needed(request xrdproto.Request) bool

Needed returns whether the request should be signed. For the list of actual examples see XRootD protocol specification v. 3.1.0, p.76.

Package signing imports 17 packages (graph) and is imported by 1 packages. Updated 2019-02-21. Refresh now. Tools for package owners.