types

package
v0.7.8 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PEMCertificate

type PEMCertificate struct {
	Certificate []byte
	PrivateKey  []byte
	Expiry      string
}

func NewPEMCertificate

func NewPEMCertificate(cert, key, e string) PEMCertificate

type PolicyRegex

type PolicyRegex struct {
	CommonName         []string
	Organization       []string
	OrganizationalUnit []string
	Province           []string
	Locality           []string
	Country            []string
}

PolicyRegex provides the restrictions for certificates as defined by the TPP policy

Jump to

Keyboard shortcuts

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