attester

package
v0.0.0-...-528d23b Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAttestationReport

func GetAttestationReport(publicKey any, userData []byte, nonce []byte) (io.ReadCloser, error)

GetAttestationReport requests an attestation document from an HTTP endpoint local to the enclave Accepts an user data byte array to be included in the attestation document The user data buffer cannot be larger than attestdoc.MAX_USER_DATA_SIZE_BYTES bytes (1024 bytes) publicKey can be any of the structure types accepted by x509.MarshalPKIXPublicKey(), including: *rsa.PublicKey, *ecdsa.PublicKey, ed25519.PublicKey (not a pointer), and *ecdh.PublicKey

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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