package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Functions
ExtractCNAsSQLUsername looks for the common name (CN) field of the given distinguished name and converts it to a SQLUsername.
ParseDN parses a distinguished name string.
ParseDNFromCertificate parses the distinguished name for the subject from X.509 certificate provided.
ValidateDN validates a distinguished name string to verify that it is well-formed and only contains attribute types defined in RFC4514.