tsa

package
v2.2.4 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTimestampedSignature

func GetTimestampedSignature(sigBytes []byte, tsaClient client.TimestampAuthorityClient) ([]byte, error)

GetTimestampedSignature queries a timestamp authority to fetch an RFC3161 timestamp. sigBytes is an opaque blob, but is typically a signature over an artifact.

func NewSigner

func NewSigner(inner cosign.Signer, tsaClient client.TimestampAuthorityClient) cosign.Signer

NewSigner returns a `cosign.Signer` which uploads the signature to a TSA

func SplitPEMCertificateChain

func SplitPEMCertificateChain(pem []byte) (leaves, intermediates, roots []*x509.Certificate, err error)

SplitPEMCertificateChain returns a list of leaf (non-CA) certificates, a certificate pool for intermediate CA certificates, and a certificate pool for root CA certificates

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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