cert_mgmt

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2020 License: Apache-2.0 Imports: 9 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 []byte `capnp:"chain"`
}

func (*Chain) ProtoId

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

func (*Chain) String

func (c *Chain) String() string

type ChainIssRep

type ChainIssRep struct {
	RawChain []byte `capnp:"chain"`
}

func (*ChainIssRep) ProtoId

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

func (*ChainIssRep) String

func (c *ChainIssRep) String() string

type ChainIssReq

type ChainIssReq struct {
	Raw []byte `capnp:"cert"`
}

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   scrypto.Version
	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 []byte `capnp:"trc"`
}

func (*TRC) ProtoId

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

func (*TRC) String

func (t *TRC) String() string

type TRCReq

type TRCReq struct {
	ISD       addr.ISD `capnp:"isd"`
	Version   scrypto.Version
	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