Documentation ¶
Index ¶
- Variables
- func VerifyDNSNameEntry(s string) error
- type Names
- func (ns *Names) Add(s string) error
- func (ns Names) Clone() Names
- func (a Names) CompatibleWith(b Names) error
- func (a *Names) Concat(b Names)
- func (ns Names) Empty() bool
- func (ns Names) String() (s string)
- func (ns Names) ToProtoStruct() *pb.Names
- func (p *Names) UnmarshalFlag(s string) error
- func (ns *Names) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (ns Names) Verify() error
Constants ¶
This section is empty.
Variables ¶
View Source
var PunyProfile = idna.New(idna.ValidateForRegistration())
Functions ¶
func VerifyDNSNameEntry ¶
Types ¶
type Names ¶
func ForListenAddr ¶ added in v0.1.0
func ForThisHost ¶
func ForThisHost() (ns Names)
func FromCertificate ¶
func FromCertificate(cert *x509.Certificate) Names
func (*Names) Add ¶
Add parses s and adds the parsed subjectAltName to ns. It wont report duplicated entries as its error.
func (Names) CompatibleWith ¶ added in v0.1.0
func (Names) ToProtoStruct ¶
func (*Names) UnmarshalFlag ¶
func (*Names) UnmarshalYAML ¶
Click to show internal directories.
Click to hide internal directories.