Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for PeekASN1Tag (0.1 sec)

  1. src/crypto/x509/parser.go

    	rl.ThisUpdate, err = parseTime(&tbs)
    	if err != nil {
    		return nil, err
    	}
    	if tbs.PeekASN1Tag(cryptobyte_asn1.GeneralizedTime) || tbs.PeekASN1Tag(cryptobyte_asn1.UTCTime) {
    		rl.NextUpdate, err = parseTime(&tbs)
    		if err != nil {
    			return nil, err
    		}
    	}
    
    	if tbs.PeekASN1Tag(cryptobyte_asn1.SEQUENCE) {
    		var revokedSeq cryptobyte.String
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/crypto/cryptobyte/asn1.go

    func (s *String) ReadAnyASN1Element(out *String, outTag *asn1.Tag) bool {
    	return s.readASN1(out, outTag, false /* include header */)
    }
    
    // PeekASN1Tag reports whether the next ASN.1 value on the string starts with
    // the given tag.
    func (s String) PeekASN1Tag(tag asn1.Tag) bool {
    	if len(s) == 0 {
    		return false
    	}
    	return asn1.Tag(s[0]) == tag
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 21.5K bytes
    - Viewed (0)
Back to top