Searched refs:SSLUtils (Results 1 – 12 of 12) 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()75 String keyType = SSLUtils.getClientKeyType(b); in testGetClientKeyType()98 SSLUtils.getSupportedClientKeyTypes(allClientCertificateTypes)); in testGetSupportedClientKeyTypes()
1260 SSLUtils.getSupportedClientKeyTypes(clientCallback.keyTypes)); in test_SSL_do_handshake_optional_client_certificate()
20 import static org.conscrypt.SSLUtils.EngineStates.STATE_CLOSED;21 import static org.conscrypt.SSLUtils.EngineStates.STATE_HANDSHAKE_COMPLETED;22 import static org.conscrypt.SSLUtils.EngineStates.STATE_HANDSHAKE_STARTED;23 import static org.conscrypt.SSLUtils.EngineStates.STATE_NEW;24 import static org.conscrypt.SSLUtils.EngineStates.STATE_READY;25 import static org.conscrypt.SSLUtils.EngineStates.STATE_READY_HANDSHAKE_CUT_THROUGH;156 throw SSLUtils.toSSLHandshakeException(new EOFException()); in startHandshake()189 throw SSLUtils.toSSLHandshakeException(e); in startHandshake()
56 import static org.conscrypt.SSLUtils.EngineStates.STATE_CLOSED;57 import static org.conscrypt.SSLUtils.EngineStates.STATE_CLOSED_INBOUND;58 import static org.conscrypt.SSLUtils.EngineStates.STATE_CLOSED_OUTBOUND;59 import static org.conscrypt.SSLUtils.EngineStates.STATE_HANDSHAKE_COMPLETED;60 import static org.conscrypt.SSLUtils.EngineStates.STATE_HANDSHAKE_STARTED;61 import static org.conscrypt.SSLUtils.EngineStates.STATE_MODE_SET;62 import static org.conscrypt.SSLUtils.EngineStates.STATE_NEW;63 import static org.conscrypt.SSLUtils.EngineStates.STATE_READY;64 import static org.conscrypt.SSLUtils.EngineStates.STATE_READY_HANDSHAKE_CUT_THROUGH;65 import static org.conscrypt.SSLUtils.calculateOutNetBufSize;[all …]
58 final class SSLUtils { class224 String keyType = SSLUtils.getClientKeyType(keyTypeCode); in getSupportedClientKeyTypes()426 private SSLUtils() {} in SSLUtils() method in SSLUtils
19 import static org.conscrypt.SSLUtils.EngineStates.STATE_CLOSED;20 import static org.conscrypt.SSLUtils.EngineStates.STATE_HANDSHAKE_STARTED;21 import static org.conscrypt.SSLUtils.EngineStates.STATE_NEW;22 import static org.conscrypt.SSLUtils.EngineStates.STATE_READY;23 import static org.conscrypt.SSLUtils.EngineStates.STATE_READY_HANDSHAKE_CUT_THROUGH;
19 import static org.conscrypt.SSLUtils.SessionType.OPEN_SSL_WITH_OCSP;20 import static org.conscrypt.SSLUtils.SessionType.OPEN_SSL_WITH_TLS_SCT;21 import static org.conscrypt.SSLUtils.SessionType.isSupportedType;
32 private static boolean useEngineSocketByDefault = SSLUtils.USE_ENGINE_SOCKET_BY_DEFAULT;
192 Set<String> keyTypesSet = SSLUtils.getSupportedClientKeyTypes(keyTypeBytes); in chooseClientCertificate()323 String keyType = SSLUtils.getServerX509KeyType(sslCipherNativePointer); in initialize()459 issuersBytes = SSLUtils.encodeIssuerX509Principals(issuers); in setCertificateValidation()
34 private static boolean useEngineSocketByDefault = SSLUtils.USE_ENGINE_SOCKET_BY_DEFAULT;
244 peerCertificateChain = result = SSLUtils.toCertificateChain(peerCertificates); in getPeerCertificateChain()
249 setAlpnProtocols(SSLUtils.toLengthPrefixedList(alpnProtocols)); in setAlpnProtocols()