Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for BMPString (0.19 sec)

  1. src/encoding/asn1/asn1.go

    		bmpString = bmpString[:l-2]
    	}
    
    	s := make([]uint16, 0, len(bmpString)/2)
    	for len(bmpString) > 0 {
    		s = append(s, uint16(bmpString[0])<<8+uint16(bmpString[1]))
    		bmpString = bmpString[2:]
    	}
    
    	return string(utf16.Decode(s)), nil
    }
    
    // A RawValue represents an undecoded ASN.1 object.
    type RawValue struct {
    	Class, Tag int
    	IsCompound bool
    	Bytes      []byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 31.8K bytes
    - Viewed (0)
  2. src/crypto/x509/parser.go

    		// handful of CA certificates that contain it. At least
    		// one of which will not expire until 2027.
    		b == '&'
    }
    
    // parseASN1String parses the ASN.1 string types T61String, PrintableString,
    // UTF8String, BMPString, IA5String, and NumericString. This is mostly copied
    // from the respective encoding/asn1.parse... methods, rather than just
    // increasing the API surface of that package.
    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