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#L743: if !s.ReadOptionalASN1(&child, &present, tag) {
crypto/x509
parser.go#L530: !toplevel.ReadOptionalASN1(&permitted, &havePermitted, cryptobyte_asn1.Tag(0).ContextSpecific().Constructed()) ||
parser.go#L531: !toplevel.ReadOptionalASN1(&excluded, &haveExcluded, cryptobyte_asn1.Tag(1).ContextSpecific().Constructed()) ||
parser.go#L729: if !dpDER.ReadOptionalASN1(&dpNameDER, &dpNamePresent, cryptobyte_asn1.Tag(0).Constructed().ContextSpecific()) {
parser.go#L1027: if !tbs.ReadOptionalASN1(&extensions, &present, cryptobyte_asn1.Tag(3).Constructed().ContextSpecific()) {
parser.go#L1217: if !certSeq.ReadOptionalASN1(&extensions, &present, cryptobyte_asn1.SEQUENCE) {
parser.go#L1252: if !tbs.ReadOptionalASN1(&extensions, &present, cryptobyte_asn1.Tag(0).Constructed().ContextSpecific()) {