attestationapi

package
v60.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientAPI

type ClientAPI interface {
	AttestOpenEnclave(ctx context.Context, instanceURL string, request attestation.AttestOpenEnclaveRequest) (result attestation.Response, err error)
	AttestSgxEnclave(ctx context.Context, instanceURL string, request attestation.AttestSgxEnclaveRequest) (result attestation.Response, err error)
	AttestTpm(ctx context.Context, instanceURL string, request attestation.TpmAttestationRequest) (result attestation.TpmAttestationResponse, err error)
}

ClientAPI contains the set of methods on the Client type.

type MetadataConfigurationClientAPI

type MetadataConfigurationClientAPI interface {
	Get(ctx context.Context, instanceURL string) (result attestation.SetObject, err error)
}

MetadataConfigurationClientAPI contains the set of methods on the MetadataConfigurationClient type.

type PolicyCertificatesClientAPI

type PolicyCertificatesClientAPI interface {
	Add(ctx context.Context, instanceURL string, policyCertificateToAdd string) (result attestation.PolicyCertificatesModifyResponse, err error)
	Get(ctx context.Context, instanceURL string) (result attestation.PolicyCertificatesResponse, err error)
	Remove(ctx context.Context, instanceURL string, policyCertificateToRemove string) (result attestation.PolicyCertificatesModifyResponse, err error)
}

PolicyCertificatesClientAPI contains the set of methods on the PolicyCertificatesClient type.

type PolicyClientAPI

type PolicyClientAPI interface {
	Get(ctx context.Context, instanceURL string, attestationType attestation.Type) (result attestation.PolicyResponse, err error)
	Reset(ctx context.Context, instanceURL string, attestationType attestation.Type, policyJws string) (result attestation.PolicyResponse, err error)
	Set(ctx context.Context, instanceURL string, attestationType attestation.Type, newAttestationPolicy string) (result attestation.PolicyResponse, err error)
}

PolicyClientAPI contains the set of methods on the PolicyClient type.

type SigningCertificatesClientAPI

type SigningCertificatesClientAPI interface {
	Get(ctx context.Context, instanceURL string) (result attestation.JSONWebKeySet, err error)
}

SigningCertificatesClientAPI contains the set of methods on the SigningCertificatesClient type.

Jump to

Keyboard shortcuts

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