sign

package
v0.0.0-...-7a283c3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VaultSigner

type VaultSigner struct {
	// contains filtered or unexported fields
}

func NewSigner

func NewSigner(vclient *vault.Client, pki string, role string) (*VaultSigner, error)

func (*VaultSigner) Sign

func (s *VaultSigner) Sign(csr *x509.CertificateRequest, usage x509.KeyUsage, extUsages []x509.ExtKeyUsage, ttl time.Duration) (*x509.Certificate, error)

Jump to

Keyboard shortcuts

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