decoded

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrParse = serrors.New("parse error")

ErrParse indicates that parsign failed.

Functions

This section is empty.

Types

type Chain

type Chain struct {
	Chain  cert.Chain
	AS     *cert.AS
	Issuer *cert.Issuer
	Raw    []byte
}

Chain is a container for the decoded certificate chain.

func DecodeChain

func DecodeChain(raw []byte) (Chain, error)

DecodeChain decodes a certificate chain.

func (Chain) String

func (d Chain) String() string

type TRC

type TRC struct {
	TRC    *trc.TRC
	Signed trc.Signed
	Raw    []byte
}

TRC is a container for the decoded TRC.

func DecodeTRC

func DecodeTRC(raw []byte) (TRC, error)

DecodeTRC decodes the TRC.

func (TRC) String

func (d TRC) String() string

Jump to

Keyboard shortcuts

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