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 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"` }
Click to show internal directories.
Click to hide internal directories.