ca

package
v0.0.0-...-2b16687 Latest Latest
Warning

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

Go to latest
Published: May 6, 2020 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Router

func Router(hs *grope.GHttpServe)

Router HTTP路由

Types

type CertConfig

type CertConfig struct{}

CertConfig 证书配置结构

type GenerateServer

type GenerateServer struct{}

GenerateServer grpc生成服务结构

func (*GenerateServer) GenerateCrypto

func (gc *GenerateServer) GenerateCrypto(ctx context.Context, req *ca.ReqCrypto) (*ca.RespCrypto, error)

GenerateCrypto 生成密钥对

func (*GenerateServer) GenerateRootCrypto

func (gc *GenerateServer) GenerateRootCrypto(ctx context.Context, req *ca.ReqRootCrypto) (*ca.RespRootCrypto, error)

GenerateRootCrypto 生成联盟根证书

func (*GenerateServer) SignCertificate

func (gc *GenerateServer) SignCertificate(ctx context.Context, req *ca.ReqSignCertificate) (*ca.RespSignCertificate, error)

SignCertificate 生成组织下子节点/用户证书

Jump to

Keyboard shortcuts

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