util

package
v4.15.2 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2021 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

View Source
const (
	IssuerHintMicrosoft = "MICROSOFT"
	IssuerHintDigicert  = "DIGICERT"
	IssuerHintEntrust   = "ENTRUST"
	PathSeparator       = "\\"
)
View Source
const (
	RsaPrivKeyType = "RSA PRIVATE KEY"
)

Variables

This section is empty.

Functions

func ConvertSecondsToTime added in v4.15.0

func ConvertSecondsToTime(t int64) time.Time

func GenerateSshKeyPair added in v4.15.0

func GenerateSshKeyPair(bitSize int, keyPassword, certId string) ([]byte, []byte, error)

func GetJsonAsString added in v4.15.0

func GetJsonAsString(i interface{}) (s string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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