12 lines
218 B
Go
12 lines
218 B
Go
package keydirectory
|
|
|
|
import (
|
|
"crypto"
|
|
|
|
"github.com/common-fate/httpsig/verifier"
|
|
)
|
|
|
|
type RegistrationDirectory interface {
|
|
verifier.KeyDirectory
|
|
RegisterKey(key crypto.PublicKey, userId string) (string, error)
|
|
}
|