vendor/golang.org/x/crypto/cryptobyte.String.ReadOptionalASN1 (method)

10 uses

	vendor/golang.org/x/crypto/cryptobyte (current package)
		asn1.go#L658: func (s *String) ReadOptionalASN1(out *String, outPresent *bool, tag asn1.Tag) bool {
		asn1.go#L686: 	if !s.ReadOptionalASN1(&i, &present, tag) {
		asn1.go#L718: 	if !s.ReadOptionalASN1(&child, &present, tag) {
		asn1.go#L742: 	if !s.ReadOptionalASN1(&child, &present, asn1.BOOLEAN) {

	crypto/x509
		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#L703: 					if !dpDER.ReadOptionalASN1(&dpNameDER, &dpNamePresent, cryptobyte_asn1.Tag(0).Constructed().ContextSpecific()) {
		parser.go#L942: 			if !tbs.ReadOptionalASN1(&extensions, &present, cryptobyte_asn1.Tag(3).Constructed().ContextSpecific()) {
		parser.go#L1128: 			if !certSeq.ReadOptionalASN1(&extensions, &present, cryptobyte_asn1.SEQUENCE) {
		parser.go#L1163: 	if !tbs.ReadOptionalASN1(&extensions, &present, cryptobyte_asn1.Tag(0).Constructed().ContextSpecific()) {