Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsTechnicallyConstrained ¶
func IsTechnicallyConstrained(cert *x509.Certificate) bool
IsTechnicallyConstrained determines if a given certificate is technically constrained. Slightly modified from https://github.com/jcjones/gx509/blob/master/gx509/technicalconstraints.go
Types ¶
type Constraints ¶
type Constraints struct { PermittedDNSDomains []string ExcludedDNSDomains []string PermittedIPAddresses []net.IPNet ExcludedIPAddresses []net.IPNet }
func Get ¶
func Get(cert *x509.Certificate) (*Constraints, error)
Get returns the Constraints for a given x509 certificate
Click to show internal directories.
Click to hide internal directories.