util

package
v2.0.0-rc6 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculateHash

func CalculateHash(input string) string

func ExtractFieldFromJSON

func ExtractFieldFromJSON(jsonInput string, field string) (string, error)

extract a single field from input json

func GetSignatureAlgorithmFromString

func GetSignatureAlgorithmFromString(name string) (x509.SignatureAlgorithm, error)

func GetUserCertificateFromString

func GetUserCertificateFromString(inputCert []byte) (*x509.Certificate, error)

func HashConcat

func HashConcat(s ...string) string

concatenate n strings e.g. HashConcat("a", "b", "c") => "a:b:c"

Types

This section is empty.

Jump to

Keyboard shortcuts

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