gnoi

package
v0.0.0-...-f0a90cc Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package gnoi contains required services for running a gnoi server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server does blah.

func NewServer

func NewServer(privateKey crypto.PrivateKey, defaultCertificate *tls.Certificate) (*Server, error)

NewServer does blah.

func (*Server) PrepareAuthenticated

func (s *Server) PrepareAuthenticated() *grpc.Server

PrepareAuthenticated prepares a gRPC server with the CertificateManagement service running with full encryption and authentication.

func (*Server) PrepareEncrypted

func (s *Server) PrepareEncrypted() *grpc.Server

PrepareEncrypted prepares a gRPC server with the CertificateManagement service running with encryption but without authentication.

func (*Server) RegCertificateManagement

func (s *Server) RegCertificateManagement(g *grpc.Server)

RegCertificateManagement registers the Certificate Management service in the gRPC Server.

func (*Server) RegisterNotifier

func (s *Server) RegisterNotifier(f cert.Notifier)

RegisterNotifier registers a function that will be called everytime the number of Certificates or CA Certificates changes.

Directories

Path Synopsis
pb

Jump to

Keyboard shortcuts

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