File: generated_certvalidationlevel_string.go

package info (click to toggle)
golang-github-zmap-zcrypto 0.0~git20240512.0fef58d-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 6,856 kB
  • sloc: python: 567; sh: 124; makefile: 9
file content (16 lines) | stat: -rw-r--r-- 579 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by "stringer -type=CertValidationLevel -output=generated_certvalidationlevel_string.go"; DO NOT EDIT.

package x509

import "strconv"

const _CertValidationLevel_name = "UnknownValidationLevelDVOVEV"

var _CertValidationLevel_index = [...]uint8{0, 22, 24, 26, 28}

func (i CertValidationLevel) String() string {
	if i < 0 || i >= CertValidationLevel(len(_CertValidationLevel_index)-1) {
		return "CertValidationLevel(" + strconv.FormatInt(int64(i), 10) + ")"
	}
	return _CertValidationLevel_name[_CertValidationLevel_index[i]:_CertValidationLevel_index[i+1]]
}