pb

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2018 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Overview

Package pb is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterWAVEHandler added in v0.1.1

func RegisterWAVEHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterWAVEHandler registers the http handlers for service WAVE to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterWAVEHandlerClient added in v0.1.1

func RegisterWAVEHandlerClient(ctx context.Context, mux *runtime.ServeMux, client WAVEClient) error

RegisterWAVEHandler registers the http handlers for service WAVE to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "WAVEClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "WAVEClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "WAVEClient" to call the correct interceptors.

func RegisterWAVEHandlerFromEndpoint added in v0.1.1

func RegisterWAVEHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterWAVEHandlerFromEndpoint is same as RegisterWAVEHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterWAVEServer

func RegisterWAVEServer(s *grpc.Server, srv WAVEServer)

Types

type AddAttestationParams

type AddAttestationParams struct {
	Perspective          *Perspective `protobuf:"bytes,1,opt,name=perspective,proto3" json:"perspective,omitempty"`
	DER                  []byte       `protobuf:"bytes,2,opt,name=DER,proto3" json:"DER,omitempty"`
	ProverKey            []byte       `protobuf:"bytes,3,opt,name=proverKey,proto3" json:"proverKey,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*AddAttestationParams) Descriptor

func (*AddAttestationParams) Descriptor() ([]byte, []int)

func (*AddAttestationParams) GetDER

func (m *AddAttestationParams) GetDER() []byte

func (*AddAttestationParams) GetPerspective

func (m *AddAttestationParams) GetPerspective() *Perspective

func (*AddAttestationParams) GetProverKey

func (m *AddAttestationParams) GetProverKey() []byte

func (*AddAttestationParams) ProtoMessage

func (*AddAttestationParams) ProtoMessage()

func (*AddAttestationParams) Reset

func (m *AddAttestationParams) Reset()

func (*AddAttestationParams) String

func (m *AddAttestationParams) String() string

func (*AddAttestationParams) XXX_DiscardUnknown added in v0.2.0

func (m *AddAttestationParams) XXX_DiscardUnknown()

func (*AddAttestationParams) XXX_Marshal added in v0.2.0

func (m *AddAttestationParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AddAttestationParams) XXX_Merge added in v0.2.0

func (dst *AddAttestationParams) XXX_Merge(src proto.Message)

func (*AddAttestationParams) XXX_Size added in v0.2.0

func (m *AddAttestationParams) XXX_Size() int

func (*AddAttestationParams) XXX_Unmarshal added in v0.2.0

func (m *AddAttestationParams) XXX_Unmarshal(b []byte) error

type AddAttestationResponse

type AddAttestationResponse struct {
	Error                *Error   `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AddAttestationResponse) Descriptor

func (*AddAttestationResponse) Descriptor() ([]byte, []int)

func (*AddAttestationResponse) GetError

func (m *AddAttestationResponse) GetError() *Error

func (*AddAttestationResponse) ProtoMessage

func (*AddAttestationResponse) ProtoMessage()

func (*AddAttestationResponse) Reset

func (m *AddAttestationResponse) Reset()

func (*AddAttestationResponse) String

func (m *AddAttestationResponse) String() string

func (*AddAttestationResponse) XXX_DiscardUnknown added in v0.2.0

func (m *AddAttestationResponse) XXX_DiscardUnknown()

func (*AddAttestationResponse) XXX_Marshal added in v0.2.0

func (m *AddAttestationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AddAttestationResponse) XXX_Merge added in v0.2.0

func (dst *AddAttestationResponse) XXX_Merge(src proto.Message)

func (*AddAttestationResponse) XXX_Size added in v0.2.0

func (m *AddAttestationResponse) XXX_Size() int

func (*AddAttestationResponse) XXX_Unmarshal added in v0.2.0

func (m *AddAttestationResponse) XXX_Unmarshal(b []byte) error

type Attestation

type Attestation struct {
	DER                  []byte               `protobuf:"bytes,1,opt,name=DER,proto3" json:"DER,omitempty"`
	Hash                 []byte               `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
	Body                 *AttestationBody     `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
	VerifierKey          []byte               `protobuf:"bytes,4,opt,name=verifierKey,proto3" json:"verifierKey,omitempty"`
	ProverKey            []byte               `protobuf:"bytes,5,opt,name=proverKey,proto3" json:"proverKey,omitempty"`
	SubjectHash          []byte               `protobuf:"bytes,6,opt,name=subjectHash,proto3" json:"subjectHash,omitempty"`
	SubjectLocation      *Location            `protobuf:"bytes,7,opt,name=subjectLocation,proto3" json:"subjectLocation,omitempty"`
	Validity             *AttestationValidity `protobuf:"bytes,8,opt,name=validity,proto3" json:"validity,omitempty"`
	Partition            [][]byte             `protobuf:"bytes,9,rep,name=partition,proto3" json:"partition,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*Attestation) Descriptor

func (*Attestation) Descriptor() ([]byte, []int)

func (*Attestation) GetBody

func (m *Attestation) GetBody() *AttestationBody

func (*Attestation) GetDER

func (m *Attestation) GetDER() []byte

func (*Attestation) GetHash

func (m *Attestation) GetHash() []byte

func (*Attestation) GetPartition

func (m *Attestation) GetPartition() [][]byte

func (*Attestation) GetProverKey

func (m *Attestation) GetProverKey() []byte

func (*Attestation) GetSubjectHash

func (m *Attestation) GetSubjectHash() []byte

func (*Attestation) GetSubjectLocation

func (m *Attestation) GetSubjectLocation() *Location

func (*Attestation) GetValidity

func (m *Attestation) GetValidity() *AttestationValidity

func (*Attestation) GetVerifierKey

func (m *Attestation) GetVerifierKey() []byte

func (*Attestation) ProtoMessage

func (*Attestation) ProtoMessage()

func (*Attestation) Reset

func (m *Attestation) Reset()

func (*Attestation) String

func (m *Attestation) String() string

func (*Attestation) XXX_DiscardUnknown added in v0.2.0

func (m *Attestation) XXX_DiscardUnknown()

func (*Attestation) XXX_Marshal added in v0.2.0

func (m *Attestation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Attestation) XXX_Merge added in v0.2.0

func (dst *Attestation) XXX_Merge(src proto.Message)

func (*Attestation) XXX_Size added in v0.2.0

func (m *Attestation) XXX_Size() int

func (*Attestation) XXX_Unmarshal added in v0.2.0

func (m *Attestation) XXX_Unmarshal(b []byte) error

type AttestationBody

type AttestationBody struct {
	DecodedBodyDER       []byte    `protobuf:"bytes,1,opt,name=DecodedBodyDER,proto3" json:"DecodedBodyDER,omitempty"`
	AttesterHash         []byte    `protobuf:"bytes,2,opt,name=attesterHash,proto3" json:"attesterHash,omitempty"`
	AttesterLocation     *Location `protobuf:"bytes,3,opt,name=attesterLocation,proto3" json:"attesterLocation,omitempty"`
	Policy               *Policy   `protobuf:"bytes,4,opt,name=policy,proto3" json:"policy,omitempty"`
	ValidFrom            int64     `protobuf:"varint,5,opt,name=validFrom,proto3" json:"validFrom,omitempty"`
	ValidUntil           int64     `protobuf:"varint,6,opt,name=validUntil,proto3" json:"validUntil,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*AttestationBody) Descriptor

func (*AttestationBody) Descriptor() ([]byte, []int)

func (*AttestationBody) GetAttesterHash

func (m *AttestationBody) GetAttesterHash() []byte

func (*AttestationBody) GetAttesterLocation

func (m *AttestationBody) GetAttesterLocation() *Location

func (*AttestationBody) GetDecodedBodyDER

func (m *AttestationBody) GetDecodedBodyDER() []byte

func (*AttestationBody) GetPolicy

func (m *AttestationBody) GetPolicy() *Policy

func (*AttestationBody) GetValidFrom

func (m *AttestationBody) GetValidFrom() int64

func (*AttestationBody) GetValidUntil

func (m *AttestationBody) GetValidUntil() int64

func (*AttestationBody) ProtoMessage

func (*AttestationBody) ProtoMessage()

func (*AttestationBody) Reset

func (m *AttestationBody) Reset()

func (*AttestationBody) String

func (m *AttestationBody) String() string

func (*AttestationBody) XXX_DiscardUnknown added in v0.2.0

func (m *AttestationBody) XXX_DiscardUnknown()

func (*AttestationBody) XXX_Marshal added in v0.2.0

func (m *AttestationBody) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AttestationBody) XXX_Merge added in v0.2.0

func (dst *AttestationBody) XXX_Merge(src proto.Message)

func (*AttestationBody) XXX_Size added in v0.2.0

func (m *AttestationBody) XXX_Size() int

func (*AttestationBody) XXX_Unmarshal added in v0.2.0

func (m *AttestationBody) XXX_Unmarshal(b []byte) error

type AttestationValidity

type AttestationValidity struct {
	Valid                bool     `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"`
	Revoked              bool     `protobuf:"varint,2,opt,name=revoked,proto3" json:"revoked,omitempty"`
	Expired              bool     `protobuf:"varint,3,opt,name=expired,proto3" json:"expired,omitempty"`
	Malformed            bool     `protobuf:"varint,4,opt,name=malformed,proto3" json:"malformed,omitempty"`
	NotDecrypted         bool     `protobuf:"varint,5,opt,name=notDecrypted,proto3" json:"notDecrypted,omitempty"`
	SrcInvalid           bool     `protobuf:"varint,6,opt,name=srcInvalid,proto3" json:"srcInvalid,omitempty"`
	DstInvalid           bool     `protobuf:"varint,7,opt,name=dstInvalid,proto3" json:"dstInvalid,omitempty"`
	Message              string   `protobuf:"bytes,8,opt,name=message,proto3" json:"message,omitempty"`
	NotValidYet          bool     `protobuf:"varint,9,opt,name=notValidYet,proto3" json:"notValidYet,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AttestationValidity) Descriptor

func (*AttestationValidity) Descriptor() ([]byte, []int)

func (*AttestationValidity) GetDstInvalid

func (m *AttestationValidity) GetDstInvalid() bool

func (*AttestationValidity) GetExpired

func (m *AttestationValidity) GetExpired() bool

func (*AttestationValidity) GetMalformed

func (m *AttestationValidity) GetMalformed() bool

func (*AttestationValidity) GetMessage

func (m *AttestationValidity) GetMessage() string

func (*AttestationValidity) GetNotDecrypted

func (m *AttestationValidity) GetNotDecrypted() bool

func (*AttestationValidity) GetNotValidYet added in v0.2.0

func (m *AttestationValidity) GetNotValidYet() bool

func (*AttestationValidity) GetRevoked

func (m *AttestationValidity) GetRevoked() bool

func (*AttestationValidity) GetSrcInvalid

func (m *AttestationValidity) GetSrcInvalid() bool

func (*AttestationValidity) GetValid

func (m *AttestationValidity) GetValid() bool

func (*AttestationValidity) ProtoMessage

func (*AttestationValidity) ProtoMessage()

func (*AttestationValidity) Reset

func (m *AttestationValidity) Reset()

func (*AttestationValidity) String

func (m *AttestationValidity) String() string

func (*AttestationValidity) XXX_DiscardUnknown added in v0.2.0

func (m *AttestationValidity) XXX_DiscardUnknown()

func (*AttestationValidity) XXX_Marshal added in v0.2.0

func (m *AttestationValidity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AttestationValidity) XXX_Merge added in v0.2.0

func (dst *AttestationValidity) XXX_Merge(src proto.Message)

func (*AttestationValidity) XXX_Size added in v0.2.0

func (m *AttestationValidity) XXX_Size() int

func (*AttestationValidity) XXX_Unmarshal added in v0.2.0

func (m *AttestationValidity) XXX_Unmarshal(b []byte) error

type BuildRTreeProofParams added in v0.2.1

type BuildRTreeProofParams struct {
	Perspective *Perspective `protobuf:"bytes,1,opt,name=perspective,proto3" json:"perspective,omitempty"`
	// If omitted, will default to the perspective entity
	SubjectHash          []byte                  `protobuf:"bytes,2,opt,name=subjectHash,proto3" json:"subjectHash,omitempty"`
	Namespace            []byte                  `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Statements           []*RTreePolicyStatement `protobuf:"bytes,4,rep,name=statements,proto3" json:"statements,omitempty"`
	ResyncFirst          bool                    `protobuf:"varint,5,opt,name=resyncFirst,proto3" json:"resyncFirst,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

func (*BuildRTreeProofParams) Descriptor added in v0.2.1

func (*BuildRTreeProofParams) Descriptor() ([]byte, []int)

func (*BuildRTreeProofParams) GetNamespace added in v0.2.1

func (m *BuildRTreeProofParams) GetNamespace() []byte

func (*BuildRTreeProofParams) GetPerspective added in v0.2.1

func (m *BuildRTreeProofParams) GetPerspective() *Perspective

func (*BuildRTreeProofParams) GetResyncFirst added in v0.2.1

func (m *BuildRTreeProofParams) GetResyncFirst() bool

func (*BuildRTreeProofParams) GetStatements added in v0.2.1

func (m *BuildRTreeProofParams) GetStatements() []*RTreePolicyStatement

func (*BuildRTreeProofParams) GetSubjectHash added in v0.2.1

func (m *BuildRTreeProofParams) GetSubjectHash() []byte

func (*BuildRTreeProofParams) ProtoMessage added in v0.2.1

func (*BuildRTreeProofParams) ProtoMessage()

func (*BuildRTreeProofParams) Reset added in v0.2.1

func (m *BuildRTreeProofParams) Reset()

func (*BuildRTreeProofParams) String added in v0.2.1

func (m *BuildRTreeProofParams) String() string

func (*BuildRTreeProofParams) XXX_DiscardUnknown added in v0.2.1

func (m *BuildRTreeProofParams) XXX_DiscardUnknown()

func (*BuildRTreeProofParams) XXX_Marshal added in v0.2.1

func (m *BuildRTreeProofParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BuildRTreeProofParams) XXX_Merge added in v0.2.1

func (dst *BuildRTreeProofParams) XXX_Merge(src proto.Message)

func (*BuildRTreeProofParams) XXX_Size added in v0.2.1

func (m *BuildRTreeProofParams) XXX_Size() int

func (*BuildRTreeProofParams) XXX_Unmarshal added in v0.2.1

func (m *BuildRTreeProofParams) XXX_Unmarshal(b []byte) error

type BuildRTreeProofResponse added in v0.2.1

type BuildRTreeProofResponse struct {
	Error                *Error   `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	Result               *Proof   `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"`
	ProofDER             []byte   `protobuf:"bytes,3,opt,name=proofDER,proto3" json:"proofDER,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BuildRTreeProofResponse) Descriptor added in v0.2.1

func (*BuildRTreeProofResponse) Descriptor() ([]byte, []int)

func (*BuildRTreeProofResponse) GetError added in v0.2.1

func (m *BuildRTreeProofResponse) GetError() *Error

func (*BuildRTreeProofResponse) GetProofDER added in v0.2.1

func (m *BuildRTreeProofResponse) GetProofDER() []byte

func (*BuildRTreeProofResponse) GetResult added in v0.2.1

func (m *BuildRTreeProofResponse) GetResult() *Proof

func (*BuildRTreeProofResponse) ProtoMessage added in v0.2.1

func (*BuildRTreeProofResponse) ProtoMessage()

func (*BuildRTreeProofResponse) Reset added in v0.2.1

func (m *BuildRTreeProofResponse) Reset()

func (*BuildRTreeProofResponse) String added in v0.2.1

func (m *BuildRTreeProofResponse) String() string

func (*BuildRTreeProofResponse) XXX_DiscardUnknown added in v0.2.1

func (m *BuildRTreeProofResponse) XXX_DiscardUnknown()

func (*BuildRTreeProofResponse) XXX_Marshal added in v0.2.1

func (m *BuildRTreeProofResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BuildRTreeProofResponse) XXX_Merge added in v0.2.1

func (dst *BuildRTreeProofResponse) XXX_Merge(src proto.Message)

func (*BuildRTreeProofResponse) XXX_Size added in v0.2.1

func (m *BuildRTreeProofResponse) XXX_Size() int

func (*BuildRTreeProofResponse) XXX_Unmarshal added in v0.2.1

func (m *BuildRTreeProofResponse) XXX_Unmarshal(b []byte) error

type CompactProofParams added in v0.2.1

type CompactProofParams struct {
	DER                  []byte   `protobuf:"bytes,1,opt,name=DER,proto3" json:"DER,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CompactProofParams) Descriptor added in v0.2.1

func (*CompactProofParams) Descriptor() ([]byte, []int)

func (*CompactProofParams) GetDER added in v0.2.1

func (m *CompactProofParams) GetDER() []byte

func (*CompactProofParams) ProtoMessage added in v0.2.1

func (*CompactProofParams) ProtoMessage()

func (*CompactProofParams) Reset added in v0.2.1

func (m *CompactProofParams) Reset()

func (*CompactProofParams) String added in v0.2.1

func (m *CompactProofParams) String() string

func (*CompactProofParams) XXX_DiscardUnknown added in v0.2.1

func (m *CompactProofParams) XXX_DiscardUnknown()

func (*CompactProofParams) XXX_Marshal added in v0.2.1

func (m *CompactProofParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CompactProofParams) XXX_Merge added in v0.2.1

func (dst *CompactProofParams) XXX_Merge(src proto.Message)

func (*CompactProofParams) XXX_Size added in v0.2.1

func (m *CompactProofParams) XXX_Size() int

func (*CompactProofParams) XXX_Unmarshal added in v0.2.1

func (m *CompactProofParams) XXX_Unmarshal(b []byte) error

type CompactProofResponse added in v0.2.1

type CompactProofResponse struct {
	Error                *Error   `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	ProofDER             []byte   `protobuf:"bytes,2,opt,name=proofDER,proto3" json:"proofDER,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CompactProofResponse) Descriptor added in v0.2.1

func (*CompactProofResponse) Descriptor() ([]byte, []int)

func (*CompactProofResponse) GetError added in v0.2.1

func (m *CompactProofResponse) GetError() *Error

func (*CompactProofResponse) GetProofDER added in v0.2.1

func (m *CompactProofResponse) GetProofDER() []byte

func (*CompactProofResponse) ProtoMessage added in v0.2.1

func (*CompactProofResponse) ProtoMessage()

func (*CompactProofResponse) Reset added in v0.2.1

func (m *CompactProofResponse) Reset()

func (*CompactProofResponse) String added in v0.2.1

func (m *CompactProofResponse) String() string

func (*CompactProofResponse) XXX_DiscardUnknown added in v0.2.1

func (m *CompactProofResponse) XXX_DiscardUnknown()

func (*CompactProofResponse) XXX_Marshal added in v0.2.1

func (m *CompactProofResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CompactProofResponse) XXX_Merge added in v0.2.1

func (dst *CompactProofResponse) XXX_Merge(src proto.Message)

func (*CompactProofResponse) XXX_Size added in v0.2.1

func (m *CompactProofResponse) XXX_Size() int

func (*CompactProofResponse) XXX_Unmarshal added in v0.2.1

func (m *CompactProofResponse) XXX_Unmarshal(b []byte) error

type CreateAttestationParams

type CreateAttestationParams struct {
	Perspective *Perspective `protobuf:"bytes,1,opt,name=perspective,proto3" json:"perspective,omitempty"`
	// If omitted will default to wr1
	BodyScheme      string    `protobuf:"bytes,2,opt,name=bodyScheme,proto3" json:"bodyScheme,omitempty"`
	SubjectHash     []byte    `protobuf:"bytes,3,opt,name=subjectHash,proto3" json:"subjectHash,omitempty"`
	SubjectLocation *Location `protobuf:"bytes,4,opt,name=subjectLocation,proto3" json:"subjectLocation,omitempty"`
	// If 0, will be set to time.Now. Ms since epoch
	ValidFrom int64 `protobuf:"varint,5,opt,name=validFrom,proto3" json:"validFrom,omitempty"`
	// If 0, will be set to some arbitrary default. Ms since epoch
	ValidUntil           int64    `protobuf:"varint,6,opt,name=validUntil,proto3" json:"validUntil,omitempty"`
	Policy               *Policy  `protobuf:"bytes,7,opt,name=policy,proto3" json:"policy,omitempty"`
	Publish              bool     `protobuf:"varint,8,opt,name=publish,proto3" json:"publish,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateAttestationParams) Descriptor

func (*CreateAttestationParams) Descriptor() ([]byte, []int)

func (*CreateAttestationParams) GetBodyScheme

func (m *CreateAttestationParams) GetBodyScheme() string

func (*CreateAttestationParams) GetPerspective

func (m *CreateAttestationParams) GetPerspective() *Perspective

func (*CreateAttestationParams) GetPolicy

func (m *CreateAttestationParams) GetPolicy() *Policy

func (*CreateAttestationParams) GetPublish added in v0.2.1

func (m *CreateAttestationParams) GetPublish() bool

func (*CreateAttestationParams) GetSubjectHash

func (m *CreateAttestationParams) GetSubjectHash() []byte

func (*CreateAttestationParams) GetSubjectLocation

func (m *CreateAttestationParams) GetSubjectLocation() *Location

func (*CreateAttestationParams) GetValidFrom

func (m *CreateAttestationParams) GetValidFrom() int64

func (*CreateAttestationParams) GetValidUntil

func (m *CreateAttestationParams) GetValidUntil() int64

func (*CreateAttestationParams) ProtoMessage

func (*CreateAttestationParams) ProtoMessage()

func (*CreateAttestationParams) Reset

func (m *CreateAttestationParams) Reset()

func (*CreateAttestationParams) String

func (m *CreateAttestationParams) String() string

func (*CreateAttestationParams) XXX_DiscardUnknown added in v0.2.0

func (m *CreateAttestationParams) XXX_DiscardUnknown()

func (*CreateAttestationParams) XXX_Marshal added in v0.2.0

func (m *CreateAttestationParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateAttestationParams) XXX_Merge added in v0.2.0

func (dst *CreateAttestationParams) XXX_Merge(src proto.Message)

func (*CreateAttestationParams) XXX_Size added in v0.2.0

func (m *CreateAttestationParams) XXX_Size() int

func (*CreateAttestationParams) XXX_Unmarshal added in v0.2.0

func (m *CreateAttestationParams) XXX_Unmarshal(b []byte) error

type CreateAttestationResponse

type CreateAttestationResponse struct {
	Error                *Error   `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	DER                  []byte   `protobuf:"bytes,2,opt,name=DER,proto3" json:"DER,omitempty"`
	VerifierKey          []byte   `protobuf:"bytes,3,opt,name=verifierKey,proto3" json:"verifierKey,omitempty"`
	ProverKey            []byte   `protobuf:"bytes,4,opt,name=proverKey,proto3" json:"proverKey,omitempty"`
	Hash                 []byte   `protobuf:"bytes,5,opt,name=hash,proto3" json:"hash,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateAttestationResponse) Descriptor

func (*CreateAttestationResponse) Descriptor() ([]byte, []int)

func (*CreateAttestationResponse) GetDER

func (m *CreateAttestationResponse) GetDER() []byte

func (*CreateAttestationResponse) GetError

func (m *CreateAttestationResponse) GetError() *Error

func (*CreateAttestationResponse) GetHash

func (m *CreateAttestationResponse) GetHash() []byte

func (*CreateAttestationResponse) GetProverKey

func (m *CreateAttestationResponse) GetProverKey() []byte

func (*CreateAttestationResponse) GetVerifierKey

func (m *CreateAttestationResponse) GetVerifierKey() []byte

func (*CreateAttestationResponse) ProtoMessage

func (*CreateAttestationResponse) ProtoMessage()

func (*CreateAttestationResponse) Reset

func (m *CreateAttestationResponse) Reset()

func (*CreateAttestationResponse) String

func (m *CreateAttestationResponse) String() string

func (*CreateAttestationResponse) XXX_DiscardUnknown added in v0.2.0

func (m *CreateAttestationResponse) XXX_DiscardUnknown()

func (*CreateAttestationResponse) XXX_Marshal added in v0.2.0

func (m *CreateAttestationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateAttestationResponse) XXX_Merge added in v0.2.0

func (dst *CreateAttestationResponse) XXX_Merge(src proto.Message)

func (*CreateAttestationResponse) XXX_Size added in v0.2.0

func (m *CreateAttestationResponse) XXX_Size() int

func (*CreateAttestationResponse) XXX_Unmarshal added in v0.2.0

func (m *CreateAttestationResponse) XXX_Unmarshal(b []byte) error

type CreateEntityParams

type CreateEntityParams struct {
	// Milliseconds since the epoch
	ValidFrom            int64     `protobuf:"varint,1,opt,name=validFrom,proto3" json:"validFrom,omitempty"`
	ValidUntil           int64     `protobuf:"varint,2,opt,name=validUntil,proto3" json:"validUntil,omitempty"`
	RevocationLocation   *Location `protobuf:"bytes,3,opt,name=revocationLocation,proto3" json:"revocationLocation,omitempty"`
	SecretPassphrase     string    `protobuf:"bytes,4,opt,name=SecretPassphrase,proto3" json:"SecretPassphrase,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*CreateEntityParams) Descriptor

func (*CreateEntityParams) Descriptor() ([]byte, []int)

func (*CreateEntityParams) GetRevocationLocation

func (m *CreateEntityParams) GetRevocationLocation() *Location

func (*CreateEntityParams) GetSecretPassphrase

func (m *CreateEntityParams) GetSecretPassphrase() string

func (*CreateEntityParams) GetValidFrom

func (m *CreateEntityParams) GetValidFrom() int64

func (*CreateEntityParams) GetValidUntil

func (m *CreateEntityParams) GetValidUntil() int64

func (*CreateEntityParams) ProtoMessage

func (*CreateEntityParams) ProtoMessage()

func (*CreateEntityParams) Reset

func (m *CreateEntityParams) Reset()

func (*CreateEntityParams) String

func (m *CreateEntityParams) String() string

func (*CreateEntityParams) XXX_DiscardUnknown added in v0.2.0

func (m *CreateEntityParams) XXX_DiscardUnknown()

func (*CreateEntityParams) XXX_Marshal added in v0.2.0

func (m *CreateEntityParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateEntityParams) XXX_Merge added in v0.2.0

func (dst *CreateEntityParams) XXX_Merge(src proto.Message)

func (*CreateEntityParams) XXX_Size added in v0.2.0

func (m *CreateEntityParams) XXX_Size() int

func (*CreateEntityParams) XXX_Unmarshal added in v0.2.0

func (m *CreateEntityParams) XXX_Unmarshal(b []byte) error

type CreateEntityResponse

type CreateEntityResponse struct {
	Error                *Error   `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	PublicDER            []byte   `protobuf:"bytes,2,opt,name=PublicDER,proto3" json:"PublicDER,omitempty"`
	SecretDER            []byte   `protobuf:"bytes,3,opt,name=SecretDER,proto3" json:"SecretDER,omitempty"`
	Hash                 []byte   `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateEntityResponse) Descriptor

func (*CreateEntityResponse) Descriptor() ([]byte, []int)

func (*CreateEntityResponse) GetError

func (m *CreateEntityResponse) GetError() *Error

func (*CreateEntityResponse) GetHash

func (m *CreateEntityResponse) GetHash() []byte

func (*CreateEntityResponse) GetPublicDER

func (m *CreateEntityResponse) GetPublicDER() []byte

func (*CreateEntityResponse) GetSecretDER

func (m *CreateEntityResponse) GetSecretDER() []byte

func (*CreateEntityResponse) ProtoMessage

func (*CreateEntityResponse) ProtoMessage()

func (*CreateEntityResponse) Reset

func (m *CreateEntityResponse) Reset()

func (*CreateEntityResponse) String

func (m *CreateEntityResponse) String() string

func (*CreateEntityResponse) XXX_DiscardUnknown added in v0.2.0

func (m *CreateEntityResponse) XXX_DiscardUnknown()

func (*CreateEntityResponse) XXX_Marshal added in v0.2.0

func (m *CreateEntityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateEntityResponse) XXX_Merge added in v0.2.0

func (dst *CreateEntityResponse) XXX_Merge(src proto.Message)

func (*CreateEntityResponse) XXX_Size added in v0.2.0

func (m *CreateEntityResponse) XXX_Size() int

func (*CreateEntityResponse) XXX_Unmarshal added in v0.2.0

func (m *CreateEntityResponse) XXX_Unmarshal(b []byte) error

type CreateNameDeclarationParams added in v0.2.0

type CreateNameDeclarationParams struct {
	Perspective     *Perspective `protobuf:"bytes,1,opt,name=perspective,proto3" json:"perspective,omitempty"`
	Name            string       `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Subject         []byte       `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"`
	SubjectLocation *Location    `protobuf:"bytes,4,opt,name=subjectLocation,proto3" json:"subjectLocation,omitempty"`
	// ms since epoch, if omitted default = now
	ValidFrom int64 `protobuf:"varint,5,opt,name=validFrom,proto3" json:"validFrom,omitempty"`
	// ms since epoch if omitted default = now+3 years
	ValidUntil int64 `protobuf:"varint,6,opt,name=validUntil,proto3" json:"validUntil,omitempty"`
	// if specified, the name declaration will be encrypted
	Namespace            []byte    `protobuf:"bytes,7,opt,name=namespace,proto3" json:"namespace,omitempty"`
	NamespaceLocation    *Location `protobuf:"bytes,8,opt,name=namespaceLocation,proto3" json:"namespaceLocation,omitempty"`
	Partition            [][]byte  `protobuf:"bytes,9,rep,name=partition,proto3" json:"partition,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*CreateNameDeclarationParams) Descriptor added in v0.2.0

func (*CreateNameDeclarationParams) Descriptor() ([]byte, []int)

func (*CreateNameDeclarationParams) GetName added in v0.2.0

func (m *CreateNameDeclarationParams) GetName() string

func (*CreateNameDeclarationParams) GetNamespace added in v0.2.0

func (m *CreateNameDeclarationParams) GetNamespace() []byte

func (*CreateNameDeclarationParams) GetNamespaceLocation added in v0.2.0

func (m *CreateNameDeclarationParams) GetNamespaceLocation() *Location

func (*CreateNameDeclarationParams) GetPartition added in v0.2.0

func (m *CreateNameDeclarationParams) GetPartition() [][]byte

func (*CreateNameDeclarationParams) GetPerspective added in v0.2.0

func (m *CreateNameDeclarationParams) GetPerspective() *Perspective

func (*CreateNameDeclarationParams) GetSubject added in v0.2.0

func (m *CreateNameDeclarationParams) GetSubject() []byte

func (*CreateNameDeclarationParams) GetSubjectLocation added in v0.2.0

func (m *CreateNameDeclarationParams) GetSubjectLocation() *Location

func (*CreateNameDeclarationParams) GetValidFrom added in v0.2.0

func (m *CreateNameDeclarationParams) GetValidFrom() int64

func (*CreateNameDeclarationParams) GetValidUntil added in v0.2.0

func (m *CreateNameDeclarationParams) GetValidUntil() int64

func (*CreateNameDeclarationParams) ProtoMessage added in v0.2.0

func (*CreateNameDeclarationParams) ProtoMessage()

func (*CreateNameDeclarationParams) Reset added in v0.2.0

func (m *CreateNameDeclarationParams) Reset()

func (*CreateNameDeclarationParams) String added in v0.2.0

func (m *CreateNameDeclarationParams) String() string

func (*CreateNameDeclarationParams) XXX_DiscardUnknown added in v0.2.0

func (m *CreateNameDeclarationParams) XXX_DiscardUnknown()

func (*CreateNameDeclarationParams) XXX_Marshal added in v0.2.0

func (m *CreateNameDeclarationParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateNameDeclarationParams) XXX_Merge added in v0.2.0

func (dst *CreateNameDeclarationParams) XXX_Merge(src proto.Message)

func (*CreateNameDeclarationParams) XXX_Size added in v0.2.0

func (m *CreateNameDeclarationParams) XXX_Size() int

func (*CreateNameDeclarationParams) XXX_Unmarshal added in v0.2.0

func (m *CreateNameDeclarationParams) XXX_Unmarshal(b []byte) error

type CreateNameDeclarationResponse added in v0.2.0

type CreateNameDeclarationResponse struct {
	Error                *Error   `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	DER                  []byte   `protobuf:"bytes,2,opt,name=DER,proto3" json:"DER,omitempty"`
	Hash                 []byte   `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateNameDeclarationResponse) Descriptor added in v0.2.0

func (*CreateNameDeclarationResponse) Descriptor() ([]byte, []int)

func (*CreateNameDeclarationResponse) GetDER added in v0.2.0

func (m *CreateNameDeclarationResponse) GetDER() []byte

func (*CreateNameDeclarationResponse) GetError added in v0.2.0

func (m *CreateNameDeclarationResponse) GetError() *Error

func (*CreateNameDeclarationResponse) GetHash added in v0.2.0

func (m *CreateNameDeclarationResponse) GetHash() []byte

func (*CreateNameDeclarationResponse) ProtoMessage added in v0.2.0

func (*CreateNameDeclarationResponse) ProtoMessage()

func (*CreateNameDeclarationResponse) Reset added in v0.2.0

func (m *CreateNameDeclarationResponse) Reset()

func (*CreateNameDeclarationResponse) String added in v0.2.0

func (*CreateNameDeclarationResponse) XXX_DiscardUnknown added in v0.2.0

func (m *CreateNameDeclarationResponse) XXX_DiscardUnknown()

func (*CreateNameDeclarationResponse) XXX_Marshal added in v0.2.0

func (m *CreateNameDeclarationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateNameDeclarationResponse) XXX_Merge added in v0.2.0

func (dst *CreateNameDeclarationResponse) XXX_Merge(src proto.Message)

func (*CreateNameDeclarationResponse) XXX_Size added in v0.2.0

func (m *CreateNameDeclarationResponse) XXX_Size() int

func (*CreateNameDeclarationResponse) XXX_Unmarshal added in v0.2.0

func (m *CreateNameDeclarationResponse) XXX_Unmarshal(b []byte) error

type DecryptMessageParams added in v0.2.0

type DecryptMessageParams struct {
	Perspective          *Perspective `protobuf:"bytes,1,opt,name=perspective,proto3" json:"perspective,omitempty"`
	Ciphertext           []byte       `protobuf:"bytes,2,opt,name=ciphertext,proto3" json:"ciphertext,omitempty"`
	ResyncFirst          bool         `protobuf:"varint,3,opt,name=resyncFirst,proto3" json:"resyncFirst,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*DecryptMessageParams) Descriptor added in v0.2.0

func (*DecryptMessageParams) Descriptor() ([]byte, []int)

func (*DecryptMessageParams) GetCiphertext added in v0.2.0

func (m *DecryptMessageParams) GetCiphertext() []byte

func (*DecryptMessageParams) GetPerspective added in v0.2.0

func (m *DecryptMessageParams) GetPerspective() *Perspective

func (*DecryptMessageParams) GetResyncFirst added in v0.2.1

func (m *DecryptMessageParams) GetResyncFirst() bool

func (*DecryptMessageParams) ProtoMessage added in v0.2.0

func (*DecryptMessageParams) ProtoMessage()

func (*DecryptMessageParams) Reset added in v0.2.0

func (m *DecryptMessageParams) Reset()

func (*DecryptMessageParams) String added in v0.2.0

func (m *DecryptMessageParams) String() string

func (*DecryptMessageParams) XXX_DiscardUnknown added in v0.2.0

func (m *DecryptMessageParams) XXX_DiscardUnknown()

func (*DecryptMessageParams) XXX_Marshal added in v0.2.0

func (m *DecryptMessageParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DecryptMessageParams) XXX_Merge added in v0.2.0

func (dst *DecryptMessageParams) XXX_Merge(src proto.Message)

func (*DecryptMessageParams) XXX_Size added in v0.2.0

func (m *DecryptMessageParams) XXX_Size() int

func (*DecryptMessageParams) XXX_Unmarshal added in v0.2.0

func (m *DecryptMessageParams) XXX_Unmarshal(b []byte) error

type DecryptMessageResponse added in v0.2.0

type DecryptMessageResponse struct {
	Error                *Error   `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	Content              []byte   `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DecryptMessageResponse) Descriptor added in v0.2.0

func (*DecryptMessageResponse) Descriptor() ([]byte, []int)

func (*DecryptMessageResponse) GetContent added in v0.2.0

func (m *DecryptMessageResponse) GetContent() []byte

func (*DecryptMessageResponse) GetError added in v0.2.0

func (m *DecryptMessageResponse) GetError() *Error

func (*DecryptMessageResponse) ProtoMessage added in v0.2.0

func (*DecryptMessageResponse) ProtoMessage()

func (*DecryptMessageResponse) Reset added in v0.2.0

func (m *DecryptMessageResponse) Reset()

func (*DecryptMessageResponse) String added in v0.2.0

func (m *DecryptMessageResponse) String() string

func (*DecryptMessageResponse) XXX_DiscardUnknown added in v0.2.0

func (m *DecryptMessageResponse) XXX_DiscardUnknown()

func (*DecryptMessageResponse) XXX_Marshal added in v0.2.0

func (m *DecryptMessageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DecryptMessageResponse) XXX_Merge added in v0.2.0

func (dst *DecryptMessageResponse) XXX_Merge(src proto.Message)

func (*DecryptMessageResponse) XXX_Size added in v0.2.0

func (m *DecryptMessageResponse) XXX_Size() int

func (*DecryptMessageResponse) XXX_Unmarshal added in v0.2.0

func (m *DecryptMessageResponse) XXX_Unmarshal(b []byte) error

type EncryptMessageParams added in v0.2.0

type EncryptMessageParams struct {
	Perspective *Perspective `protobuf:"bytes,1,opt,name=perspective,proto3" json:"perspective,omitempty"`
	// The payload of the message
	Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	// If present, a direct decryption key will be generated
	SubjectHash     []byte    `protobuf:"bytes,3,opt,name=subjectHash,proto3" json:"subjectHash,omitempty"`
	SubjectLocation *Location `protobuf:"bytes,4,opt,name=subjectLocation,proto3" json:"subjectLocation,omitempty"`
	// If present, an OAQUE decryption key will be generated
	Namespace         []byte    `protobuf:"bytes,5,opt,name=namespace,proto3" json:"namespace,omitempty"`
	NamespaceLocation *Location `protobuf:"bytes,6,opt,name=namespaceLocation,proto3" json:"namespaceLocation,omitempty"`
	Resource          string    `protobuf:"bytes,7,opt,name=resource,proto3" json:"resource,omitempty"`
	// ms since epoch, if zero set to now
	ValidFrom int64 `protobuf:"varint,8,opt,name=validFrom,proto3" json:"validFrom,omitempty"`
	// ms since epoch, if zero set to now
	ValidUntil           int64    `protobuf:"varint,9,opt,name=validUntil,proto3" json:"validUntil,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EncryptMessageParams) Descriptor added in v0.2.0

func (*EncryptMessageParams) Descriptor() ([]byte, []int)

func (*EncryptMessageParams) GetContent added in v0.2.0

func (m *EncryptMessageParams) GetContent() []byte

func (*EncryptMessageParams) GetNamespace added in v0.2.0

func (m *EncryptMessageParams) GetNamespace() []byte

func (*EncryptMessageParams) GetNamespaceLocation added in v0.2.0

func (m *EncryptMessageParams) GetNamespaceLocation() *Location

func (*EncryptMessageParams) GetPerspective added in v0.2.0

func (m *EncryptMessageParams) GetPerspective() *Perspective

func (*EncryptMessageParams) GetResource added in v0.2.1

func (m *EncryptMessageParams) GetResource() string

func (*EncryptMessageParams) GetSubjectHash added in v0.2.0

func (m *EncryptMessageParams) GetSubjectHash() []byte

func (*EncryptMessageParams) GetSubjectLocation added in v0.2.0

func (m *EncryptMessageParams) GetSubjectLocation() *Location

func (*EncryptMessageParams) GetValidFrom added in v0.2.0

func (m *EncryptMessageParams) GetValidFrom() int64

func (*EncryptMessageParams) GetValidUntil added in v0.2.0

func (m *EncryptMessageParams) GetValidUntil() int64

func (*EncryptMessageParams) ProtoMessage added in v0.2.0

func (*EncryptMessageParams) ProtoMessage()

func (*EncryptMessageParams) Reset added in v0.2.0

func (m *EncryptMessageParams) Reset()

func (*EncryptMessageParams) String added in v0.2.0

func (m *EncryptMessageParams) String() string

func (*EncryptMessageParams) XXX_DiscardUnknown added in v0.2.0

func (m *EncryptMessageParams) XXX_DiscardUnknown()

func (*EncryptMessageParams) XXX_Marshal added in v0.2.0

func (m *EncryptMessageParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EncryptMessageParams) XXX_Merge added in v0.2.0

func (dst *EncryptMessageParams) XXX_Merge(src proto.Message)

func (*EncryptMessageParams) XXX_Size added in v0.2.0

func (m *EncryptMessageParams) XXX_Size() int

func (*EncryptMessageParams) XXX_Unmarshal added in v0.2.0

func (m *EncryptMessageParams) XXX_Unmarshal(b []byte) error

type EncryptMessageResponse added in v0.2.0

type EncryptMessageResponse struct {
	Error                *Error   `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	Ciphertext           []byte   `protobuf:"bytes,2,opt,name=ciphertext,proto3" json:"ciphertext,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EncryptMessageResponse) Descriptor added in v0.2.0

func (*EncryptMessageResponse) Descriptor() ([]byte, []int)

func (*EncryptMessageResponse) GetCiphertext added in v0.2.0

func (m *EncryptMessageResponse) GetCiphertext() []byte

func (*EncryptMessageResponse) GetError added in v0.2.0

func (m *EncryptMessageResponse) GetError() *Error

func (*EncryptMessageResponse) ProtoMessage added in v0.2.0

func (*EncryptMessageResponse) ProtoMessage()

func (*EncryptMessageResponse) Reset added in v0.2.0

func (m *EncryptMessageResponse) Reset()

func (*EncryptMessageResponse) String added in v0.2.0

func (m *EncryptMessageResponse) String() string

func (*EncryptMessageResponse) XXX_DiscardUnknown added in v0.2.0

func (m *EncryptMessageResponse) XXX_DiscardUnknown()

func (*EncryptMessageResponse) XXX_Marshal added in v0.2.0

func (m *EncryptMessageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EncryptMessageResponse) XXX_Merge added in v0.2.0

func (dst *EncryptMessageResponse) XXX_Merge(src proto.Message)

func (*EncryptMessageResponse) XXX_Size added in v0.2.0

func (m *EncryptMessageResponse) XXX_Size() int

func (*EncryptMessageResponse) XXX_Unmarshal added in v0.2.0

func (m *EncryptMessageResponse) XXX_Unmarshal(b []byte) error

type Entity

type Entity struct {
	Hash                 []byte          `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	ValidFrom            int64           `protobuf:"varint,2,opt,name=validFrom,proto3" json:"validFrom,omitempty"`
	ValidUntil           int64           `protobuf:"varint,3,opt,name=validUntil,proto3" json:"validUntil,omitempty"`
	Validity             *EntityValidity `protobuf:"bytes,4,opt,name=validity,proto3" json:"validity,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*Entity) Descriptor

func (*Entity) Descriptor() ([]byte, []int)

func (*Entity) GetHash

func (m *Entity) GetHash() []byte

func (*Entity) GetValidFrom

func (m *Entity) GetValidFrom() int64

func (*Entity) GetValidUntil

func (m *Entity) GetValidUntil() int64

func (*Entity) GetValidity

func (m *Entity) GetValidity() *EntityValidity

func (*Entity) ProtoMessage

func (*Entity) ProtoMessage()

func (*Entity) Reset

func (m *Entity) Reset()

func (*Entity) String

func (m *Entity) String() string

func (*Entity) XXX_DiscardUnknown added in v0.2.0

func (m *Entity) XXX_DiscardUnknown()

func (*Entity) XXX_Marshal added in v0.2.0

func (m *Entity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Entity) XXX_Merge added in v0.2.0

func (dst *Entity) XXX_Merge(src proto.Message)

func (*Entity) XXX_Size added in v0.2.0

func (m *Entity) XXX_Size() int

func (*Entity) XXX_Unmarshal added in v0.2.0

func (m *Entity) XXX_Unmarshal(b []byte) error

type EntitySecret

type EntitySecret struct {
	DER                  []byte   `protobuf:"bytes,1,opt,name=DER,proto3" json:"DER,omitempty"`
	Passphrase           []byte   `protobuf:"bytes,2,opt,name=passphrase,proto3" json:"passphrase,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EntitySecret) Descriptor

func (*EntitySecret) Descriptor() ([]byte, []int)

func (*EntitySecret) GetDER

func (m *EntitySecret) GetDER() []byte

func (*EntitySecret) GetPassphrase

func (m *EntitySecret) GetPassphrase() []byte

func (*EntitySecret) ProtoMessage

func (*EntitySecret) ProtoMessage()

func (*EntitySecret) Reset

func (m *EntitySecret) Reset()

func (*EntitySecret) String

func (m *EntitySecret) String() string

func (*EntitySecret) XXX_DiscardUnknown added in v0.2.0

func (m *EntitySecret) XXX_DiscardUnknown()

func (*EntitySecret) XXX_Marshal added in v0.2.0

func (m *EntitySecret) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EntitySecret) XXX_Merge added in v0.2.0

func (dst *EntitySecret) XXX_Merge(src proto.Message)

func (*EntitySecret) XXX_Size added in v0.2.0

func (m *EntitySecret) XXX_Size() int

func (*EntitySecret) XXX_Unmarshal added in v0.2.0

func (m *EntitySecret) XXX_Unmarshal(b []byte) error

type EntityValidity

type EntityValidity struct {
	Valid                bool     `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"`
	Revoked              bool     `protobuf:"varint,2,opt,name=revoked,proto3" json:"revoked,omitempty"`
	Expired              bool     `protobuf:"varint,3,opt,name=expired,proto3" json:"expired,omitempty"`
	Malformed            bool     `protobuf:"varint,4,opt,name=malformed,proto3" json:"malformed,omitempty"`
	Message              string   `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
	NotValidYet          bool     `protobuf:"varint,6,opt,name=notValidYet,proto3" json:"notValidYet,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EntityValidity) Descriptor

func (*EntityValidity) Descriptor() ([]byte, []int)

func (*EntityValidity) GetExpired

func (m *EntityValidity) GetExpired() bool

func (*EntityValidity) GetMalformed

func (m *EntityValidity) GetMalformed() bool

func (*EntityValidity) GetMessage

func (m *EntityValidity) GetMessage() string

func (*EntityValidity) GetNotValidYet added in v0.2.0

func (m *EntityValidity) GetNotValidYet() bool

func (*EntityValidity) GetRevoked

func (m *EntityValidity) GetRevoked() bool

func (*EntityValidity) GetValid

func (m *EntityValidity) GetValid() bool

func (*EntityValidity) ProtoMessage

func (*EntityValidity) ProtoMessage()

func (*EntityValidity) Reset

func (m *EntityValidity) Reset()

func (*EntityValidity) String

func (m *EntityValidity) String() string

func (*EntityValidity) XXX_DiscardUnknown added in v0.2.0

func (m *EntityValidity) XXX_DiscardUnknown()

func (*EntityValidity) XXX_Marshal added in v0.2.0

func (m *EntityValidity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EntityValidity) XXX_Merge added in v0.2.0

func (dst *EntityValidity) XXX_Merge(src proto.Message)

func (*EntityValidity) XXX_Size added in v0.2.0

func (m *EntityValidity) XXX_Size() int

func (*EntityValidity) XXX_Unmarshal added in v0.2.0

func (m *EntityValidity) XXX_Unmarshal(b []byte) error

type Error

type Error struct {
	Code                 int32    `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Message              string   `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Error) Descriptor

func (*Error) Descriptor() ([]byte, []int)

func (*Error) GetCode

func (m *Error) GetCode() int32

func (*Error) GetMessage

func (m *Error) GetMessage() string

func (*Error) ProtoMessage

func (*Error) ProtoMessage()

func (*Error) Reset

func (m *Error) Reset()

func (*Error) String

func (m *Error) String() string

func (*Error) XXX_DiscardUnknown added in v0.2.0

func (m *Error) XXX_DiscardUnknown()

func (*Error) XXX_Marshal added in v0.2.0

func (m *Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Error) XXX_Merge added in v0.2.0

func (dst *Error) XXX_Merge(src proto.Message)

func (*Error) XXX_Size added in v0.2.0

func (m *Error) XXX_Size() int

func (*Error) XXX_Unmarshal added in v0.2.0

func (m *Error) XXX_Unmarshal(b []byte) error

type InspectParams

type InspectParams struct {
	Content              []byte   `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	ProverKey            []byte   `protobuf:"bytes,2,opt,name=proverKey,proto3" json:"proverKey,omitempty"`
	VerifierKey          []byte   `protobuf:"bytes,3,opt,name=verifierKey,proto3" json:"verifierKey,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*InspectParams) Descriptor

func (*InspectParams) Descriptor() ([]byte, []int)

func (*InspectParams) GetContent

func (m *InspectParams) GetContent() []byte

func (*InspectParams) GetProverKey added in v0.1.1

func (m *InspectParams) GetProverKey() []byte

func (*InspectParams) GetVerifierKey added in v0.1.1

func (m *InspectParams) GetVerifierKey() []byte

func (*InspectParams) ProtoMessage

func (*InspectParams) ProtoMessage()

func (*InspectParams) Reset

func (m *InspectParams) Reset()

func (*InspectParams) String

func (m *InspectParams) String() string

func (*InspectParams) XXX_DiscardUnknown added in v0.2.0

func (m *InspectParams) XXX_DiscardUnknown()

func (*InspectParams) XXX_Marshal added in v0.2.0

func (m *InspectParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InspectParams) XXX_Merge added in v0.2.0

func (dst *InspectParams) XXX_Merge(src proto.Message)

func (*InspectParams) XXX_Size added in v0.2.0

func (m *InspectParams) XXX_Size() int

func (*InspectParams) XXX_Unmarshal added in v0.2.0

func (m *InspectParams) XXX_Unmarshal(b []byte) error

type InspectResponse

type InspectResponse struct {
	Error                *Error       `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	Entity               *Entity      `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"`
	Attestation          *Attestation `protobuf:"bytes,3,opt,name=attestation,proto3" json:"attestation,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*InspectResponse) Descriptor

func (*InspectResponse) Descriptor() ([]byte, []int)

func (*InspectResponse) GetAttestation

func (m *InspectResponse) GetAttestation() *Attestation

func (*InspectResponse) GetEntity

func (m *InspectResponse) GetEntity() *Entity

func (*InspectResponse) GetError

func (m *InspectResponse) GetError() *Error

func (*InspectResponse) ProtoMessage

func (*InspectResponse) ProtoMessage()

func (*InspectResponse) Reset

func (m *InspectResponse) Reset()

func (*InspectResponse) String

func (m *InspectResponse) String() string

func (*InspectResponse) XXX_DiscardUnknown added in v0.2.0

func (m *InspectResponse) XXX_DiscardUnknown()

func (*InspectResponse) XXX_Marshal added in v0.2.0

func (m *InspectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InspectResponse) XXX_Merge added in v0.2.0

func (dst *InspectResponse) XXX_Merge(src proto.Message)

func (*InspectResponse) XXX_Size added in v0.2.0

func (m *InspectResponse) XXX_Size() int

func (*InspectResponse) XXX_Unmarshal added in v0.2.0

func (m *InspectResponse) XXX_Unmarshal(b []byte) error

type ListLocationsParams

type ListLocationsParams struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListLocationsParams) Descriptor

func (*ListLocationsParams) Descriptor() ([]byte, []int)

func (*ListLocationsParams) ProtoMessage

func (*ListLocationsParams) ProtoMessage()

func (*ListLocationsParams) Reset

func (m *ListLocationsParams) Reset()

func (*ListLocationsParams) String

func (m *ListLocationsParams) String() string

func (*ListLocationsParams) XXX_DiscardUnknown added in v0.2.0

func (m *ListLocationsParams) XXX_DiscardUnknown()

func (*ListLocationsParams) XXX_Marshal added in v0.2.0

func (m *ListLocationsParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListLocationsParams) XXX_Merge added in v0.2.0

func (dst *ListLocationsParams) XXX_Merge(src proto.Message)

func (*ListLocationsParams) XXX_Size added in v0.2.0

func (m *ListLocationsParams) XXX_Size() int

func (*ListLocationsParams) XXX_Unmarshal added in v0.2.0

func (m *ListLocationsParams) XXX_Unmarshal(b []byte) error

type ListLocationsResponse

type ListLocationsResponse struct {
	Error                *Error               `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	AgentLocations       map[string]*Location `` /* 169-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*ListLocationsResponse) Descriptor

func (*ListLocationsResponse) Descriptor() ([]byte, []int)

func (*ListLocationsResponse) GetAgentLocations

func (m *ListLocationsResponse) GetAgentLocations() map[string]*Location

func (*ListLocationsResponse) GetError

func (m *ListLocationsResponse) GetError() *Error

func (*ListLocationsResponse) ProtoMessage

func (*ListLocationsResponse) ProtoMessage()

func (*ListLocationsResponse) Reset

func (m *ListLocationsResponse) Reset()

func (*ListLocationsResponse) String

func (m *ListLocationsResponse) String() string

func (*ListLocationsResponse) XXX_DiscardUnknown added in v0.2.0

func (m *ListLocationsResponse) XXX_DiscardUnknown()

func (*ListLocationsResponse) XXX_Marshal added in v0.2.0

func (m *ListLocationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListLocationsResponse) XXX_Merge added in v0.2.0

func (dst *ListLocationsResponse) XXX_Merge(src proto.Message)

func (*ListLocationsResponse) XXX_Size added in v0.2.0

func (m *ListLocationsResponse) XXX_Size() int

func (*ListLocationsResponse) XXX_Unmarshal added in v0.2.0

func (m *ListLocationsResponse) XXX_Unmarshal(b []byte) error

type Location

type Location struct {
	// One of the following
	LocationURI *LocationURI `protobuf:"bytes,1,opt,name=locationURI,proto3" json:"locationURI,omitempty"`
	// The name of a location in the agent config
	AgentLocation        string   `protobuf:"bytes,2,opt,name=agentLocation,proto3" json:"agentLocation,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Location) Descriptor

func (*Location) Descriptor() ([]byte, []int)

func (*Location) GetAgentLocation

func (m *Location) GetAgentLocation() string

func (*Location) GetLocationURI

func (m *Location) GetLocationURI() *LocationURI

func (*Location) ProtoMessage

func (*Location) ProtoMessage()

func (*Location) Reset

func (m *Location) Reset()

func (*Location) String

func (m *Location) String() string

func (*Location) XXX_DiscardUnknown added in v0.2.0

func (m *Location) XXX_DiscardUnknown()

func (*Location) XXX_Marshal added in v0.2.0

func (m *Location) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Location) XXX_Merge added in v0.2.0

func (dst *Location) XXX_Merge(src proto.Message)

func (*Location) XXX_Size added in v0.2.0

func (m *Location) XXX_Size() int

func (*Location) XXX_Unmarshal added in v0.2.0

func (m *Location) XXX_Unmarshal(b []byte) error

type LocationURI

type LocationURI struct {
	URI                  string   `protobuf:"bytes,1,opt,name=URI,proto3" json:"URI,omitempty"`
	Version              int32    `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LocationURI) Descriptor

func (*LocationURI) Descriptor() ([]byte, []int)

func (*LocationURI) GetURI

func (m *LocationURI) GetURI() string

func (*LocationURI) GetVersion

func (m *LocationURI) GetVersion() int32

func (*LocationURI) ProtoMessage

func (*LocationURI) ProtoMessage()

func (*LocationURI) Reset

func (m *LocationURI) Reset()

func (*LocationURI) String

func (m *LocationURI) String() string

func (*LocationURI) XXX_DiscardUnknown added in v0.2.0

func (m *LocationURI) XXX_DiscardUnknown()

func (*LocationURI) XXX_Marshal added in v0.2.0

func (m *LocationURI) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LocationURI) XXX_Merge added in v0.2.0

func (dst *LocationURI) XXX_Merge(src proto.Message)

func (*LocationURI) XXX_Size added in v0.2.0

func (m *LocationURI) XXX_Size() int

func (*LocationURI) XXX_Unmarshal added in v0.2.0

func (m *LocationURI) XXX_Unmarshal(b []byte) error

type LookupAttestationsParams

type LookupAttestationsParams struct {
	Perspective          *Perspective `protobuf:"bytes,1,opt,name=perspective,proto3" json:"perspective,omitempty"`
	FromEntity           []byte       `protobuf:"bytes,2,opt,name=fromEntity,proto3" json:"fromEntity,omitempty"`
	ToEntity             []byte       `protobuf:"bytes,3,opt,name=toEntity,proto3" json:"toEntity,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*LookupAttestationsParams) Descriptor

func (*LookupAttestationsParams) Descriptor() ([]byte, []int)

func (*LookupAttestationsParams) GetFromEntity

func (m *LookupAttestationsParams) GetFromEntity() []byte

func (*LookupAttestationsParams) GetPerspective

func (m *LookupAttestationsParams) GetPerspective() *Perspective

func (*LookupAttestationsParams) GetToEntity

func (m *LookupAttestationsParams) GetToEntity() []byte

func (*LookupAttestationsParams) ProtoMessage

func (*LookupAttestationsParams) ProtoMessage()

func (*LookupAttestationsParams) Reset

func (m *LookupAttestationsParams) Reset()

func (*LookupAttestationsParams) String

func (m *LookupAttestationsParams) String() string

func (*LookupAttestationsParams) XXX_DiscardUnknown added in v0.2.0

func (m *LookupAttestationsParams) XXX_DiscardUnknown()

func (*LookupAttestationsParams) XXX_Marshal added in v0.2.0

func (m *LookupAttestationsParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LookupAttestationsParams) XXX_Merge added in v0.2.0

func (dst *LookupAttestationsParams) XXX_Merge(src proto.Message)

func (*LookupAttestationsParams) XXX_Size added in v0.2.0

func (m *LookupAttestationsParams) XXX_Size() int

func (*LookupAttestationsParams) XXX_Unmarshal added in v0.2.0

func (m *LookupAttestationsParams) XXX_Unmarshal(b []byte) error

type LookupAttestationsResponse

type LookupAttestationsResponse struct {
	Error                *Error         `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	Results              []*Attestation `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*LookupAttestationsResponse) Descriptor

func (*LookupAttestationsResponse) Descriptor() ([]byte, []int)

func (*LookupAttestationsResponse) GetError

func (m *LookupAttestationsResponse) GetError() *Error

func (*LookupAttestationsResponse) GetResults

func (m *LookupAttestationsResponse) GetResults() []*Attestation

func (*LookupAttestationsResponse) ProtoMessage

func (*LookupAttestationsResponse) ProtoMessage()

func (*LookupAttestationsResponse) Reset

func (m *LookupAttestationsResponse) Reset()

func (*LookupAttestationsResponse) String

func (m *LookupAttestationsResponse) String() string

func (*LookupAttestationsResponse) XXX_DiscardUnknown added in v0.2.0

func (m *LookupAttestationsResponse) XXX_DiscardUnknown()

func (*LookupAttestationsResponse) XXX_Marshal added in v0.2.0

func (m *LookupAttestationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LookupAttestationsResponse) XXX_Merge added in v0.2.0

func (dst *LookupAttestationsResponse) XXX_Merge(src proto.Message)

func (*LookupAttestationsResponse) XXX_Size added in v0.2.0

func (m *LookupAttestationsResponse) XXX_Size() int

func (*LookupAttestationsResponse) XXX_Unmarshal added in v0.2.0

func (m *LookupAttestationsResponse) XXX_Unmarshal(b []byte) error

type MarkEntityInterestingParams added in v0.2.0

type MarkEntityInterestingParams struct {
	Perspective          *Perspective `protobuf:"bytes,1,opt,name=perspective,proto3" json:"perspective,omitempty"`
	Entity               []byte       `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"`
	EntityLocation       *Location    `protobuf:"bytes,3,opt,name=entityLocation,proto3" json:"entityLocation,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*MarkEntityInterestingParams) Descriptor added in v0.2.0

func (*MarkEntityInterestingParams) Descriptor() ([]byte, []int)

func (*MarkEntityInterestingParams) GetEntity added in v0.2.0

func (m *MarkEntityInterestingParams) GetEntity() []byte

func (*MarkEntityInterestingParams) GetEntityLocation added in v0.2.0

func (m *MarkEntityInterestingParams) GetEntityLocation() *Location

func (*MarkEntityInterestingParams) GetPerspective added in v0.2.0

func (m *MarkEntityInterestingParams) GetPerspective() *Perspective

func (*MarkEntityInterestingParams) ProtoMessage added in v0.2.0

func (*MarkEntityInterestingParams) ProtoMessage()

func (*MarkEntityInterestingParams) Reset added in v0.2.0

func (m *MarkEntityInterestingParams) Reset()

func (*MarkEntityInterestingParams) String added in v0.2.0

func (m *MarkEntityInterestingParams) String() string

func (*MarkEntityInterestingParams) XXX_DiscardUnknown added in v0.2.0

func (m *MarkEntityInterestingParams) XXX_DiscardUnknown()

func (*MarkEntityInterestingParams) XXX_Marshal added in v0.2.0

func (m *MarkEntityInterestingParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MarkEntityInterestingParams) XXX_Merge added in v0.2.0

func (dst *MarkEntityInterestingParams) XXX_Merge(src proto.Message)

func (*MarkEntityInterestingParams) XXX_Size added in v0.2.0

func (m *MarkEntityInterestingParams) XXX_Size() int

func (*MarkEntityInterestingParams) XXX_Unmarshal added in v0.2.0

func (m *MarkEntityInterestingParams) XXX_Unmarshal(b []byte) error

type MarkEntityInterestingResponse added in v0.2.0

type MarkEntityInterestingResponse struct {
	Error                *Error   `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MarkEntityInterestingResponse) Descriptor added in v0.2.0

func (*MarkEntityInterestingResponse) Descriptor() ([]byte, []int)

func (*MarkEntityInterestingResponse) GetError added in v0.2.0

func (m *MarkEntityInterestingResponse) GetError() *Error

func (*MarkEntityInterestingResponse) ProtoMessage added in v0.2.0

func (*MarkEntityInterestingResponse) ProtoMessage()

func (*MarkEntityInterestingResponse) Reset added in v0.2.0

func (m *MarkEntityInterestingResponse) Reset()

func (*MarkEntityInterestingResponse) String added in v0.2.0

func (*MarkEntityInterestingResponse) XXX_DiscardUnknown added in v0.2.0

func (m *MarkEntityInterestingResponse) XXX_DiscardUnknown()

func (*MarkEntityInterestingResponse) XXX_Marshal added in v0.2.0

func (m *MarkEntityInterestingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MarkEntityInterestingResponse) XXX_Merge added in v0.2.0

func (dst *MarkEntityInterestingResponse) XXX_Merge(src proto.Message)

func (*MarkEntityInterestingResponse) XXX_Size added in v0.2.0

func (m *MarkEntityInterestingResponse) XXX_Size() int

func (*MarkEntityInterestingResponse) XXX_Unmarshal added in v0.2.0

func (m *MarkEntityInterestingResponse) XXX_Unmarshal(b []byte) error

type NameDeclaration added in v0.2.0

type NameDeclaration struct {
	Hash                 []byte                   `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	Name                 string                   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Subject              []byte                   `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"`
	SubjectLocation      *Location                `protobuf:"bytes,4,opt,name=subjectLocation,proto3" json:"subjectLocation,omitempty"`
	Attester             []byte                   `protobuf:"bytes,5,opt,name=attester,proto3" json:"attester,omitempty"`
	AttesterLocation     *Location                `protobuf:"bytes,6,opt,name=attesterLocation,proto3" json:"attesterLocation,omitempty"`
	ValidFrom            int64                    `protobuf:"varint,7,opt,name=validFrom,proto3" json:"validFrom,omitempty"`
	ValidUntil           int64                    `protobuf:"varint,8,opt,name=validUntil,proto3" json:"validUntil,omitempty"`
	Namespace            []byte                   `protobuf:"bytes,9,opt,name=namespace,proto3" json:"namespace,omitempty"`
	NamespaceLocation    *Location                `protobuf:"bytes,10,opt,name=namespaceLocation,proto3" json:"namespaceLocation,omitempty"`
	Partition            [][]byte                 `protobuf:"bytes,11,rep,name=partition,proto3" json:"partition,omitempty"`
	Validity             *NameDeclarationValidity `protobuf:"bytes,12,opt,name=validity,proto3" json:"validity,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (*NameDeclaration) Descriptor added in v0.2.0

func (*NameDeclaration) Descriptor() ([]byte, []int)

func (*NameDeclaration) GetAttester added in v0.2.0

func (m *NameDeclaration) GetAttester() []byte

func (*NameDeclaration) GetAttesterLocation added in v0.2.0

func (m *NameDeclaration) GetAttesterLocation() *Location

func (*NameDeclaration) GetHash added in v0.2.0

func (m *NameDeclaration) GetHash() []byte

func (*NameDeclaration) GetName added in v0.2.0

func (m *NameDeclaration) GetName() string

func (*NameDeclaration) GetNamespace added in v0.2.0

func (m *NameDeclaration) GetNamespace() []byte

func (*NameDeclaration) GetNamespaceLocation added in v0.2.0

func (m *NameDeclaration) GetNamespaceLocation() *Location

func (*NameDeclaration) GetPartition added in v0.2.0

func (m *NameDeclaration) GetPartition() [][]byte

func (*NameDeclaration) GetSubject added in v0.2.0

func (m *NameDeclaration) GetSubject() []byte

func (*NameDeclaration) GetSubjectLocation added in v0.2.0

func (m *NameDeclaration) GetSubjectLocation() *Location

func (*NameDeclaration) GetValidFrom added in v0.2.0

func (m *NameDeclaration) GetValidFrom() int64

func (*NameDeclaration) GetValidUntil added in v0.2.0

func (m *NameDeclaration) GetValidUntil() int64

func (*NameDeclaration) GetValidity added in v0.2.0

func (m *NameDeclaration) GetValidity() *NameDeclarationValidity

func (*NameDeclaration) ProtoMessage added in v0.2.0

func (*NameDeclaration) ProtoMessage()

func (*NameDeclaration) Reset added in v0.2.0

func (m *NameDeclaration) Reset()

func (*NameDeclaration) String added in v0.2.0

func (m *NameDeclaration) String() string

func (*NameDeclaration) XXX_DiscardUnknown added in v0.2.0

func (m *NameDeclaration) XXX_DiscardUnknown()

func (*NameDeclaration) XXX_Marshal added in v0.2.0

func (m *NameDeclaration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NameDeclaration) XXX_Merge added in v0.2.0

func (dst *NameDeclaration) XXX_Merge(src proto.Message)

func (*NameDeclaration) XXX_Size added in v0.2.0

func (m *NameDeclaration) XXX_Size() int

func (*NameDeclaration) XXX_Unmarshal added in v0.2.0

func (m *NameDeclaration) XXX_Unmarshal(b []byte) error

type NameDeclarationValidity added in v0.2.0

type NameDeclarationValidity struct {
	Valid                bool     `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"`
	Revoked              bool     `protobuf:"varint,2,opt,name=revoked,proto3" json:"revoked,omitempty"`
	Expired              bool     `protobuf:"varint,3,opt,name=expired,proto3" json:"expired,omitempty"`
	Malformed            bool     `protobuf:"varint,4,opt,name=malformed,proto3" json:"malformed,omitempty"`
	Message              string   `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
	NotValidYet          bool     `protobuf:"varint,6,opt,name=notValidYet,proto3" json:"notValidYet,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NameDeclarationValidity) Descriptor added in v0.2.0

func (*NameDeclarationValidity) Descriptor() ([]byte, []int)

func (*NameDeclarationValidity) GetExpired added in v0.2.0

func (m *NameDeclarationValidity) GetExpired() bool

func (*NameDeclarationValidity) GetMalformed added in v0.2.0

func (m *NameDeclarationValidity) GetMalformed() bool

func (*NameDeclarationValidity) GetMessage added in v0.2.0

func (m *NameDeclarationValidity) GetMessage() string

func (*NameDeclarationValidity) GetNotValidYet added in v0.2.0

func (m *NameDeclarationValidity) GetNotValidYet() bool

func (*NameDeclarationValidity) GetRevoked added in v0.2.0

func (m *NameDeclarationValidity) GetRevoked() bool

func (*NameDeclarationValidity) GetValid added in v0.2.0

func (m *NameDeclarationValidity) GetValid() bool

func (*NameDeclarationValidity) ProtoMessage added in v0.2.0

func (*NameDeclarationValidity) ProtoMessage()

func (*NameDeclarationValidity) Reset added in v0.2.0

func (m *NameDeclarationValidity) Reset()

func (*NameDeclarationValidity) String added in v0.2.0

func (m *NameDeclarationValidity) String() string

func (*NameDeclarationValidity) XXX_DiscardUnknown added in v0.2.0

func (m *NameDeclarationValidity) XXX_DiscardUnknown()

func (*NameDeclarationValidity) XXX_Marshal added in v0.2.0

func (m *NameDeclarationValidity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NameDeclarationValidity) XXX_Merge added in v0.2.0

func (dst *NameDeclarationValidity) XXX_Merge(src proto.Message)

func (*NameDeclarationValidity) XXX_Size added in v0.2.0

func (m *NameDeclarationValidity) XXX_Size() int

func (*NameDeclarationValidity) XXX_Unmarshal added in v0.2.0

func (m *NameDeclarationValidity) XXX_Unmarshal(b []byte) error

type Perspective

type Perspective struct {
	EntitySecret         *EntitySecret `protobuf:"bytes,1,opt,name=entitySecret,proto3" json:"entitySecret,omitempty"`
	Location             *Location     `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*Perspective) Descriptor

func (*Perspective) Descriptor() ([]byte, []int)

func (*Perspective) GetEntitySecret

func (m *Perspective) GetEntitySecret() *EntitySecret

func (*Perspective) GetLocation

func (m *Perspective) GetLocation() *Location

func (*Perspective) ProtoMessage

func (*Perspective) ProtoMessage()

func (*Perspective) Reset

func (m *Perspective) Reset()

func (*Perspective) String

func (m *Perspective) String() string

func (*Perspective) XXX_DiscardUnknown added in v0.2.0

func (m *Perspective) XXX_DiscardUnknown()

func (*Perspective) XXX_Marshal added in v0.2.0

func (m *Perspective) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Perspective) XXX_Merge added in v0.2.0

func (dst *Perspective) XXX_Merge(src proto.Message)

func (*Perspective) XXX_Size added in v0.2.0

func (m *Perspective) XXX_Size() int

func (*Perspective) XXX_Unmarshal added in v0.2.0

func (m *Perspective) XXX_Unmarshal(b []byte) error

type Policy

type Policy struct {
	TrustLevelPolicy     *TrustLevelPolicy `protobuf:"bytes,1,opt,name=trustLevelPolicy,proto3" json:"trustLevelPolicy,omitempty"`
	RTreePolicy          *RTreePolicy      `protobuf:"bytes,2,opt,name=rTreePolicy,proto3" json:"rTreePolicy,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*Policy) Descriptor

func (*Policy) Descriptor() ([]byte, []int)

func (*Policy) GetRTreePolicy

func (m *Policy) GetRTreePolicy() *RTreePolicy

func (*Policy) GetTrustLevelPolicy

func (m *Policy) GetTrustLevelPolicy() *TrustLevelPolicy

func (*Policy) ProtoMessage

func (*Policy) ProtoMessage()

func (*Policy) Reset

func (m *Policy) Reset()

func (*Policy) String

func (m *Policy) String() string

func (*Policy) XXX_DiscardUnknown added in v0.2.0

func (m *Policy) XXX_DiscardUnknown()

func (*Policy) XXX_Marshal added in v0.2.0

func (m *Policy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Policy) XXX_Merge added in v0.2.0

func (dst *Policy) XXX_Merge(src proto.Message)

func (*Policy) XXX_Size added in v0.2.0

func (m *Policy) XXX_Size() int

func (*Policy) XXX_Unmarshal added in v0.2.0

func (m *Policy) XXX_Unmarshal(b []byte) error

type Proof

type Proof struct {
	Elements             []*Attestation `protobuf:"bytes,1,rep,name=elements,proto3" json:"elements,omitempty"`
	Paths                []*ProofPath   `protobuf:"bytes,2,rep,name=paths,proto3" json:"paths,omitempty"`
	Policy               *Policy        `protobuf:"bytes,3,opt,name=policy,proto3" json:"policy,omitempty"`
	Expiry               int64          `protobuf:"varint,4,opt,name=expiry,proto3" json:"expiry,omitempty"`
	Subject              []byte         `protobuf:"bytes,5,opt,name=subject,proto3" json:"subject,omitempty"`
	SubjectLocation      *Location      `protobuf:"bytes,6,opt,name=subjectLocation,proto3" json:"subjectLocation,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*Proof) Descriptor

func (*Proof) Descriptor() ([]byte, []int)

func (*Proof) GetElements

func (m *Proof) GetElements() []*Attestation

func (*Proof) GetExpiry

func (m *Proof) GetExpiry() int64

func (*Proof) GetPaths

func (m *Proof) GetPaths() []*ProofPath

func (*Proof) GetPolicy

func (m *Proof) GetPolicy() *Policy

func (*Proof) GetSubject

func (m *Proof) GetSubject() []byte

func (*Proof) GetSubjectLocation

func (m *Proof) GetSubjectLocation() *Location

func (*Proof) ProtoMessage

func (*Proof) ProtoMessage()

func (*Proof) Reset

func (m *Proof) Reset()

func (*Proof) String

func (m *Proof) String() string

func (*Proof) XXX_DiscardUnknown added in v0.2.0

func (m *Proof) XXX_DiscardUnknown()

func (*Proof) XXX_Marshal added in v0.2.0

func (m *Proof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Proof) XXX_Merge added in v0.2.0

func (dst *Proof) XXX_Merge(src proto.Message)

func (*Proof) XXX_Size added in v0.2.0

func (m *Proof) XXX_Size() int

func (*Proof) XXX_Unmarshal added in v0.2.0

func (m *Proof) XXX_Unmarshal(b []byte) error

type ProofPath

type ProofPath struct {
	Elements             []int32  `protobuf:"varint,1,rep,packed,name=elements,proto3" json:"elements,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ProofPath) Descriptor

func (*ProofPath) Descriptor() ([]byte, []int)

func (*ProofPath) GetElements

func (m *ProofPath) GetElements() []int32

func (*ProofPath) ProtoMessage

func (*ProofPath) ProtoMessage()

func (*ProofPath) Reset

func (m *ProofPath) Reset()

func (*ProofPath) String

func (m *ProofPath) String() string

func (*ProofPath) XXX_DiscardUnknown added in v0.2.0

func (m *ProofPath) XXX_DiscardUnknown()

func (*ProofPath) XXX_Marshal added in v0.2.0

func (m *ProofPath) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProofPath) XXX_Merge added in v0.2.0

func (dst *ProofPath) XXX_Merge(src proto.Message)

func (*ProofPath) XXX_Size added in v0.2.0

func (m *ProofPath) XXX_Size() int

func (*ProofPath) XXX_Unmarshal added in v0.2.0

func (m *ProofPath) XXX_Unmarshal(b []byte) error

type PublishAttestationParams

type PublishAttestationParams struct {
	DER                  []byte   `protobuf:"bytes,1,opt,name=DER,proto3" json:"DER,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PublishAttestationParams) Descriptor

func (*PublishAttestationParams) Descriptor() ([]byte, []int)

func (*PublishAttestationParams) GetDER

func (m *PublishAttestationParams) GetDER() []byte

func (*PublishAttestationParams) ProtoMessage

func (*PublishAttestationParams) ProtoMessage()

func (*PublishAttestationParams) Reset

func (m *PublishAttestationParams) Reset()

func (*PublishAttestationParams) String

func (m *PublishAttestationParams) String() string

func (*PublishAttestationParams) XXX_DiscardUnknown added in v0.2.0

func (m *PublishAttestationParams) XXX_DiscardUnknown()

func (*PublishAttestationParams) XXX_Marshal added in v0.2.0

func (m *PublishAttestationParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PublishAttestationParams) XXX_Merge added in v0.2.0

func (dst *PublishAttestationParams) XXX_Merge(src proto.Message)

func (*PublishAttestationParams) XXX_Size added in v0.2.0

func (m *PublishAttestationParams) XXX_Size() int

func (*PublishAttestationParams) XXX_Unmarshal added in v0.2.0

func (m *PublishAttestationParams) XXX_Unmarshal(b []byte) error

type PublishAttestationResponse

type PublishAttestationResponse struct {
	Error                *Error   `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	Hash                 []byte   `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PublishAttestationResponse) Descriptor

func (*PublishAttestationResponse) Descriptor() ([]byte, []int)

func (*PublishAttestationResponse) GetError

func (m *PublishAttestationResponse) GetError() *Error

func (*PublishAttestationResponse) GetHash

func (m *PublishAttestationResponse) GetHash() []byte

func (*PublishAttestationResponse) ProtoMessage

func (*PublishAttestationResponse) ProtoMessage()

func (*PublishAttestationResponse) Reset

func (m *PublishAttestationResponse) Reset()

func (*PublishAttestationResponse) String

func (m *PublishAttestationResponse) String() string

func (*PublishAttestationResponse) XXX_DiscardUnknown added in v0.2.0

func (m *PublishAttestationResponse) XXX_DiscardUnknown()

func (*PublishAttestationResponse) XXX_Marshal added in v0.2.0

func (m *PublishAttestationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PublishAttestationResponse) XXX_Merge added in v0.2.0

func (dst *PublishAttestationResponse) XXX_Merge(src proto.Message)

func (*PublishAttestationResponse) XXX_Size added in v0.2.0

func (m *PublishAttestationResponse) XXX_Size() int

func (*PublishAttestationResponse) XXX_Unmarshal added in v0.2.0

func (m *PublishAttestationResponse) XXX_Unmarshal(b []byte) error

type PublishEntityParams

type PublishEntityParams struct {
	DER                  []byte    `protobuf:"bytes,1,opt,name=DER,proto3" json:"DER,omitempty"`
	Location             *Location `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*PublishEntityParams) Descriptor

func (*PublishEntityParams) Descriptor() ([]byte, []int)

func (*PublishEntityParams) GetDER

func (m *PublishEntityParams) GetDER() []byte

func (*PublishEntityParams) GetLocation

func (m *PublishEntityParams) GetLocation() *Location

func (*PublishEntityParams) ProtoMessage

func (*PublishEntityParams) ProtoMessage()

func (*PublishEntityParams) Reset

func (m *PublishEntityParams) Reset()

func (*PublishEntityParams) String

func (m *PublishEntityParams) String() string

func (*PublishEntityParams) XXX_DiscardUnknown added in v0.2.0

func (m *PublishEntityParams) XXX_DiscardUnknown()

func (*PublishEntityParams) XXX_Marshal added in v0.2.0

func (m *PublishEntityParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PublishEntityParams) XXX_Merge added in v0.2.0

func (dst *PublishEntityParams) XXX_Merge(src proto.Message)

func (*PublishEntityParams) XXX_Size added in v0.2.0

func (m *PublishEntityParams) XXX_Size() int

func (*PublishEntityParams) XXX_Unmarshal added in v0.2.0

func (m *PublishEntityParams) XXX_Unmarshal(b []byte) error

type PublishEntityResponse

type PublishEntityResponse struct {
	Error                *Error   `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	Hash                 []byte   `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PublishEntityResponse) Descriptor

func (*PublishEntityResponse) Descriptor() ([]byte, []int)

func (*PublishEntityResponse) GetError

func (m *PublishEntityResponse) GetError() *Error

func (*PublishEntityResponse) GetHash

func (m *PublishEntityResponse) GetHash() []byte

func (*PublishEntityResponse) ProtoMessage

func (*PublishEntityResponse) ProtoMessage()

func (*PublishEntityResponse) Reset

func (m *PublishEntityResponse) Reset()

func (*PublishEntityResponse) String

func (m *PublishEntityResponse) String() string

func (*PublishEntityResponse) XXX_DiscardUnknown added in v0.2.0

func (m *PublishEntityResponse) XXX_DiscardUnknown()

func (*PublishEntityResponse) XXX_Marshal added in v0.2.0

func (m *PublishEntityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PublishEntityResponse) XXX_Merge added in v0.2.0

func (dst *PublishEntityResponse) XXX_Merge(src proto.Message)

func (*PublishEntityResponse) XXX_Size added in v0.2.0

func (m *PublishEntityResponse) XXX_Size() int

func (*PublishEntityResponse) XXX_Unmarshal added in v0.2.0

func (m *PublishEntityResponse) XXX_Unmarshal(b []byte) error

type RTreePolicy

type RTreePolicy struct {
	Namespace            []byte                  `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Indirections         uint32                  `protobuf:"varint,2,opt,name=indirections,proto3" json:"indirections,omitempty"`
	Statements           []*RTreePolicyStatement `protobuf:"bytes,3,rep,name=statements,proto3" json:"statements,omitempty"`
	VisibilityURI        [][]byte                `protobuf:"bytes,4,rep,name=visibilityURI,proto3" json:"visibilityURI,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

func (*RTreePolicy) Descriptor

func (*RTreePolicy) Descriptor() ([]byte, []int)

func (*RTreePolicy) GetIndirections

func (m *RTreePolicy) GetIndirections() uint32

func (*RTreePolicy) GetNamespace

func (m *RTreePolicy) GetNamespace() []byte

func (*RTreePolicy) GetStatements

func (m *RTreePolicy) GetStatements() []*RTreePolicyStatement

func (*RTreePolicy) GetVisibilityURI

func (m *RTreePolicy) GetVisibilityURI() [][]byte

func (*RTreePolicy) ProtoMessage

func (*RTreePolicy) ProtoMessage()

func (*RTreePolicy) Reset

func (m *RTreePolicy) Reset()

func (*RTreePolicy) String

func (m *RTreePolicy) String() string

func (*RTreePolicy) XXX_DiscardUnknown added in v0.2.0

func (m *RTreePolicy) XXX_DiscardUnknown()

func (*RTreePolicy) XXX_Marshal added in v0.2.0

func (m *RTreePolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RTreePolicy) XXX_Merge added in v0.2.0

func (dst *RTreePolicy) XXX_Merge(src proto.Message)

func (*RTreePolicy) XXX_Size added in v0.2.0

func (m *RTreePolicy) XXX_Size() int

func (*RTreePolicy) XXX_Unmarshal added in v0.2.0

func (m *RTreePolicy) XXX_Unmarshal(b []byte) error

type RTreePolicyStatement

type RTreePolicyStatement struct {
	PermissionSet        []byte   `protobuf:"bytes,1,opt,name=permissionSet,proto3" json:"permissionSet,omitempty"`
	Permissions          []string `protobuf:"bytes,2,rep,name=permissions,proto3" json:"permissions,omitempty"`
	Resource             string   `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RTreePolicyStatement) Descriptor

func (*RTreePolicyStatement) Descriptor() ([]byte, []int)

func (*RTreePolicyStatement) GetPermissionSet

func (m *RTreePolicyStatement) GetPermissionSet() []byte

func (*RTreePolicyStatement) GetPermissions

func (m *RTreePolicyStatement) GetPermissions() []string

func (*RTreePolicyStatement) GetResource

func (m *RTreePolicyStatement) GetResource() string

func (*RTreePolicyStatement) ProtoMessage

func (*RTreePolicyStatement) ProtoMessage()

func (*RTreePolicyStatement) Reset

func (m *RTreePolicyStatement) Reset()

func (*RTreePolicyStatement) String

func (m *RTreePolicyStatement) String() string

func (*RTreePolicyStatement) XXX_DiscardUnknown added in v0.2.0

func (m *RTreePolicyStatement) XXX_DiscardUnknown()

func (*RTreePolicyStatement) XXX_Marshal added in v0.2.0

func (m *RTreePolicyStatement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RTreePolicyStatement) XXX_Merge added in v0.2.0

func (dst *RTreePolicyStatement) XXX_Merge(src proto.Message)

func (*RTreePolicyStatement) XXX_Size added in v0.2.0

func (m *RTreePolicyStatement) XXX_Size() int

func (*RTreePolicyStatement) XXX_Unmarshal added in v0.2.0

func (m *RTreePolicyStatement) XXX_Unmarshal(b []byte) error

type ResolveHashParams

type ResolveHashParams struct {
	Hash                 []byte       `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	Perspective          *Perspective `protobuf:"bytes,2,opt,name=perspective,proto3" json:"perspective,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*ResolveHashParams) Descriptor

func (*ResolveHashParams) Descriptor() ([]byte, []int)

func (*ResolveHashParams) GetHash

func (m *ResolveHashParams) GetHash() []byte

func (*ResolveHashParams) GetPerspective

func (m *ResolveHashParams) GetPerspective() *Perspective

func (*ResolveHashParams) ProtoMessage

func (*ResolveHashParams) ProtoMessage()

func (*ResolveHashParams) Reset

func (m *ResolveHashParams) Reset()

func (*ResolveHashParams) String

func (m *ResolveHashParams) String() string

func (*ResolveHashParams) XXX_DiscardUnknown added in v0.2.0

func (m *ResolveHashParams) XXX_DiscardUnknown()

func (*ResolveHashParams) XXX_Marshal added in v0.2.0

func (m *ResolveHashParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResolveHashParams) XXX_Merge added in v0.2.0

func (dst *ResolveHashParams) XXX_Merge(src proto.Message)

func (*ResolveHashParams) XXX_Size added in v0.2.0

func (m *ResolveHashParams) XXX_Size() int

func (*ResolveHashParams) XXX_Unmarshal added in v0.2.0

func (m *ResolveHashParams) XXX_Unmarshal(b []byte) error

type ResolveHashResponse

type ResolveHashResponse struct {
	Error                *Error       `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	Location             *Location    `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
	Entity               *Entity      `protobuf:"bytes,3,opt,name=entity,proto3" json:"entity,omitempty"`
	Attestation          *Attestation `protobuf:"bytes,4,opt,name=attestation,proto3" json:"attestation,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*ResolveHashResponse) Descriptor

func (*ResolveHashResponse) Descriptor() ([]byte, []int)

func (*ResolveHashResponse) GetAttestation

func (m *ResolveHashResponse) GetAttestation() *Attestation

func (*ResolveHashResponse) GetEntity

func (m *ResolveHashResponse) GetEntity() *Entity

func (*ResolveHashResponse) GetError

func (m *ResolveHashResponse) GetError() *Error

func (*ResolveHashResponse) GetLocation

func (m *ResolveHashResponse) GetLocation() *Location

func (*ResolveHashResponse) ProtoMessage

func (*ResolveHashResponse) ProtoMessage()

func (*ResolveHashResponse) Reset

func (m *ResolveHashResponse) Reset()

func (*ResolveHashResponse) String

func (m *ResolveHashResponse) String() string

func (*ResolveHashResponse) XXX_DiscardUnknown added in v0.2.0

func (m *ResolveHashResponse) XXX_DiscardUnknown()

func (*ResolveHashResponse) XXX_Marshal added in v0.2.0

func (m *ResolveHashResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResolveHashResponse) XXX_Merge added in v0.2.0

func (dst *ResolveHashResponse) XXX_Merge(src proto.Message)

func (*ResolveHashResponse) XXX_Size added in v0.2.0

func (m *ResolveHashResponse) XXX_Size() int

func (*ResolveHashResponse) XXX_Unmarshal added in v0.2.0

func (m *ResolveHashResponse) XXX_Unmarshal(b []byte) error

type ResolveNameParams added in v0.2.0

type ResolveNameParams struct {
	Perspective *Perspective `protobuf:"bytes,1,opt,name=perspective,proto3" json:"perspective,omitempty"`
	Name        string       `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// If omitted, the perspective entity is used
	TopLevelAttester     []byte   `protobuf:"bytes,3,opt,name=topLevelAttester,proto3" json:"topLevelAttester,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ResolveNameParams) Descriptor added in v0.2.0

func (*ResolveNameParams) Descriptor() ([]byte, []int)

func (*ResolveNameParams) GetName added in v0.2.0

func (m *ResolveNameParams) GetName() string

func (*ResolveNameParams) GetPerspective added in v0.2.0

func (m *ResolveNameParams) GetPerspective() *Perspective

func (*ResolveNameParams) GetTopLevelAttester added in v0.2.0

func (m *ResolveNameParams) GetTopLevelAttester() []byte

func (*ResolveNameParams) ProtoMessage added in v0.2.0

func (*ResolveNameParams) ProtoMessage()

func (*ResolveNameParams) Reset added in v0.2.0

func (m *ResolveNameParams) Reset()

func (*ResolveNameParams) String added in v0.2.0

func (m *ResolveNameParams) String() string

func (*ResolveNameParams) XXX_DiscardUnknown added in v0.2.0

func (m *ResolveNameParams) XXX_DiscardUnknown()

func (*ResolveNameParams) XXX_Marshal added in v0.2.0

func (m *ResolveNameParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResolveNameParams) XXX_Merge added in v0.2.0

func (dst *ResolveNameParams) XXX_Merge(src proto.Message)

func (*ResolveNameParams) XXX_Size added in v0.2.0

func (m *ResolveNameParams) XXX_Size() int

func (*ResolveNameParams) XXX_Unmarshal added in v0.2.0

func (m *ResolveNameParams) XXX_Unmarshal(b []byte) error

type ResolveNameResponse added in v0.2.0

type ResolveNameResponse struct {
	Error                *Error             `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	Entity               *Entity            `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"`
	Derivation           []*NameDeclaration `protobuf:"bytes,3,rep,name=derivation,proto3" json:"derivation,omitempty"`
	Location             *Location          `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*ResolveNameResponse) Descriptor added in v0.2.0

func (*ResolveNameResponse) Descriptor() ([]byte, []int)

func (*ResolveNameResponse) GetDerivation added in v0.2.0

func (m *ResolveNameResponse) GetDerivation() []*NameDeclaration

func (*ResolveNameResponse) GetEntity added in v0.2.0

func (m *ResolveNameResponse) GetEntity() *Entity

func (*ResolveNameResponse) GetError added in v0.2.0

func (m *ResolveNameResponse) GetError() *Error

func (*ResolveNameResponse) GetLocation added in v0.2.0

func (m *ResolveNameResponse) GetLocation() *Location

func (*ResolveNameResponse) ProtoMessage added in v0.2.0

func (*ResolveNameResponse) ProtoMessage()

func (*ResolveNameResponse) Reset added in v0.2.0

func (m *ResolveNameResponse) Reset()

func (*ResolveNameResponse) String added in v0.2.0

func (m *ResolveNameResponse) String() string

func (*ResolveNameResponse) XXX_DiscardUnknown added in v0.2.0

func (m *ResolveNameResponse) XXX_DiscardUnknown()

func (*ResolveNameResponse) XXX_Marshal added in v0.2.0

func (m *ResolveNameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResolveNameResponse) XXX_Merge added in v0.2.0

func (dst *ResolveNameResponse) XXX_Merge(src proto.Message)

func (*ResolveNameResponse) XXX_Size added in v0.2.0

func (m *ResolveNameResponse) XXX_Size() int

func (*ResolveNameResponse) XXX_Unmarshal added in v0.2.0

func (m *ResolveNameResponse) XXX_Unmarshal(b []byte) error

type ResolveReverseNameParams added in v0.2.0

type ResolveReverseNameParams struct {
	Perspective          *Perspective `protobuf:"bytes,1,opt,name=perspective,proto3" json:"perspective,omitempty"`
	Hash                 []byte       `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*ResolveReverseNameParams) Descriptor added in v0.2.0

func (*ResolveReverseNameParams) Descriptor() ([]byte, []int)

func (*ResolveReverseNameParams) GetHash added in v0.2.0

func (m *ResolveReverseNameParams) GetHash() []byte

func (*ResolveReverseNameParams) GetPerspective added in v0.2.0

func (m *ResolveReverseNameParams) GetPerspective() *Perspective

func (*ResolveReverseNameParams) ProtoMessage added in v0.2.0

func (*ResolveReverseNameParams) ProtoMessage()

func (*ResolveReverseNameParams) Reset added in v0.2.0

func (m *ResolveReverseNameParams) Reset()

func (*ResolveReverseNameParams) String added in v0.2.0

func (m *ResolveReverseNameParams) String() string

func (*ResolveReverseNameParams) XXX_DiscardUnknown added in v0.2.0

func (m *ResolveReverseNameParams) XXX_DiscardUnknown()

func (*ResolveReverseNameParams) XXX_Marshal added in v0.2.0

func (m *ResolveReverseNameParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResolveReverseNameParams) XXX_Merge added in v0.2.0

func (dst *ResolveReverseNameParams) XXX_Merge(src proto.Message)

func (*ResolveReverseNameParams) XXX_Size added in v0.2.0

func (m *ResolveReverseNameParams) XXX_Size() int

func (*ResolveReverseNameParams) XXX_Unmarshal added in v0.2.0

func (m *ResolveReverseNameParams) XXX_Unmarshal(b []byte) error

type ResolveReverseNameResponse added in v0.2.0

type ResolveReverseNameResponse struct {
	Error                *Error   `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ResolveReverseNameResponse) Descriptor added in v0.2.0

func (*ResolveReverseNameResponse) Descriptor() ([]byte, []int)

func (*ResolveReverseNameResponse) GetError added in v0.2.0

func (m *ResolveReverseNameResponse) GetError() *Error

func (*ResolveReverseNameResponse) GetName added in v0.2.0

func (m *ResolveReverseNameResponse) GetName() string

func (*ResolveReverseNameResponse) ProtoMessage added in v0.2.0

func (*ResolveReverseNameResponse) ProtoMessage()

func (*ResolveReverseNameResponse) Reset added in v0.2.0

func (m *ResolveReverseNameResponse) Reset()

func (*ResolveReverseNameResponse) String added in v0.2.0

func (m *ResolveReverseNameResponse) String() string

func (*ResolveReverseNameResponse) XXX_DiscardUnknown added in v0.2.0

func (m *ResolveReverseNameResponse) XXX_DiscardUnknown()

func (*ResolveReverseNameResponse) XXX_Marshal added in v0.2.0

func (m *ResolveReverseNameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResolveReverseNameResponse) XXX_Merge added in v0.2.0

func (dst *ResolveReverseNameResponse) XXX_Merge(src proto.Message)

func (*ResolveReverseNameResponse) XXX_Size added in v0.2.0

func (m *ResolveReverseNameResponse) XXX_Size() int

func (*ResolveReverseNameResponse) XXX_Unmarshal added in v0.2.0

func (m *ResolveReverseNameResponse) XXX_Unmarshal(b []byte) error

type ResyncPerspectiveGraphParams

type ResyncPerspectiveGraphParams struct {
	Perspective          *Perspective `protobuf:"bytes,1,opt,name=perspective,proto3" json:"perspective,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*ResyncPerspectiveGraphParams) Descriptor

func (*ResyncPerspectiveGraphParams) Descriptor() ([]byte, []int)

func (*ResyncPerspectiveGraphParams) GetPerspective

func (m *ResyncPerspectiveGraphParams) GetPerspective() *Perspective

func (*ResyncPerspectiveGraphParams) ProtoMessage

func (*ResyncPerspectiveGraphParams) ProtoMessage()

func (*ResyncPerspectiveGraphParams) Reset

func (m *ResyncPerspectiveGraphParams) Reset()

func (*ResyncPerspectiveGraphParams) String

func (*ResyncPerspectiveGraphParams) XXX_DiscardUnknown added in v0.2.0

func (m *ResyncPerspectiveGraphParams) XXX_DiscardUnknown()

func (*ResyncPerspectiveGraphParams) XXX_Marshal added in v0.2.0

func (m *ResyncPerspectiveGraphParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResyncPerspectiveGraphParams) XXX_Merge added in v0.2.0

func (dst *ResyncPerspectiveGraphParams) XXX_Merge(src proto.Message)

func (*ResyncPerspectiveGraphParams) XXX_Size added in v0.2.0

func (m *ResyncPerspectiveGraphParams) XXX_Size() int

func (*ResyncPerspectiveGraphParams) XXX_Unmarshal added in v0.2.0

func (m *ResyncPerspectiveGraphParams) XXX_Unmarshal(b []byte) error

type ResyncPerspectiveGraphResponse

type ResyncPerspectiveGraphResponse struct {
	Error                *Error   `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ResyncPerspectiveGraphResponse) Descriptor

func (*ResyncPerspectiveGraphResponse) Descriptor() ([]byte, []int)

func (*ResyncPerspectiveGraphResponse) GetError

func (m *ResyncPerspectiveGraphResponse) GetError() *Error

func (*ResyncPerspectiveGraphResponse) ProtoMessage

func (*ResyncPerspectiveGraphResponse) ProtoMessage()

func (*ResyncPerspectiveGraphResponse) Reset

func (m *ResyncPerspectiveGraphResponse) Reset()

func (*ResyncPerspectiveGraphResponse) String

func (*ResyncPerspectiveGraphResponse) XXX_DiscardUnknown added in v0.2.0

func (m *ResyncPerspectiveGraphResponse) XXX_DiscardUnknown()

func (*ResyncPerspectiveGraphResponse) XXX_Marshal added in v0.2.0

func (m *ResyncPerspectiveGraphResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResyncPerspectiveGraphResponse) XXX_Merge added in v0.2.0

func (dst *ResyncPerspectiveGraphResponse) XXX_Merge(src proto.Message)

func (*ResyncPerspectiveGraphResponse) XXX_Size added in v0.2.0

func (m *ResyncPerspectiveGraphResponse) XXX_Size() int

func (*ResyncPerspectiveGraphResponse) XXX_Unmarshal added in v0.2.0

func (m *ResyncPerspectiveGraphResponse) XXX_Unmarshal(b []byte) error

type RevokeParams added in v0.2.1

type RevokeParams struct {
	Perspective          *Perspective `protobuf:"bytes,1,opt,name=perspective,proto3" json:"perspective,omitempty"`
	AttestationHash      []byte       `protobuf:"bytes,2,opt,name=attestationHash,proto3" json:"attestationHash,omitempty"`
	NameDeclarationHash  []byte       `protobuf:"bytes,3,opt,name=nameDeclarationHash,proto3" json:"nameDeclarationHash,omitempty"`
	RevokePerspective    bool         `protobuf:"varint,4,opt,name=revokePerspective,proto3" json:"revokePerspective,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*RevokeParams) Descriptor added in v0.2.1

func (*RevokeParams) Descriptor() ([]byte, []int)

func (*RevokeParams) GetAttestationHash added in v0.2.1

func (m *RevokeParams) GetAttestationHash() []byte

func (*RevokeParams) GetNameDeclarationHash added in v0.2.1

func (m *RevokeParams) GetNameDeclarationHash() []byte

func (*RevokeParams) GetPerspective added in v0.2.1

func (m *RevokeParams) GetPerspective() *Perspective

func (*RevokeParams) GetRevokePerspective added in v0.2.1

func (m *RevokeParams) GetRevokePerspective() bool

func (*RevokeParams) ProtoMessage added in v0.2.1

func (*RevokeParams) ProtoMessage()

func (*RevokeParams) Reset added in v0.2.1

func (m *RevokeParams) Reset()

func (*RevokeParams) String added in v0.2.1

func (m *RevokeParams) String() string

func (*RevokeParams) XXX_DiscardUnknown added in v0.2.1

func (m *RevokeParams) XXX_DiscardUnknown()

func (*RevokeParams) XXX_Marshal added in v0.2.1

func (m *RevokeParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RevokeParams) XXX_Merge added in v0.2.1

func (dst *RevokeParams) XXX_Merge(src proto.Message)

func (*RevokeParams) XXX_Size added in v0.2.1

func (m *RevokeParams) XXX_Size() int

func (*RevokeParams) XXX_Unmarshal added in v0.2.1

func (m *RevokeParams) XXX_Unmarshal(b []byte) error

type RevokeResponse added in v0.2.1

type RevokeResponse struct {
	Error                *Error   `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RevokeResponse) Descriptor added in v0.2.1

func (*RevokeResponse) Descriptor() ([]byte, []int)

func (*RevokeResponse) GetError added in v0.2.1

func (m *RevokeResponse) GetError() *Error

func (*RevokeResponse) ProtoMessage added in v0.2.1

func (*RevokeResponse) ProtoMessage()

func (*RevokeResponse) Reset added in v0.2.1

func (m *RevokeResponse) Reset()

func (*RevokeResponse) String added in v0.2.1

func (m *RevokeResponse) String() string

func (*RevokeResponse) XXX_DiscardUnknown added in v0.2.1

func (m *RevokeResponse) XXX_DiscardUnknown()

func (*RevokeResponse) XXX_Marshal added in v0.2.1

func (m *RevokeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RevokeResponse) XXX_Merge added in v0.2.1

func (dst *RevokeResponse) XXX_Merge(src proto.Message)

func (*RevokeResponse) XXX_Size added in v0.2.1

func (m *RevokeResponse) XXX_Size() int

func (*RevokeResponse) XXX_Unmarshal added in v0.2.1

func (m *RevokeResponse) XXX_Unmarshal(b []byte) error

type SignParams added in v0.2.1

type SignParams struct {
	Perspective          *Perspective `protobuf:"bytes,1,opt,name=perspective,proto3" json:"perspective,omitempty"`
	Content              []byte       `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*SignParams) Descriptor added in v0.2.1

func (*SignParams) Descriptor() ([]byte, []int)

func (*SignParams) GetContent added in v0.2.1

func (m *SignParams) GetContent() []byte

func (*SignParams) GetPerspective added in v0.2.1

func (m *SignParams) GetPerspective() *Perspective

func (*SignParams) ProtoMessage added in v0.2.1

func (*SignParams) ProtoMessage()

func (*SignParams) Reset added in v0.2.1

func (m *SignParams) Reset()

func (*SignParams) String added in v0.2.1

func (m *SignParams) String() string

func (*SignParams) XXX_DiscardUnknown added in v0.2.1

func (m *SignParams) XXX_DiscardUnknown()

func (*SignParams) XXX_Marshal added in v0.2.1

func (m *SignParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SignParams) XXX_Merge added in v0.2.1

func (dst *SignParams) XXX_Merge(src proto.Message)

func (*SignParams) XXX_Size added in v0.2.1

func (m *SignParams) XXX_Size() int

func (*SignParams) XXX_Unmarshal added in v0.2.1

func (m *SignParams) XXX_Unmarshal(b []byte) error

type SignResponse added in v0.2.1

type SignResponse struct {
	Error                *Error   `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	Signature            []byte   `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SignResponse) Descriptor added in v0.2.1

func (*SignResponse) Descriptor() ([]byte, []int)

func (*SignResponse) GetError added in v0.2.1

func (m *SignResponse) GetError() *Error

func (*SignResponse) GetSignature added in v0.2.1

func (m *SignResponse) GetSignature() []byte

func (*SignResponse) ProtoMessage added in v0.2.1

func (*SignResponse) ProtoMessage()

func (*SignResponse) Reset added in v0.2.1

func (m *SignResponse) Reset()

func (*SignResponse) String added in v0.2.1

func (m *SignResponse) String() string

func (*SignResponse) XXX_DiscardUnknown added in v0.2.1

func (m *SignResponse) XXX_DiscardUnknown()

func (*SignResponse) XXX_Marshal added in v0.2.1

func (m *SignResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SignResponse) XXX_Merge added in v0.2.1

func (dst *SignResponse) XXX_Merge(src proto.Message)

func (*SignResponse) XXX_Size added in v0.2.1

func (m *SignResponse) XXX_Size() int

func (*SignResponse) XXX_Unmarshal added in v0.2.1

func (m *SignResponse) XXX_Unmarshal(b []byte) error

type StorageDriverStatus

type StorageDriverStatus struct {
	Operational          bool              `protobuf:"varint,1,opt,name=operational,proto3" json:"operational,omitempty"`
	Info                 map[string]string `` /* 149-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*StorageDriverStatus) Descriptor

func (*StorageDriverStatus) Descriptor() ([]byte, []int)

func (*StorageDriverStatus) GetInfo

func (m *StorageDriverStatus) GetInfo() map[string]string

func (*StorageDriverStatus) GetOperational

func (m *StorageDriverStatus) GetOperational() bool

func (*StorageDriverStatus) ProtoMessage

func (*StorageDriverStatus) ProtoMessage()

func (*StorageDriverStatus) Reset

func (m *StorageDriverStatus) Reset()

func (*StorageDriverStatus) String

func (m *StorageDriverStatus) String() string

func (*StorageDriverStatus) XXX_DiscardUnknown added in v0.2.0

func (m *StorageDriverStatus) XXX_DiscardUnknown()

func (*StorageDriverStatus) XXX_Marshal added in v0.2.0

func (m *StorageDriverStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StorageDriverStatus) XXX_Merge added in v0.2.0

func (dst *StorageDriverStatus) XXX_Merge(src proto.Message)

func (*StorageDriverStatus) XXX_Size added in v0.2.0

func (m *StorageDriverStatus) XXX_Size() int

func (*StorageDriverStatus) XXX_Unmarshal added in v0.2.0

func (m *StorageDriverStatus) XXX_Unmarshal(b []byte) error

type SyncParams

type SyncParams struct {
	Perspective          *Perspective `protobuf:"bytes,1,opt,name=perspective,proto3" json:"perspective,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*SyncParams) Descriptor

func (*SyncParams) Descriptor() ([]byte, []int)

func (*SyncParams) GetPerspective

func (m *SyncParams) GetPerspective() *Perspective

func (*SyncParams) ProtoMessage

func (*SyncParams) ProtoMessage()

func (*SyncParams) Reset

func (m *SyncParams) Reset()

func (*SyncParams) String

func (m *SyncParams) String() string

func (*SyncParams) XXX_DiscardUnknown added in v0.2.0

func (m *SyncParams) XXX_DiscardUnknown()

func (*SyncParams) XXX_Marshal added in v0.2.0

func (m *SyncParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SyncParams) XXX_Merge added in v0.2.0

func (dst *SyncParams) XXX_Merge(src proto.Message)

func (*SyncParams) XXX_Size added in v0.2.0

func (m *SyncParams) XXX_Size() int

func (*SyncParams) XXX_Unmarshal added in v0.2.0

func (m *SyncParams) XXX_Unmarshal(b []byte) error

type SyncResponse

type SyncResponse struct {
	Error                *Error                          `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	StorageStatus        map[string]*StorageDriverStatus `` /* 167-byte string literal not displayed */
	TotalSyncRequests    int64                           `protobuf:"varint,3,opt,name=totalSyncRequests,proto3" json:"totalSyncRequests,omitempty"`
	CompletedSyncs       int64                           `protobuf:"varint,4,opt,name=completedSyncs,proto3" json:"completedSyncs,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                        `json:"-"`
	XXX_unrecognized     []byte                          `json:"-"`
	XXX_sizecache        int32                           `json:"-"`
}

func (*SyncResponse) Descriptor

func (*SyncResponse) Descriptor() ([]byte, []int)

func (*SyncResponse) GetCompletedSyncs

func (m *SyncResponse) GetCompletedSyncs() int64

func (*SyncResponse) GetError

func (m *SyncResponse) GetError() *Error

func (*SyncResponse) GetStorageStatus

func (m *SyncResponse) GetStorageStatus() map[string]*StorageDriverStatus

func (*SyncResponse) GetTotalSyncRequests

func (m *SyncResponse) GetTotalSyncRequests() int64

func (*SyncResponse) ProtoMessage

func (*SyncResponse) ProtoMessage()

func (*SyncResponse) Reset

func (m *SyncResponse) Reset()

func (*SyncResponse) String

func (m *SyncResponse) String() string

func (*SyncResponse) XXX_DiscardUnknown added in v0.2.0

func (m *SyncResponse) XXX_DiscardUnknown()

func (*SyncResponse) XXX_Marshal added in v0.2.0

func (m *SyncResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SyncResponse) XXX_Merge added in v0.2.0

func (dst *SyncResponse) XXX_Merge(src proto.Message)

func (*SyncResponse) XXX_Size added in v0.2.0

func (m *SyncResponse) XXX_Size() int

func (*SyncResponse) XXX_Unmarshal added in v0.2.0

func (m *SyncResponse) XXX_Unmarshal(b []byte) error

type TrustLevelPolicy

type TrustLevelPolicy struct {
	Trust                int32    `protobuf:"varint,1,opt,name=trust,proto3" json:"trust,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TrustLevelPolicy) Descriptor

func (*TrustLevelPolicy) Descriptor() ([]byte, []int)

func (*TrustLevelPolicy) GetTrust

func (m *TrustLevelPolicy) GetTrust() int32

func (*TrustLevelPolicy) ProtoMessage

func (*TrustLevelPolicy) ProtoMessage()

func (*TrustLevelPolicy) Reset

func (m *TrustLevelPolicy) Reset()

func (*TrustLevelPolicy) String

func (m *TrustLevelPolicy) String() string

func (*TrustLevelPolicy) XXX_DiscardUnknown added in v0.2.0

func (m *TrustLevelPolicy) XXX_DiscardUnknown()

func (*TrustLevelPolicy) XXX_Marshal added in v0.2.0

func (m *TrustLevelPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TrustLevelPolicy) XXX_Merge added in v0.2.0

func (dst *TrustLevelPolicy) XXX_Merge(src proto.Message)

func (*TrustLevelPolicy) XXX_Size added in v0.2.0

func (m *TrustLevelPolicy) XXX_Size() int

func (*TrustLevelPolicy) XXX_Unmarshal added in v0.2.0

func (m *TrustLevelPolicy) XXX_Unmarshal(b []byte) error

type VerifyProofParams

type VerifyProofParams struct {
	ProofDER             []byte       `protobuf:"bytes,1,opt,name=proofDER,proto3" json:"proofDER,omitempty"`
	RequiredRTreePolicy  *RTreePolicy `protobuf:"bytes,2,opt,name=requiredRTreePolicy,proto3" json:"requiredRTreePolicy,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*VerifyProofParams) Descriptor

func (*VerifyProofParams) Descriptor() ([]byte, []int)

func (*VerifyProofParams) GetProofDER

func (m *VerifyProofParams) GetProofDER() []byte

func (*VerifyProofParams) GetRequiredRTreePolicy added in v0.2.1

func (m *VerifyProofParams) GetRequiredRTreePolicy() *RTreePolicy

func (*VerifyProofParams) ProtoMessage

func (*VerifyProofParams) ProtoMessage()

func (*VerifyProofParams) Reset

func (m *VerifyProofParams) Reset()

func (*VerifyProofParams) String

func (m *VerifyProofParams) String() string

func (*VerifyProofParams) XXX_DiscardUnknown added in v0.2.0

func (m *VerifyProofParams) XXX_DiscardUnknown()

func (*VerifyProofParams) XXX_Marshal added in v0.2.0

func (m *VerifyProofParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VerifyProofParams) XXX_Merge added in v0.2.0

func (dst *VerifyProofParams) XXX_Merge(src proto.Message)

func (*VerifyProofParams) XXX_Size added in v0.2.0

func (m *VerifyProofParams) XXX_Size() int

func (*VerifyProofParams) XXX_Unmarshal added in v0.2.0

func (m *VerifyProofParams) XXX_Unmarshal(b []byte) error

type VerifyProofResponse

type VerifyProofResponse struct {
	Error                *Error   `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	Result               *Proof   `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*VerifyProofResponse) Descriptor

func (*VerifyProofResponse) Descriptor() ([]byte, []int)

func (*VerifyProofResponse) GetError

func (m *VerifyProofResponse) GetError() *Error

func (*VerifyProofResponse) GetResult

func (m *VerifyProofResponse) GetResult() *Proof

func (*VerifyProofResponse) ProtoMessage

func (*VerifyProofResponse) ProtoMessage()

func (*VerifyProofResponse) Reset

func (m *VerifyProofResponse) Reset()

func (*VerifyProofResponse) String

func (m *VerifyProofResponse) String() string

func (*VerifyProofResponse) XXX_DiscardUnknown added in v0.2.0

func (m *VerifyProofResponse) XXX_DiscardUnknown()

func (*VerifyProofResponse) XXX_Marshal added in v0.2.0

func (m *VerifyProofResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VerifyProofResponse) XXX_Merge added in v0.2.0

func (dst *VerifyProofResponse) XXX_Merge(src proto.Message)

func (*VerifyProofResponse) XXX_Size added in v0.2.0

func (m *VerifyProofResponse) XXX_Size() int

func (*VerifyProofResponse) XXX_Unmarshal added in v0.2.0

func (m *VerifyProofResponse) XXX_Unmarshal(b []byte) error

type VerifySignatureParams added in v0.2.1

type VerifySignatureParams struct {
	Signer               []byte    `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
	SignerLocation       *Location `protobuf:"bytes,2,opt,name=signerLocation,proto3" json:"signerLocation,omitempty"`
	Signature            []byte    `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
	Content              []byte    `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*VerifySignatureParams) Descriptor added in v0.2.1

func (*VerifySignatureParams) Descriptor() ([]byte, []int)

func (*VerifySignatureParams) GetContent added in v0.2.1

func (m *VerifySignatureParams) GetContent() []byte

func (*VerifySignatureParams) GetSignature added in v0.2.1

func (m *VerifySignatureParams) GetSignature() []byte

func (*VerifySignatureParams) GetSigner added in v0.2.1

func (m *VerifySignatureParams) GetSigner() []byte

func (*VerifySignatureParams) GetSignerLocation added in v0.2.1

func (m *VerifySignatureParams) GetSignerLocation() *Location

func (*VerifySignatureParams) ProtoMessage added in v0.2.1

func (*VerifySignatureParams) ProtoMessage()

func (*VerifySignatureParams) Reset added in v0.2.1

func (m *VerifySignatureParams) Reset()

func (*VerifySignatureParams) String added in v0.2.1

func (m *VerifySignatureParams) String() string

func (*VerifySignatureParams) XXX_DiscardUnknown added in v0.2.1

func (m *VerifySignatureParams) XXX_DiscardUnknown()

func (*VerifySignatureParams) XXX_Marshal added in v0.2.1

func (m *VerifySignatureParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VerifySignatureParams) XXX_Merge added in v0.2.1

func (dst *VerifySignatureParams) XXX_Merge(src proto.Message)

func (*VerifySignatureParams) XXX_Size added in v0.2.1

func (m *VerifySignatureParams) XXX_Size() int

func (*VerifySignatureParams) XXX_Unmarshal added in v0.2.1

func (m *VerifySignatureParams) XXX_Unmarshal(b []byte) error

type VerifySignatureResponse added in v0.2.1

type VerifySignatureResponse struct {
	Error                *Error   `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*VerifySignatureResponse) Descriptor added in v0.2.1

func (*VerifySignatureResponse) Descriptor() ([]byte, []int)

func (*VerifySignatureResponse) GetError added in v0.2.1

func (m *VerifySignatureResponse) GetError() *Error

func (*VerifySignatureResponse) ProtoMessage added in v0.2.1

func (*VerifySignatureResponse) ProtoMessage()

func (*VerifySignatureResponse) Reset added in v0.2.1

func (m *VerifySignatureResponse) Reset()

func (*VerifySignatureResponse) String added in v0.2.1

func (m *VerifySignatureResponse) String() string

func (*VerifySignatureResponse) XXX_DiscardUnknown added in v0.2.1

func (m *VerifySignatureResponse) XXX_DiscardUnknown()

func (*VerifySignatureResponse) XXX_Marshal added in v0.2.1

func (m *VerifySignatureResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VerifySignatureResponse) XXX_Merge added in v0.2.1

func (dst *VerifySignatureResponse) XXX_Merge(src proto.Message)

func (*VerifySignatureResponse) XXX_Size added in v0.2.1

func (m *VerifySignatureResponse) XXX_Size() int

func (*VerifySignatureResponse) XXX_Unmarshal added in v0.2.1

func (m *VerifySignatureResponse) XXX_Unmarshal(b []byte) error

type WAVEClient

type WAVEClient interface {
	// Create a new WAVE entity, but do not publish it
	CreateEntity(ctx context.Context, in *CreateEntityParams, opts ...grpc.CallOption) (*CreateEntityResponse, error)
	// Create a WAVE attestation, both the source and destination entities must
	// be published
	CreateAttestation(ctx context.Context, in *CreateAttestationParams, opts ...grpc.CallOption) (*CreateAttestationResponse, error)
	// Publish the given entity
	PublishEntity(ctx context.Context, in *PublishEntityParams, opts ...grpc.CallOption) (*PublishEntityResponse, error)
	// Publish an attestation
	PublishAttestation(ctx context.Context, in *PublishAttestationParams, opts ...grpc.CallOption) (*PublishAttestationResponse, error)
	// Add an attestation to the given perspective graph
	AddAttestation(ctx context.Context, in *AddAttestationParams, opts ...grpc.CallOption) (*AddAttestationResponse, error)
	LookupAttestations(ctx context.Context, in *LookupAttestationsParams, opts ...grpc.CallOption) (*LookupAttestationsResponse, error)
	ResyncPerspectiveGraph(ctx context.Context, in *ResyncPerspectiveGraphParams, opts ...grpc.CallOption) (*ResyncPerspectiveGraphResponse, error)
	SyncStatus(ctx context.Context, in *SyncParams, opts ...grpc.CallOption) (*SyncResponse, error)
	WaitForSyncComplete(ctx context.Context, in *SyncParams, opts ...grpc.CallOption) (WAVE_WaitForSyncCompleteClient, error)
	BuildRTreeProof(ctx context.Context, in *BuildRTreeProofParams, opts ...grpc.CallOption) (*BuildRTreeProofResponse, error)
	VerifyProof(ctx context.Context, in *VerifyProofParams, opts ...grpc.CallOption) (*VerifyProofResponse, error)
	ListLocations(ctx context.Context, in *ListLocationsParams, opts ...grpc.CallOption) (*ListLocationsResponse, error)
	Inspect(ctx context.Context, in *InspectParams, opts ...grpc.CallOption) (*InspectResponse, error)
	ResolveHash(ctx context.Context, in *ResolveHashParams, opts ...grpc.CallOption) (*ResolveHashResponse, error)
	EncryptMessage(ctx context.Context, in *EncryptMessageParams, opts ...grpc.CallOption) (*EncryptMessageResponse, error)
	DecryptMessage(ctx context.Context, in *DecryptMessageParams, opts ...grpc.CallOption) (*DecryptMessageResponse, error)
	CreateNameDeclaration(ctx context.Context, in *CreateNameDeclarationParams, opts ...grpc.CallOption) (*CreateNameDeclarationResponse, error)
	ResolveName(ctx context.Context, in *ResolveNameParams, opts ...grpc.CallOption) (*ResolveNameResponse, error)
	MarkEntityInteresting(ctx context.Context, in *MarkEntityInterestingParams, opts ...grpc.CallOption) (*MarkEntityInterestingResponse, error)
	ResolveReverseName(ctx context.Context, in *ResolveReverseNameParams, opts ...grpc.CallOption) (*ResolveReverseNameResponse, error)
	Revoke(ctx context.Context, in *RevokeParams, opts ...grpc.CallOption) (*RevokeResponse, error)
	CompactProof(ctx context.Context, in *CompactProofParams, opts ...grpc.CallOption) (*CompactProofResponse, error)
	Sign(ctx context.Context, in *SignParams, opts ...grpc.CallOption) (*SignResponse, error)
	VerifySignature(ctx context.Context, in *VerifySignatureParams, opts ...grpc.CallOption) (*VerifySignatureResponse, error)
}

WAVEClient is the client API for WAVE service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewWAVEClient

func NewWAVEClient(cc *grpc.ClientConn) WAVEClient

type WAVEServer

type WAVEServer interface {
	// Create a new WAVE entity, but do not publish it
	CreateEntity(context.Context, *CreateEntityParams) (*CreateEntityResponse, error)
	// Create a WAVE attestation, both the source and destination entities must
	// be published
	CreateAttestation(context.Context, *CreateAttestationParams) (*CreateAttestationResponse, error)
	// Publish the given entity
	PublishEntity(context.Context, *PublishEntityParams) (*PublishEntityResponse, error)
	// Publish an attestation
	PublishAttestation(context.Context, *PublishAttestationParams) (*PublishAttestationResponse, error)
	// Add an attestation to the given perspective graph
	AddAttestation(context.Context, *AddAttestationParams) (*AddAttestationResponse, error)
	LookupAttestations(context.Context, *LookupAttestationsParams) (*LookupAttestationsResponse, error)
	ResyncPerspectiveGraph(context.Context, *ResyncPerspectiveGraphParams) (*ResyncPerspectiveGraphResponse, error)
	SyncStatus(context.Context, *SyncParams) (*SyncResponse, error)
	WaitForSyncComplete(*SyncParams, WAVE_WaitForSyncCompleteServer) error
	BuildRTreeProof(context.Context, *BuildRTreeProofParams) (*BuildRTreeProofResponse, error)
	VerifyProof(context.Context, *VerifyProofParams) (*VerifyProofResponse, error)
	ListLocations(context.Context, *ListLocationsParams) (*ListLocationsResponse, error)
	Inspect(context.Context, *InspectParams) (*InspectResponse, error)
	ResolveHash(context.Context, *ResolveHashParams) (*ResolveHashResponse, error)
	EncryptMessage(context.Context, *EncryptMessageParams) (*EncryptMessageResponse, error)
	DecryptMessage(context.Context, *DecryptMessageParams) (*DecryptMessageResponse, error)
	CreateNameDeclaration(context.Context, *CreateNameDeclarationParams) (*CreateNameDeclarationResponse, error)
	ResolveName(context.Context, *ResolveNameParams) (*ResolveNameResponse, error)
	MarkEntityInteresting(context.Context, *MarkEntityInterestingParams) (*MarkEntityInterestingResponse, error)
	ResolveReverseName(context.Context, *ResolveReverseNameParams) (*ResolveReverseNameResponse, error)
	Revoke(context.Context, *RevokeParams) (*RevokeResponse, error)
	CompactProof(context.Context, *CompactProofParams) (*CompactProofResponse, error)
	Sign(context.Context, *SignParams) (*SignResponse, error)
	VerifySignature(context.Context, *VerifySignatureParams) (*VerifySignatureResponse, error)
}

WAVEServer is the server API for WAVE service.

type WAVE_WaitForSyncCompleteClient

type WAVE_WaitForSyncCompleteClient interface {
	Recv() (*SyncResponse, error)
	grpc.ClientStream
}

type WAVE_WaitForSyncCompleteServer

type WAVE_WaitForSyncCompleteServer interface {
	Send(*SyncResponse) error
	grpc.ServerStream
}

Jump to

Keyboard shortcuts

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