Documentation ¶
Index ¶
- func Router(hs *grope.GHttpServe)
- type CertConfig
- type GenerateServer
- func (gc *GenerateServer) GenerateCrypto(ctx context.Context, req *ca.ReqCrypto) (*ca.RespCrypto, error)
- func (gc *GenerateServer) GenerateRootCrypto(ctx context.Context, req *ca.ReqRootCrypto) (*ca.RespRootCrypto, error)
- func (gc *GenerateServer) SignCertificate(ctx context.Context, req *ca.ReqSignCertificate) (*ca.RespSignCertificate, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
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 生成组织下子节点/用户证书
Click to show internal directories.
Click to hide internal directories.