type vendor/golang.org/x/crypto/cryptobyte/asn1.Tag
73 uses
vendor/golang.org/x/crypto/cryptobyte/asn1 (current package)
asn1.go#L15: type Tag uint8
asn1.go#L23: func (t Tag) Constructed() Tag { return t | classConstructed }
asn1.go#L26: func (t Tag) ContextSpecific() Tag { return t | classContextSpecific }
asn1.go#L30: BOOLEAN = Tag(1)
asn1.go#L31: INTEGER = Tag(2)
asn1.go#L32: BIT_STRING = Tag(3)
asn1.go#L33: OCTET_STRING = Tag(4)
asn1.go#L34: NULL = Tag(5)
asn1.go#L35: OBJECT_IDENTIFIER = Tag(6)
asn1.go#L36: ENUM = Tag(10)
asn1.go#L37: UTF8String = Tag(12)
asn1.go#L38: SEQUENCE = Tag(16 | classConstructed)
asn1.go#L39: SET = Tag(17 | classConstructed)
asn1.go#L40: PrintableString = Tag(19)
asn1.go#L41: T61String = Tag(20)
asn1.go#L42: IA5String = Tag(22)
asn1.go#L43: UTCTime = Tag(23)
asn1.go#L44: GeneralizedTime = Tag(24)
asn1.go#L45: GeneralString = Tag(27)
vendor/golang.org/x/crypto/cryptobyte
asn1.go#L28: func (b *Builder) AddASN1Int64WithTag(v int64, tag asn1.Tag) {
asn1.go#L37: func (b *Builder) addASN1Signed(tag asn1.Tag, v int64) {
asn1.go#L230: func (b *Builder) AddASN1(tag asn1.Tag, f BuilderContinuation) {
asn1.go#L401: func (s *String) ReadASN1Int64WithTag(out *int64, tag asn1.Tag) bool {
asn1.go#L590: func (s *String) ReadASN1Bytes(out *[]byte, tag asn1.Tag) bool {
asn1.go#L599: func (s *String) ReadASN1(out *String, tag asn1.Tag) bool {
asn1.go#L600: var t asn1.Tag
asn1.go#L612: func (s *String) ReadASN1Element(out *String, tag asn1.Tag) bool {
asn1.go#L613: var t asn1.Tag
asn1.go#L625: func (s *String) ReadAnyASN1(out *String, outTag *asn1.Tag) bool {
asn1.go#L634: func (s *String) ReadAnyASN1Element(out *String, outTag *asn1.Tag) bool {
asn1.go#L640: func (s String) PeekASN1Tag(tag asn1.Tag) bool {
asn1.go#L644: return asn1.Tag(s[0]) == tag
asn1.go#L649: func (s *String) SkipASN1(tag asn1.Tag) bool {
asn1.go#L658: func (s *String) ReadOptionalASN1(out *String, outPresent *bool, tag asn1.Tag) bool {
asn1.go#L671: func (s *String) SkipOptionalASN1(tag asn1.Tag) bool {
asn1.go#L683: func (s *String) ReadOptionalASN1Integer(out interface{}, tag asn1.Tag, defaultValue interface{}) bool {
asn1.go#L715: func (s *String) ReadOptionalASN1OctetString(out *[]byte, outPresent *bool, tag asn1.Tag) bool {
asn1.go#L754: func (s *String) readASN1(out *String, outTag *asn1.Tag, skipHeader bool) bool {
asn1.go#L770: *outTag = asn1.Tag(tag)
crypto/x509
parser.go#L59: func parseASN1String(tag cryptobyte_asn1.Tag, value []byte) (string, error) {
parser.go#L75: case cryptobyte_asn1.Tag(asn1.TagBMPString):
parser.go#L98: case cryptobyte_asn1.Tag(asn1.TagNumericString):
parser.go#L133: var valueTag cryptobyte_asn1.Tag
parser.go#L160: var tag cryptobyte_asn1.Tag
parser.go#L361: var tag cryptobyte_asn1.Tag
parser.go#L504: !toplevel.ReadOptionalASN1(&permitted, &havePermitted, cryptobyte_asn1.Tag(0).ContextSpecific().Constructed()) ||
parser.go#L505: !toplevel.ReadOptionalASN1(&excluded, &haveExcluded, cryptobyte_asn1.Tag(1).ContextSpecific().Constructed()) ||
parser.go#L521: var tag cryptobyte_asn1.Tag
parser.go#L528: dnsTag = cryptobyte_asn1.Tag(2).ContextSpecific()
parser.go#L529: emailTag = cryptobyte_asn1.Tag(1).ContextSpecific()
parser.go#L530: ipTag = cryptobyte_asn1.Tag(7).ContextSpecific()
parser.go#L531: uriTag = cryptobyte_asn1.Tag(6).ContextSpecific()
parser.go#L703: if !dpDER.ReadOptionalASN1(&dpNameDER, &dpNamePresent, cryptobyte_asn1.Tag(0).Constructed().ContextSpecific()) {
parser.go#L709: if !dpNameDER.ReadASN1(&dpNameDER, cryptobyte_asn1.Tag(0).Constructed().ContextSpecific()) {
parser.go#L713: if !dpNameDER.PeekASN1Tag(cryptobyte_asn1.Tag(6).ContextSpecific()) {
parser.go#L717: if !dpNameDER.ReadASN1(&uri, cryptobyte_asn1.Tag(6).ContextSpecific()) {
parser.go#L731: if akid.PeekASN1Tag(cryptobyte_asn1.Tag(0).ContextSpecific()) {
parser.go#L732: if !akid.ReadASN1(&akid, cryptobyte_asn1.Tag(0).ContextSpecific()) {
parser.go#L774: if !aiaDER.PeekASN1Tag(cryptobyte_asn1.Tag(6).ContextSpecific()) {
parser.go#L777: if !aiaDER.ReadASN1(&aiaDER, cryptobyte_asn1.Tag(6).ContextSpecific()) {
parser.go#L826: if !tbs.ReadOptionalASN1Integer(&cert.Version, cryptobyte_asn1.Tag(0).Constructed().ContextSpecific(), 0) {
parser.go#L933: if !tbs.SkipOptionalASN1(cryptobyte_asn1.Tag(1).ContextSpecific()) {
parser.go#L936: if !tbs.SkipOptionalASN1(cryptobyte_asn1.Tag(2).ContextSpecific()) {
parser.go#L942: if !tbs.ReadOptionalASN1(&extensions, &present, cryptobyte_asn1.Tag(3).Constructed().ContextSpecific()) {
parser.go#L1163: if !tbs.ReadOptionalASN1(&extensions, &present, cryptobyte_asn1.Tag(0).Constructed().ContextSpecific()) {
x509.go#L1214: b.AddASN1(cryptobyte_asn1.Tag(2).ContextSpecific(), func(b *cryptobyte.Builder) {
x509.go#L1222: b.AddASN1(cryptobyte_asn1.Tag(7).ContextSpecific(), func(b *cryptobyte.Builder) {
x509.go#L1234: b.AddASN1(cryptobyte_asn1.Tag(1).ContextSpecific(), func(b *cryptobyte.Builder) {
x509.go#L1246: b.AddASN1(cryptobyte_asn1.Tag(6).ContextSpecific(), func(b *cryptobyte.Builder) {
x509.go#L1268: b.AddASN1(cryptobyte_asn1.Tag(0).ContextSpecific().Constructed(), func(b *cryptobyte.Builder) {
x509.go#L1274: b.AddASN1(cryptobyte_asn1.Tag(1).ContextSpecific().Constructed(), func(b *cryptobyte.Builder) {
 |
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |