contactsDiscovery

package
v1.20.0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const REMOTE_ATTESTATION_REQUEST = "/v1/attestation/%s"

Variables

This section is empty.

Functions

This section is empty.

Types

type MultiRemoteAttestationResponse

type MultiRemoteAttestationResponse struct {
	Attestations map[string]*RemoteAttestationResponse `json:"attestations"`
}

type MultiRemoteAttestationResponse2

type MultiRemoteAttestationResponse2 struct {
}

type RemoteAttestation

type RemoteAttestation struct {
	RequestId []byte
	Keys      RemoteAttestationKeys
	Cookies   string
}

func (*RemoteAttestation) GetAndVerifyMultiRemoteAttestation

func (r *RemoteAttestation) GetAndVerifyMultiRemoteAttestation(
	enclaveName string,
	authorization string) (map[string]*RemoteAttestation, error)

type RemoteAttestationKeys

type RemoteAttestationKeys struct {
	ClientKey []byte
	ServerKey []byte
}

type RemoteAttestationRequest

type RemoteAttestationRequest struct {
	ClientPublic []byte `json:"clientPublic"`
}

type RemoteAttestationResponse

type RemoteAttestationResponse struct {
	ServerEphemeralPublic []byte `json:"serverEphemeralPublic"`
	ServerStaticPublic    []byte `json:"serverStaticPublic"`
	Quote                 []byte `json:"quote"`
	Iv                    []byte `json:"iv"`
	Ciphertext            []byte `json:"ciphertext"`
	Tag                   []byte `json:"tag"`
	Signature             string `json:"signature"`
}

type RemoteAttestationResponse2

type RemoteAttestationResponse2 struct {
	ServerEphemeralPublic []byte `json:"serverEphemeralPublic"`
}

Jump to

Keyboard shortcuts

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