Documentation ¶
Overview ¶
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 ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Requirements ¶
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 ¶
func Default() Requirements
Default creates a default Requirements with "None" security level.
func New ¶
func New(level xrdproto.SecurityLevel, overrides []xrdproto.SecurityOverride) Requirements
New creates a Requirements according to provided security level and security overrides.
func (*Requirements) Needed ¶
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.
Click to show internal directories.
Click to hide internal directories.