certificates/policy/ssh.go

10 lines
156 B
Go
Raw Normal View History

2022-01-17 23:36:13 +01:00
package policy
import (
"golang.org/x/crypto/ssh"
)
type SSHNamePolicyEngine interface {
2022-03-31 16:12:29 +02:00
IsSSHCertificateAllowed(cert *ssh.Certificate) (bool, error)
2022-01-17 23:36:13 +01:00
}