Home
last modified time | relevance | path

Searched refs:toLengthPrefixedList (Results 1 – 3 of 3) sorted by relevance

/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DSSLUtilsTest.java38 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()
/external/conscrypt/common/src/main/java/org/conscrypt/
DSSLUtils.java350 static byte[] toLengthPrefixedList(String... protocols) { in toLengthPrefixedList() method in SSLUtils
DSSLParametersImpl.java249 setAlpnProtocols(SSLUtils.toLengthPrefixedList(alpnProtocols)); in setAlpnProtocols()