github.com/zmap/zcrypto@v0.0.0-20240512203510-0fef58d9a9db/x509/generated_certvalidationlevel_string.go (about) 1 // Code generated by "stringer -type=CertValidationLevel -output=generated_certvalidationlevel_string.go"; DO NOT EDIT. 2 3 package x509 4 5 import "strconv" 6 7 const _CertValidationLevel_name = "UnknownValidationLevelDVOVEV" 8 9 var _CertValidationLevel_index = [...]uint8{0, 22, 24, 26, 28} 10 11 func (i CertValidationLevel) String() string { 12 if i < 0 || i >= CertValidationLevel(len(_CertValidationLevel_index)-1) { 13 return "CertValidationLevel(" + strconv.FormatInt(int64(i), 10) + ")" 14 } 15 return _CertValidationLevel_name[_CertValidationLevel_index[i]:_CertValidationLevel_index[i+1]] 16 }