signing

package
v0.33.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 12, 2023 License: BSD-3-Clause Imports: 17 Imported by: 0

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL