certs

package
v0.2.2 Latest Latest
Warning

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

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

Documentation

Overview

Package certs provides certificate templating logic for nonprod key management.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SigningKeyContextFrom

func SigningKeyContextFrom(ctx context.Context) (*rotate.SigningKeyContext, error)

SigningKeyContextFrom returns signer key certificate information from the context whether it's from BootstrapContext or SigningKeyContext.

func TemplateFromCert

func TemplateFromCert(ctx context.Context, cert *x509.Certificate, pubKey any) (*x509.Certificate, error)

TemplateFromCert provides a certificate template based on a given template and the provided configurables.

Types

This section is empty.

Jump to

Keyboard shortcuts

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