@Override
    byte[] exportKeyingMaterial(String label, byte[] context, int length) throws SSLException {
        synchronized (ssl) {
            if (state < STATE_HANDSHAKE_COMPLETED || state == STATE_CLOSED) {
                return null;
            }
        }
        return ssl.exportKeyingMaterial(label, context, length);
    }
This method enables session ticket support.

@param useSessionTickets True to enable session tickets
common/src/main/java/org/conscrypt/ConscryptEngine.java