util

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package util provides convenience utilities for interacting with the API.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HexToPublicKey added in v0.5.0

func HexToPublicKey(hexString string) (*ecdsa.PublicKey, error)

HexToPublicKey converts a hex-encoded string to an ECDSA P-256 public key. This key is used in encryption and decryption of data transferred to and from Turnkey secure enclaves.

func RequestTimestamp

func RequestTimestamp() *string

RequestTimestamp returns a timestamp formatted for inclusion in a request.

func StringPointer added in v0.5.0

func StringPointer(s string) *string

StringPointer returns a pointer to the given string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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