Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ClassPrivate (0.39 sec)

  1. api/go1.6.txt

    pkg encoding/asn1, const ClassApplication ideal-int
    pkg encoding/asn1, const ClassContextSpecific = 2
    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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 13 23:40:13 UTC 2016
    - 12.9K bytes
    - Viewed (0)
  2. src/encoding/asn1/marshal.go

    		return nil, err
    	}
    
    	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}))
    
    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. src/encoding/asn1/asn1.go

    		expectedClass = ClassApplication
    		expectedTag = *params.tag
    		matchAnyClassAndTag = false
    	}
    
    	if !params.explicit && params.private && params.tag != nil {
    		expectedClass = ClassPrivate
    		expectedTag = *params.tag
    		matchAnyClassAndTag = false
    	}
    
    	// We have unwrapped any explicit tagging at this point.
    	if !matchAnyClassAndTag && (t.class != expectedClass || t.tag != expectedTag) ||
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 31.8K bytes
    - Viewed (0)
  4. src/encoding/asn1/asn1_test.go

    		{true, []byte{0x30, 3, (ClassContextSpecific << 6) | tag | isCompound, 1, 1}},
    		{false, []byte{0x30, 3, (ClassApplication << 6) | tag | isCompound, 1, 1}},
    		{false, []byte{0x30, 3, (ClassPrivate << 6) | tag | isCompound, 1, 1}},
    	}
    
    	for i, test := range tests {
    		var tagged taggedRawValue
    		if _, err := Unmarshal(test.derBytes, &tagged); (err == nil) != test.shouldMatch {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 29 18:24:36 UTC 2023
    - 43.6K bytes
    - Viewed (0)
Back to top