Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for ClassUniversal (0.33 sec)

  1. src/encoding/asn1/asn1.go

    	// Go type time.Time.
    	if universalTag == TagUTCTime && t.tag == TagGeneralizedTime && t.class == ClassUniversal {
    		universalTag = TagGeneralizedTime
    	}
    
    	if params.set {
    		universalTag = TagSet
    	}
    
    	matchAnyClassAndTag := matchAny
    	expectedClass := ClassUniversal
    	expectedTag := universalTag
    
    	if !params.explicit && params.tag != nil {
    		expectedClass = ClassContextSpecific
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 31.8K bytes
    - Viewed (0)
  2. security/pkg/pki/util/san.go

    		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{}
    	for bytes := sequence.Bytes; len(bytes) > 0; {
    		var rawValue asn1.RawValue
    		var err error
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Oct 14 06:50:22 UTC 2022
    - 6K bytes
    - Viewed (0)
  3. api/go1.6.txt

    pkg encoding/asn1, const ClassContextSpecific ideal-int
    pkg encoding/asn1, const ClassPrivate = 3
    pkg encoding/asn1, const ClassPrivate ideal-int
    pkg encoding/asn1, const ClassUniversal = 0
    pkg encoding/asn1, const ClassUniversal ideal-int
    pkg encoding/asn1, const TagBitString = 3
    pkg encoding/asn1, const TagBitString ideal-int
    pkg encoding/asn1, const TagBoolean = 1
    pkg encoding/asn1, const TagBoolean ideal-int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 13 23:40:13 UTC 2016
    - 12.9K bytes
    - Viewed (0)
  4. src/encoding/asn1/common.go

    	TagIA5String       = 22
    	TagUTCTime         = 23
    	TagGeneralizedTime = 24
    	TagGeneralString   = 27
    	TagBMPString       = 30
    )
    
    // ASN.1 class types represent the namespace of the tag.
    const (
    	ClassUniversal       = 0
    	ClassApplication     = 1
    	ClassContextSpecific = 2
    	ClassPrivate         = 3
    )
    
    type tagAndLength struct {
    	class, tag, length int
    	isCompound         bool
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 06 15:53:04 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  5. src/encoding/asn1/marshal.go

    	}
    
    	bodyLen := t.body.Len()
    
    	class := ClassUniversal
    	if params.tag != nil {
    		if params.application {
    			class = ClassApplication
    		} else if params.private {
    			class = ClassPrivate
    		} else {
    			class = ClassContextSpecific
    		}
    
    		if params.explicit {
    			t.tag = bytesEncoder(appendTagAndLength(t.scratch[:0], tagAndLength{ClassUniversal, tag, bodyLen, isCompound}))
    
    			tt := new(taggedEncoder)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"BitString", Type, 0},
    		{"BitString.BitLength", Field, 0},
    		{"BitString.Bytes", Field, 0},
    		{"ClassApplication", Const, 6},
    		{"ClassContextSpecific", Const, 6},
    		{"ClassPrivate", Const, 6},
    		{"ClassUniversal", Const, 6},
    		{"Enumerated", Type, 0},
    		{"Flag", Type, 0},
    		{"Marshal", Func, 0},
    		{"MarshalWithParams", Func, 10},
    		{"NullBytes", Var, 9},
    		{"NullRawValue", Var, 9},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top