vendor/golang.org/x/crypto/cryptobyte.String.ReadOptionalASN1 (method)
8 uses
vendor/golang.org/x/crypto/cryptobyte (current package)
asn1.go#L636: func (s *String) ReadOptionalASN1(out *String, outPresent *bool, tag asn1.Tag) bool {
asn1.go#L668: if !s.ReadOptionalASN1(&i, &present, tag) {
asn1.go#L703: if !s.ReadOptionalASN1(&child, &present, tag) {
asn1.go#L727: if !s.ReadOptionalASN1(&child, &present, asn1.BOOLEAN) {
crypto/x509
parser.go#L517: !toplevel.ReadOptionalASN1(&permitted, &havePermitted, cryptobyte_asn1.Tag(0).ContextSpecific().Constructed()) ||
parser.go#L518: !toplevel.ReadOptionalASN1(&excluded, &haveExcluded, cryptobyte_asn1.Tag(1).ContextSpecific().Constructed()) ||
parser.go#L716: if !dpDER.ReadOptionalASN1(&dpNameDER, &dpNamePresent, cryptobyte_asn1.Tag(0).Constructed().ContextSpecific()) {
parser.go#L953: if !tbs.ReadOptionalASN1(&extensions, &present, cryptobyte_asn1.Tag(3).Constructed().ContextSpecific()) {