cahash

package
v1.11.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeCerts added in v1.11.0

func DecodeCerts(raw []byte) ([]*x509.Certificate, error)

DecodeCerts iterates over pem blocks and load all the valid certificates

func DecodeOneCert added in v1.1.0

func DecodeOneCert(raw []byte) (*x509.Certificate, error)

----------------------------------------------------------------------------------- See gh:paketo-buildpacks/ca-certificates (cacerts/certs.go) for the original code. https://github.com/paketo-buildpacks/ca-certificates

Iterates over pem blocks until a valid certificate is found or no other PEM blocks exist.

func GenerateHash

func GenerateHash(certRaw []byte) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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