format

package
v0.0.0-...-1f46663 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2022 License: MPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ALIAS_NAME = "tls1"
)

Variables

This section is empty.

Functions

func GetJKSKeyStoreContents

func GetJKSKeyStoreContents(
	currentSecretContent map[string][]byte,
	l hclog.Logger,
) (
	jksContents []byte,
	jksPassword, aliasName, aliasPassword string,
	err error,
)

func GetPfxContentForSecret

func GetPfxContentForSecret(currentSecretContent map[string][]byte, l hclog.Logger) ([]byte, string, error)

Types

type PKCS8Key

type PKCS8Key struct {
	Version             int
	PrivateKeyAlgorithm []asn1.ObjectIdentifier
	PrivateKey          []byte
}

type Rand

type Rand struct {
}

func (Rand) Read

func (r Rand) Read(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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