Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ReadAnyASN1 (0.16 sec)

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

    		return false
    	}
    	return true
    }
    
    // ReadAnyASN1 reads the contents of a DER-encoded ASN.1 element (not including
    // tag and length bytes) into out, sets outTag to its tag, and advances.
    // It reports whether the read was successful.
    //
    // Tags greater than 30 are not supported (i.e. low-tag-number format only).
    func (s *String) ReadAnyASN1(out *String, outTag *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

    			if !atav.ReadASN1ObjectIdentifier(&attr.Type) {
    				return nil, errors.New("x509: invalid RDNSequence: invalid attribute type")
    			}
    			var rawValue cryptobyte.String
    			var valueTag cryptobyte_asn1.Tag
    			if !atav.ReadAnyASN1(&rawValue, &valueTag) {
    				return nil, errors.New("x509: invalid RDNSequence: invalid attribute value")
    			}
    			var err error
    			attr.Value, err = parseASN1String(valueTag, rawValue)
    			if err != nil {
    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