authority

package
v0.1.0-rc6 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CERT = "CERTIFICATE"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CACert

type CACert struct {
	Cert string `json:"cert"`
}

type CertAuthority

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

func NewCertAuthority

func NewCertAuthority(logger *zap.Logger, host string, port int) *CertAuthority

func (*CertAuthority) Register

func (ca *CertAuthority) Register(e *echo.Echo) error

func (*CertAuthority) ValidateSession

func (ca *CertAuthority) ValidateSession(next echo.HandlerFunc) echo.HandlerFunc

type CertDecodeError

type CertDecodeError struct{}

type CertFormatError

type CertFormatError struct{}

type CertInternalError

type CertInternalError struct{}

func (*CertInternalError) Error

func (e *CertInternalError) Error() string

func (*CertInternalError) Message

func (e *CertInternalError) Message() *proto.ResponseMessage

func (*CertInternalError) Status

func (e *CertInternalError) Status() int

type CertMissingError

type CertMissingError struct{}

func (*CertMissingError) Error

func (e *CertMissingError) Error() string

func (*CertMissingError) Message

func (e *CertMissingError) Message() *proto.ResponseMessage

func (*CertMissingError) Status

func (e *CertMissingError) Status() int

type CertUnauthorizedError

type CertUnauthorizedError struct{}

func (*CertUnauthorizedError) Error

func (e *CertUnauthorizedError) Error() string

func (*CertUnauthorizedError) Message

func (*CertUnauthorizedError) Status

func (e *CertUnauthorizedError) Status() int

type SignatureDecodeError

type SignatureDecodeError struct{}

func (*SignatureDecodeError) Error

func (e *SignatureDecodeError) Error() string

func (*SignatureDecodeError) Message

func (*SignatureDecodeError) Status

func (e *SignatureDecodeError) Status() int

type SignatureMissingError

type SignatureMissingError struct{}

func (*SignatureMissingError) Error

func (e *SignatureMissingError) Error() string

func (*SignatureMissingError) Message

func (*SignatureMissingError) Status

func (e *SignatureMissingError) Status() int

type SignatureVerificationError

type SignatureVerificationError struct{}

func (*SignatureVerificationError) Error

func (*SignatureVerificationError) Message

func (*SignatureVerificationError) Status

func (e *SignatureVerificationError) Status() int

Jump to

Keyboard shortcuts

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