- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for ClassContextSpecific (0.34 sec)
-
src/vendor/golang.org/x/crypto/cryptobyte/asn1/asn1.go
type Tag uint8 const ( classConstructed = 0x20 classContextSpecific = 0x80 ) // Constructed returns t with the constructed class bit set. func (t Tag) Constructed() Tag { return t | classConstructed } // ContextSpecific returns t with the context-specific class bit set. func (t Tag) ContextSpecific() Tag { return t | classContextSpecific } // The following is a list of standard tag and class combinations.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 11 20:28:54 UTC 2019 - 1.6K bytes - Viewed (0) -
security/pkg/pki/util/san.go
tag, ok := oidTagMap[i.Type] if !ok { return nil, fmt.Errorf("unsupported identity type: %v", i.Type) } rawValues = append(rawValues, asn1.RawValue{ Bytes: i.Value, Class: asn1.ClassContextSpecific, Tag: tag, }) } bs, err := asn1.Marshal(rawValues) if err != nil { return nil, fmt.Errorf("failed to marshal the raw values for SAN field (err: %s)", err) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Oct 14 06:50:22 UTC 2022 - 6K bytes - Viewed (0) -
src/encoding/asn1/common.go
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 } // ASN.1 has IMPLICIT and EXPLICIT tags, which can be translated as "instead
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 06 15:53:04 UTC 2021 - 5.5K bytes - Viewed (0) -
api/go1.6.txt
pkg debug/elf, type SectionHeader struct, FileSize uint64 pkg encoding/asn1, const ClassApplication = 1 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
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 13 23:40:13 UTC 2016 - 12.9K bytes - Viewed (0) -
src/encoding/asn1/asn1.go
v.Set(reflect.ValueOf(result)) } return } t, offset, err := parseTagAndLength(bytes, offset) if err != nil { return } if params.explicit { expectedClass := ClassContextSpecific if params.application { expectedClass = ClassApplication } if offset == len(bytes) { err = StructuralError{"explicit tag has no child"} return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 19:04:28 UTC 2023 - 31.8K bytes - Viewed (0) -
src/encoding/asn1/marshal.go
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) tt.body = t
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 17.1K bytes - Viewed (0) -
src/encoding/asn1/asn1_test.go
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}}, {false, []byte{0x30, 3, (ClassApplication << 6) | tag | isCompound, 1, 1}}, {false, []byte{0x30, 3, (ClassPrivate << 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) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"(SyntaxError).Error", Method, 0}, {"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},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)