Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for IsCompound (0.24 sec)

  1. src/encoding/asn1/marshal.go

    		}
    
    		t := new(taggedEncoder)
    
    		t.tag = bytesEncoder(appendTagAndLength(t.scratch[:0], tagAndLength{rv.Class, rv.Tag, len(rv.Bytes), rv.IsCompound}))
    		t.body = bytesEncoder(rv.Bytes)
    
    		return t, nil
    	}
    
    	matchAny, tag, isCompound, ok := getUniversalType(v.Type())
    	if !ok || matchAny {
    		return nil, StructuralError{fmt.Sprintf("unknown Go type: %v", v.Type())}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  2. src/encoding/asn1/asn1.go

    		bmpString = bmpString[2:]
    	}
    
    	return string(utf16.Decode(s)), nil
    }
    
    // A RawValue represents an undecoded ASN.1 object.
    type RawValue struct {
    	Class, Tag int
    	IsCompound bool
    	Bytes      []byte
    	FullBytes  []byte // includes the tag and length
    }
    
    // RawContent is used to signal that the undecoded, DER data needs to be
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 31.8K bytes
    - Viewed (0)
  3. security/pkg/pki/util/san.go

    		return nil, err
    	} else if len(rest) != 0 {
    		return nil, fmt.Errorf("the SAN extension is incorrectly encoded")
    	}
    
    	// Check the rawValue is a sequence.
    	if !sequence.IsCompound || sequence.Tag != asn1.TagSequence || sequence.Class != asn1.ClassUniversal {
    		return nil, fmt.Errorf("the SAN extension is incorrectly encoded")
    	}
    
    	ids := []Identity{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Oct 14 06:50:22 UTC 2022
    - 6K bytes
    - Viewed (0)
  4. src/encoding/asn1/asn1_test.go

    	type untaggedRawValue struct {
    		A RawValue
    	}
    	const isCompound = 0x20
    	const tag = 5
    
    	tests := []struct {
    		shouldMatch bool
    		derBytes    []byte
    	}{
    		{false, []byte{0x30, 3, TagInteger, 1, 1}},
    		{true, []byte{0x30, 3, (ClassContextSpecific << 6) | tag, 1, 1}},
    		{true, []byte{0x30, 3, (ClassContextSpecific << 6) | tag | isCompound, 1, 1}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 29 18:24:36 UTC 2023
    - 43.6K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"ObjectIdentifier", Type, 0},
    		{"RawContent", Type, 0},
    		{"RawValue", Type, 0},
    		{"RawValue.Bytes", Field, 0},
    		{"RawValue.Class", Field, 0},
    		{"RawValue.FullBytes", Field, 0},
    		{"RawValue.IsCompound", Field, 0},
    		{"RawValue.Tag", Field, 0},
    		{"StructuralError", Type, 0},
    		{"StructuralError.Msg", Field, 0},
    		{"SyntaxError", Type, 0},
    		{"SyntaxError.Msg", Field, 0},
    		{"TagBMPString", Const, 14},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  6. src/internal/trace/traceviewer/static/trace_viewer_full.html

    var name=binding.name;storage[name]=literals;...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2.5M bytes
    - Viewed (1)
Back to top