func (sdn StructuredDataName) Validate() error {
	if sdn == "" {
		return fmt.Errorf("empty name")
	}
	if strings.ContainsAny(string(sdn), `= ]"`) {
		return fmt.Errorf(`invalid character`)
	}
	return validatePrintUSASCII(string(sdn), 32)
}
// Validate ensures that the name is correct.
Validate ensures that the name is correct.
// Validate ensures that the name is correct .
func (sdn StructuredDataName) Validate() error {
	if sdn == "" {
		return fmt.Errorf("empty name")
	}
	if strings.ContainsAny(string(sdn), `= ]"`) {
		return fmt.Errorf(`invalid character`)
	}
	return validatePrintUSASCII(string(sdn), 32)
}
func ( sdn StructuredDataName ) Validate ( ) error { if sdn == " " { return fmt . Errorf ( " " ) } if strings . ContainsAny ( string ( sdn ) , `= ]"` ) { return fmt . Errorf ( `invalid character` ) } return validatePrintUSASCII ( string ( sdn ) , 32 ) }
Validate ensures that the name is correct.
Validate ensures that the name is correct .