Versions in this module Expand all Collapse all v0 v0.90.0 May 4, 2026 Changes in this version type Client + UseDevPath bool v0.88.0 Apr 23, 2026 Changes in this version + type AttestationQueryRequest struct + EnclaveType string + OrganizationID string + PublicKey string + type AttestationQueryResponse struct + AttestationDocument string + type AttestationType string + const AppAttestationKey + const BootAttestationKey + type Client struct + APIKey *TurnkeyAPIKey + APIKeyProvider KeyProvider + HTTPClient HTTPClient + HostURI string + VisualSignAPIVersion string + func NewClient(hostURI string, httpClient HTTPClient, organizationID string, ...) (*Client, error) + func (c *Client) CreateSignablePayload(ctx context.Context, req *CreateSignablePayloadRequest) (*SignablePayloadResponse, error) + func (c *Client) GetBootAttestation(ctx context.Context, publicKey, enclaveType string) (string, error) + type CreateSignablePayloadRequest struct + Chain string + UnsignedPayload string + type ECDSASignature struct + R *big.Int + S *big.Int + type HTTPClient interface + Do func(req *http.Request) (*http.Response, error) + type KeyProvider interface + GetAPIKey func(ctx context.Context) (*TurnkeyAPIKey, error) + type SignablePayloadResponse struct + Attestations map[AttestationType]string + DeploymentLabel string + EnclaveApp string + EphemeralPublicKeyHex string + InputPayloadDigest string + ManifestVersion manifest.ManifestVersion + MetadataDigest string + ParsedPayload string + QosManifestB64 string + QosManifestEnvelopeB64 string + SignablePayload string + TurnkeySerializedSignablePayload string + type TurnkeyAPIKey struct + OrganizationID string + PrivateKey *ecdsa.PrivateKey + PublicKey string + type TurnkeyBootProof struct + AwsAttestationDocB64 string + DeploymentLabel string + EnclaveApp string + EphemeralPublicKeyHex string + QosManifestB64 string + QosManifestEnvelopeB64 string + type TurnkeySignature struct + Message string + PublicKey string + Scheme string + Signature string + type TurnkeyStamp struct + PublicKey string + Scheme string + Signature string + type TurnkeyVisualSignRequest struct + OrganizationID string + Request struct{ ... } + type TurnkeyVisualSignResponse struct + BootProof *TurnkeyBootProof + Error string + Response struct{ ... }