- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for ClassContextSpecific (0.23 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)