vapid

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const CURVE_BIT_SIZE = 256
View Source
const DEFAULT_VAPID_EXPIRY_DURATION int64 = 86400

Variables

This section is empty.

Functions

func DecodeFromPEM

func DecodeFromPEM(pemEncoded string) (k *vapidKey, err error)

func GenerateVapidKey

func GenerateVapidKey() (*vapidKey, error)

func NewVAPID

func NewVAPID(aud string) (signedToken string, pubKey string, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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