types

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2017 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CAEntity

type CAEntity struct {
	*Entity
	Serial  *big.Int
	Revoked []*big.Int
	Clients map[string]string
	Servers map[string]string
	CAs     map[string]string
}

A CAEntity is a Entity with a serial number (used for next issued cert)

type Entity

type Entity struct {
	ID        string
	Name      string
	Cert      string
	Key       string
	IsRevoked bool
}

Entity is ID with a Cert and a Key (both pem encoded)

type EntityType

type EntityType int
const (
	CA EntityType = iota
	Server
	Client
)

List of valid EntityType's

Jump to

Keyboard shortcuts

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