tls

package
v0.0.0-...-7f7f88d Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodePemChain

func DecodePemChain(chain []byte) ([]*x509.Certificate, error)

Types

type ParsedCertificate

type ParsedCertificate struct {
	Certificate   *x509.Certificate
	Intermediates []*x509.Certificate
}

func ParseCertificate

func ParseCertificate(c []byte) (*ParsedCertificate, error)

func (ParsedCertificate) IsValid

func (c ParsedCertificate) IsValid() bool

func (ParsedCertificate) ValidityPeriod

func (c ParsedCertificate) ValidityPeriod() string

Jump to

Keyboard shortcuts

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