util

package
v0.0.0-...-34983fa Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRawCertificate

func GetRawCertificate(cert string) string

func ID

func ID() string

func ParseCertificatePem

func ParseCertificatePem(certPEM string) (*x509.Certificate, error)

func ParseRsaPrivateKeyPem

func ParseRsaPrivateKeyPem(privPEM string) (interface{}, error)

func Sign

func Sign(a string, k interface{}) (string, error)

func ValidateCertificatePem

func ValidateCertificatePem(certPEM string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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