golang.org/x/crypto/ssh.Certificate.ValidPrincipals (field)
7 uses
golang.org/x/crypto/ssh (current package)
certs.go#L59: ValidPrincipals []string
certs.go#L196: c.ValidPrincipals = append(c.ValidPrincipals, string(principal))
certs.go#L384: if len(cert.ValidPrincipals) > 0 {
certs.go#L387: for _, p := range cert.ValidPrincipals {
certs.go#L394: return fmt.Errorf("ssh: principal %q not in the set of valid principals for given certificate: %q", principal, cert.ValidPrincipals)
certs.go#L471: ValidPrincipals: marshalStringList(c.ValidPrincipals),
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |