encoding/asn1.RawValue.Class (field)
10 uses
encoding/asn1 (current package)
asn1.go#L510: Class, Tag int
marshal.go#L618: t.tag = bytesEncoder(appendTagAndLength(t.scratch[:0], tagAndLength{rv.Class, rv.Tag, len(rv.Bytes), rv.IsCompound}))
crypto/x509
x509.go#L1043: if !seq.IsCompound || seq.Tag != 16 || seq.Class != 0 {
x509.go#L1652: rawValues = append(rawValues, asn1.RawValue{Tag: nameTypeDNS, Class: 2, Bytes: []byte(name)})
x509.go#L1658: rawValues = append(rawValues, asn1.RawValue{Tag: nameTypeEmail, Class: 2, Bytes: []byte(email)})
x509.go#L1666: rawValues = append(rawValues, asn1.RawValue{Tag: nameTypeIP, Class: 2, Bytes: ip})
x509.go#L1673: rawValues = append(rawValues, asn1.RawValue{Tag: nameTypeURI, Class: 2, Bytes: []byte(uriStr)})
x509.go#L1744: Location: asn1.RawValue{Tag: 6, Class: 2, Bytes: []byte(name)},
x509.go#L1750: Location: asn1.RawValue{Tag: 6, Class: 2, Bytes: []byte(name)},
x509.go#L1890: {Tag: 6, Class: 2, Bytes: []byte(name)},
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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. |