Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for AttributeTypeAndValue (8.47 sec)

  1. internal/config/certsinfo.go

    var (
    	oidEmailAddress = []int{1, 2, 840, 113549, 1, 9, 1}
    )
    
    // printName prints the fields of a distinguished name, which include such
    // things as its common name and locality.
    func printName(names []pkix.AttributeTypeAndValue, buf *strings.Builder) []string {
    	values := []string{}
    	for _, name := range names {
    		oid := name.Type
    		//nolint:gocritic
    		if len(oid) == 4 && oid[0] == 2 && oid[1] == 5 && oid[2] == 4 {
    			switch oid[3] {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 16 17:28:29 GMT 2021
    - 3.1K bytes
    - Viewed (0)
Back to top