Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ReadOptionalASN1 (0.11 sec)

  1. src/vendor/golang.org/x/crypto/cryptobyte/asn1.go

    	return s.ReadASN1(&unused, tag)
    }
    
    // ReadOptionalASN1 attempts to read the contents of a DER-encoded ASN.1
    // element (not including tag and length bytes) tagged with the given tag into
    // out. It stores whether an element with the tag was found in outPresent,
    // unless outPresent is nil. It reports whether the read was successful.
    func (s *String) ReadOptionalASN1(out *String, outPresent *bool, tag asn1.Tag) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  2. src/crypto/x509/parser.go

    	var havePermitted, haveExcluded bool
    	if !outer.ReadASN1(&toplevel, cryptobyte_asn1.SEQUENCE) ||
    		!outer.Empty() ||
    		!toplevel.ReadOptionalASN1(&permitted, &havePermitted, cryptobyte_asn1.Tag(0).ContextSpecific().Constructed()) ||
    		!toplevel.ReadOptionalASN1(&excluded, &haveExcluded, cryptobyte_asn1.Tag(1).ContextSpecific().Constructed()) ||
    		!toplevel.Empty() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 38.5K bytes
    - Viewed (0)
Back to top