domain_policy

package
v0.0.0-...-b5aa0b6 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package domain_policy is a generated protocol buffer package.

It is generated from these files:

domain_policy.proto

It has these top-level messages:

DomainCertRequest
DomainCertResponse

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DomainCertRequest

type DomainCertRequest struct {
	Attestation      []byte   `protobuf:"bytes,1,opt,name=attestation" json:"attestation,omitempty"`
	KeyType          *string  `protobuf:"bytes,2,opt,name=key_type,json=keyType" json:"key_type,omitempty"`
	SubjectPublicKey []byte   `protobuf:"bytes,3,opt,name=subject_public_key,json=subjectPublicKey" json:"subject_public_key,omitempty"`
	CertChain        [][]byte `protobuf:"bytes,4,rep,name=cert_chain,json=certChain" json:"cert_chain,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

This is used to request a signed cert from the domain service. attestation is the marshaled attestation. program_key is the der encoded program public key. cert chain is any supporting certificates.

func (*DomainCertRequest) Descriptor

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

func (*DomainCertRequest) GetAttestation

func (m *DomainCertRequest) GetAttestation() []byte

func (*DomainCertRequest) GetCertChain

func (m *DomainCertRequest) GetCertChain() [][]byte

func (*DomainCertRequest) GetKeyType

func (m *DomainCertRequest) GetKeyType() string

func (*DomainCertRequest) GetSubjectPublicKey

func (m *DomainCertRequest) GetSubjectPublicKey() []byte

func (*DomainCertRequest) ProtoMessage

func (*DomainCertRequest) ProtoMessage()

func (*DomainCertRequest) Reset

func (m *DomainCertRequest) Reset()

func (*DomainCertRequest) String

func (m *DomainCertRequest) String() string

type DomainCertResponse

type DomainCertResponse struct {
	Error            *int32   `protobuf:"varint,1,req,name=error" json:"error,omitempty"`
	SignedCert       []byte   `protobuf:"bytes,2,opt,name=signed_cert,json=signedCert" json:"signed_cert,omitempty"`
	CertChain        [][]byte `protobuf:"bytes,3,rep,name=cert_chain,json=certChain" json:"cert_chain,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

This is the response from the domain service. signed_cert is the signed program cert. cert_chain is the supporting certificate chain.

func (*DomainCertResponse) Descriptor

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

func (*DomainCertResponse) GetCertChain

func (m *DomainCertResponse) GetCertChain() [][]byte

func (*DomainCertResponse) GetError

func (m *DomainCertResponse) GetError() int32

func (*DomainCertResponse) GetSignedCert

func (m *DomainCertResponse) GetSignedCert() []byte

func (*DomainCertResponse) ProtoMessage

func (*DomainCertResponse) ProtoMessage()

func (*DomainCertResponse) Reset

func (m *DomainCertResponse) Reset()

func (*DomainCertResponse) String

func (m *DomainCertResponse) String() string

Jump to

Keyboard shortcuts

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