jws

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HeaderVerificationPluginX5U = "com.venafi.notation.plugin.x5u"
)

Variables

This section is empty.

Functions

func GenerateExtendedAttributes

func GenerateExtendedAttributes(x5u string) []signature.Attribute

func GenerateRFC3161TimeStampSignature

func GenerateRFC3161TimeStampSignature(sig []byte) ([]byte, error)

func SignJWSEnvelope

func SignJWSEnvelope(jwsOpts JWSOptions) ([]byte, error)

Types

type JWSOptions

type JWSOptions struct {
	Connector endpoint.Connector
	Env       endpoint.Environment
	Mech      int
	X5u       string
	Req       *proto.GenerateEnvelopeRequest
}

Jump to

Keyboard shortcuts

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