signer

package
v2.0.0-...-345fa11 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 12 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CertificateFromAssets

func CertificateFromAssets() (*x509.Certificate, error)

func CertificateFromPemBytes

func CertificateFromPemBytes(pemData []byte) (*x509.Certificate, error)

func CertificateFromPemFile

func CertificateFromPemFile(pemFile string) (*x509.Certificate, error)

func Decode

func Decode(reader io.Reader) ([]unstructured.Unstructured, error)

github.com/manifestival/manifestival/internal/sources/yaml.go

func IsInputFromPipe

func IsInputFromPipe() bool

func OpenInputFile

func OpenInputFile(in string) (io.ReadCloser, error)

func PrivateKeyFromPemFile

func PrivateKeyFromPemFile(privateKeyFile string, privateKeyPassword string) (*rsa.PrivateKey, error)

func UnstructuredToGVKSpecBytes

func UnstructuredToGVKSpecBytes(uobj unstructured.Unstructured) ([]byte, error)

This should be the bytes we sign, or verify signature on

func VerifyCert

func VerifyCert(root, signed *x509.Certificate) error

func VerifySignature

func VerifySignature(uobj unstructured.Unstructured, caCert *x509.Certificate) error

func VerifySignatureArray

func VerifySignatureArray(uobjs []unstructured.Unstructured, caCert *x509.Certificate) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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