Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/encoding/asn1/common.go

    	TagUTF8String      = 12
    	TagSequence        = 16
    	TagSet             = 17
    	TagNumericString   = 18
    	TagPrintableString = 19
    	TagT61String       = 20
    	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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 06 15:53:04 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  2. src/encoding/asn1/marshal.go

    					}
    					tag = TagUTF8String
    					break
    				}
    			}
    		} else {
    			tag = params.stringType
    		}
    	case TagUTCTime:
    		if params.timeType == TagGeneralizedTime || outsideUTCRange(v.Interface().(time.Time)) {
    			tag = TagGeneralizedTime
    		}
    	}
    
    	if params.set {
    		if tag != TagSequence {
    			return nil, StructuralError{"non sequence tagged as set"}
    		}
    		tag = TagSet
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  3. api/go1.6.txt

    pkg encoding/asn1, const TagEnum ideal-int
    pkg encoding/asn1, const TagGeneralString = 27
    pkg encoding/asn1, const TagGeneralString ideal-int
    pkg encoding/asn1, const TagGeneralizedTime = 24
    pkg encoding/asn1, const TagGeneralizedTime ideal-int
    pkg encoding/asn1, const TagIA5String = 22
    pkg encoding/asn1, const TagIA5String ideal-int
    pkg encoding/asn1, const TagInteger = 2
    pkg encoding/asn1, const TagInteger 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/asn1.go

    		}
    	}
    
    	// Special case for time: UTCTime and GeneralizedTime both map to the
    	// 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
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 31.8K bytes
    - Viewed (0)
  5. src/encoding/asn1/asn1_test.go

    var parseFieldParametersTestData []parseFieldParametersTest = []parseFieldParametersTest{
    	{"", fieldParameters{}},
    	{"ia5", fieldParameters{stringType: TagIA5String}},
    	{"generalized", fieldParameters{timeType: TagGeneralizedTime}},
    	{"utc", fieldParameters{timeType: TagUTCTime}},
    	{"printable", fieldParameters{stringType: TagPrintableString}},
    	{"numeric", fieldParameters{stringType: TagNumericString}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 29 18:24:36 UTC 2023
    - 43.6K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"SyntaxError.Msg", Field, 0},
    		{"TagBMPString", Const, 14},
    		{"TagBitString", Const, 6},
    		{"TagBoolean", Const, 6},
    		{"TagEnum", Const, 6},
    		{"TagGeneralString", Const, 6},
    		{"TagGeneralizedTime", Const, 6},
    		{"TagIA5String", Const, 6},
    		{"TagInteger", Const, 6},
    		{"TagNull", Const, 9},
    		{"TagNumericString", Const, 10},
    		{"TagOID", Const, 6},
    		{"TagOctetString", Const, 6},
    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