tlsca

package
v0.0.0-...-51fbea3 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TLS = "TLS"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type TLSCAGenOpts

type TLSCAGenOpts struct {
	// Level 目前支持 256 和 384 两个安全级别。
	Level int
}

func (*TLSCAGenOpts) Algorithm

func (opts *TLSCAGenOpts) Algorithm() string

func (*TLSCAGenOpts) SecurityLevel

func (opts *TLSCAGenOpts) SecurityLevel() int

type TLSCAGenerator

type TLSCAGenerator struct{}

func NewTLSCAGenerator

func NewTLSCAGenerator() *TLSCAGenerator

func (*TLSCAGenerator) GenCA

func (cg *TLSCAGenerator) GenCA(opts csp.CAGenOpts) (csp.CA, error)

Jump to

Keyboard shortcuts

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