sig-auth/keydirectory/registration.go

13 lines
230 B
Go
Raw Normal View History

2025-02-17 20:50:48 -05:00
package keydirectory
import (
"crypto"
"github.com/common-fate/httpsig/verifier"
)
type RegistrationDirectory interface {
verifier.KeyDirectory
RegisterKey(key crypto.PublicKey, alg string, userId string) (string, error)
}