Searched refs:toLengthPrefixedList (Results 1 – 3 of 3) sorted by relevance
38 byte[] actual = SSLUtils.toLengthPrefixedList(); in noProtocolsShouldSucceed()44 SSLUtils.toLengthPrefixedList(""); in emptyProtocolShouldThrow()49 SSLUtils.toLengthPrefixedList(new String(newValidProtocol(256), UTF_8)); in longProtocolShouldThrow()54 SSLUtils.toLengthPrefixedList("This is a bad character: €"); in protocolWithInvalidCharacterShouldThrow()65 byte[] actual = SSLUtils.toLengthPrefixedList(toStrings(protocols)); in validProtocolsShouldSucceed()
350 static byte[] toLengthPrefixedList(String... protocols) { in toLengthPrefixedList() method in SSLUtils
249 setAlpnProtocols(SSLUtils.toLengthPrefixedList(alpnProtocols)); in setAlpnProtocols()