util

package
v0.2.1-0...-8ff3ae7 Latest Latest
Warning

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

Go to latest
Published: May 19, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenPriKey

func GenPriKey(datas []byte, out io.Writer) error

生成私钥文件

func GenPubKey

func GenPubKey(datas []byte, out io.Writer) error

生成公钥文件

func GenerateFRLicense

func GenerateFRLicense(datas []byte, out io.Writer) error

生成帆软授权文件

func GeneratePemFile

func GeneratePemFile(typeName string, headers map[string]string, plainDatas []byte, out io.Writer) error

生成 PEM 格式文件

func GeneratePemFile4Block

func GeneratePemFile4Block(block *pem.Block, out io.Writer) error

根据 Block 生成 PEM 格式文件

func ParsePemFile

func ParsePemFile(input []byte) (p *pem.Block, output []byte)

解析 PEM 文件

Types

This section is empty.

Jump to

Keyboard shortcuts

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