Home
last modified time | relevance | path

Searched refs:SSLUtils (Results 1 – 12 of 12) 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()
75 String keyType = SSLUtils.getClientKeyType(b); in testGetClientKeyType()
98 SSLUtils.getSupportedClientKeyTypes(allClientCertificateTypes)); in testGetSupportedClientKeyTypes()
DNativeCryptoTest.java1260 SSLUtils.getSupportedClientKeyTypes(clientCallback.keyTypes)); in test_SSL_do_handshake_optional_client_certificate()
/external/conscrypt/common/src/main/java/org/conscrypt/
DConscryptEngineSocket.java20 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()
DConscryptEngine.java56 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 …]
DSSLUtils.java58 final class SSLUtils { class
224 String keyType = SSLUtils.getClientKeyType(keyTypeCode); in getSupportedClientKeyTypes()
426 private SSLUtils() {} in SSLUtils() method in SSLUtils
DConscryptFileDescriptorSocket.java19 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;
DSslSessionWrapper.java19 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;
DOpenSSLServerSocketFactoryImpl.java32 private static boolean useEngineSocketByDefault = SSLUtils.USE_ENGINE_SOCKET_BY_DEFAULT;
DSslWrapper.java192 Set<String> keyTypesSet = SSLUtils.getSupportedClientKeyTypes(keyTypeBytes); in chooseClientCertificate()
323 String keyType = SSLUtils.getServerX509KeyType(sslCipherNativePointer); in initialize()
459 issuersBytes = SSLUtils.encodeIssuerX509Principals(issuers); in setCertificateValidation()
DOpenSSLSocketFactoryImpl.java34 private static boolean useEngineSocketByDefault = SSLUtils.USE_ENGINE_SOCKET_BY_DEFAULT;
DActiveSession.java244 peerCertificateChain = result = SSLUtils.toCertificateChain(peerCertificates); in getPeerCertificateChain()
DSSLParametersImpl.java249 setAlpnProtocols(SSLUtils.toLengthPrefixedList(alpnProtocols)); in setAlpnProtocols()