cert_mgmt

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chain

type Chain struct {
	RawChain common.RawBytes `capnp:"chain"`
}

func (*Chain) Chain

func (c *Chain) Chain() (*cert.Chain, error)

func (*Chain) ProtoId

func (c *Chain) ProtoId() proto.ProtoIdType

func (*Chain) String

func (c *Chain) String() string

type ChainIssRep

type ChainIssRep struct {
	RawChain common.RawBytes `capnp:"chain"`
}

func (*ChainIssRep) Chain

func (c *ChainIssRep) Chain() (*cert.Chain, error)

func (*ChainIssRep) ProtoId

func (c *ChainIssRep) ProtoId() proto.ProtoIdType

func (*ChainIssRep) String

func (c *ChainIssRep) String() string

type ChainIssReq

type ChainIssReq struct {
	RawCert common.RawBytes `capnp:"cert"`
}

func (*ChainIssReq) Cert

func (c *ChainIssReq) Cert() (*cert.Certificate, error)

func (*ChainIssReq) ProtoId

func (c *ChainIssReq) ProtoId() proto.ProtoIdType

func (*ChainIssReq) String

func (c *ChainIssReq) String() string

type ChainReq

type ChainReq struct {
	RawIA     addr.IAInt `capnp:"isdas"`
	Version   uint64
	CacheOnly bool
}

func (*ChainReq) IA

func (c *ChainReq) IA() addr.IA

func (*ChainReq) ProtoId

func (c *ChainReq) ProtoId() proto.ProtoIdType

func (*ChainReq) String

func (c *ChainReq) String() string

type Data

type Data struct {
}

type Pld

type Pld struct {
	*Data
	// contains filtered or unexported fields
}

func NewPld

func NewPld(u proto.Cerealizable, d *Data) (*Pld, error)

NewPld creates a new cert mgmt payload, containing the supplied Cerealizable instance.

func (*Pld) ProtoId

func (p *Pld) ProtoId() proto.ProtoIdType

func (*Pld) String

func (p *Pld) String() string

func (*Pld) Union

func (p *Pld) Union() (proto.Cerealizable, error)

type TRC

type TRC struct {
	RawTRC common.RawBytes `capnp:"trc"`
}

func (*TRC) ProtoId

func (t *TRC) ProtoId() proto.ProtoIdType

func (*TRC) String

func (t *TRC) String() string

func (*TRC) TRC

func (t *TRC) TRC() (*trc.TRC, error)

type TRCReq

type TRCReq struct {
	ISD       addr.ISD `capnp:"isd"`
	Version   uint64
	CacheOnly bool
}

func (*TRCReq) IA

func (t *TRCReq) IA() addr.IA

func (*TRCReq) ProtoId

func (t *TRCReq) ProtoId() proto.ProtoIdType

func (*TRCReq) String

func (t *TRCReq) String() string

Jump to

Keyboard shortcuts

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